Skip to content

Commit

Permalink
AddRailwayCrossingBarrier: do not ask for abandoned railways (fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Jun 3, 2019
1 parent 69f44d5 commit 6d234a4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ class AddRailwayCrossingBarrier(private val overpassMapDataDao: OverpassMapDataD
private fun getOverpassQuery(bbox: BoundingBox) =
OverpassQLUtil.getGlobalOverpassBBox(bbox) + """
way["highway"]["access"~"^private|no$"]; node(w) -> .private_roads;
way["railway"="tram"]; node(w) -> .trams;
way["railway"~"^tram|abandoned$"]; node(w) -> .excluded_railways;
node["railway"="level_crossing"][!"crossing:barrier"];
(._; - .private_roads; );
(._; - .trams; );""" +
(._; - .excluded_railways; );""" +
OverpassQLUtil.getQuestPrintStatement()
}

0 comments on commit 6d234a4

Please sign in to comment.