From f0f94bf84045e22fb395906849d3e22de78861a6 Mon Sep 17 00:00:00 2001 From: Tobias Zwick Date: Thu, 7 Jun 2018 22:05:13 +0200 Subject: [PATCH] fix #1096 --- .../de/westnordost/streetcomplete/quests/oneway/AddOneway.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/de/westnordost/streetcomplete/quests/oneway/AddOneway.java b/app/src/main/java/de/westnordost/streetcomplete/quests/oneway/AddOneway.java index 5a7b7da8d1..6b5758f59a 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/quests/oneway/AddOneway.java +++ b/app/src/main/java/de/westnordost/streetcomplete/quests/oneway/AddOneway.java @@ -56,6 +56,7 @@ public AddOneway(OverpassMapDataDao overpassMapDataDao, Log.e(TAG, "Unable to download traffic metadata", e); return false; } + if(trafficDirectionMap.isEmpty()) return true; String overpassQuery = "way(id:" + TextUtils.join(",",trafficDirectionMap.keySet()) + "); out meta geom;"; overpassMapDataDao.getAndHandleQuota(overpassQuery, (element, geometry) ->