Skip to content

Commit

Permalink
exclude areas from cycleway quests (#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Nov 28, 2017
1 parent a0f66bc commit 4d0f04e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ private static String getOverpassQuery(BoundingBox bbox)
int d = MIN_DIST_TO_CYCLEWAYS;
return OverpassQLUtil.getOverpassBBox(bbox) +
"way[highway ~ \"^(primary|secondary|tertiary|unclassified|residential)$\"]" +
"[area != yes]" +
// only without cycleway tags
"[!cycleway][!\"cycleway:left\"][!\"cycleway:right\"][!\"cycleway:both\"]" +
"[!\"sidewalk:bicycle\"][!\"sidewalk:both:bicycle\"][!\"sidewalk:left:bicycle\"][!\"sidewalk:right:bicycle\"]" +
Expand Down

0 comments on commit 4d0f04e

Please sign in to comment.