Skip to content

Commit

Permalink
start asking about max speed and lit status on link roads
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoniecz authored and westnordost committed Aug 14, 2019
1 parent 63f57e7 commit 7f94df1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import de.westnordost.streetcomplete.data.osm.download.OverpassMapDataDao
class AddMaxSpeed(o: OverpassMapDataDao) : SimpleOverpassQuestType<MaxSpeedAnswer>(o) {

override val tagFilters = """
ways with highway ~ motorway|trunk|primary|secondary|tertiary|unclassified|residential
ways with highway ~ motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|unclassified|residential
and !maxspeed and !maxspeed:forward and !maxspeed:backward
and !source:maxspeed and !zone:maxspeed and !maxspeed:type and !zone:traffic
and surface !~ ${OsmTaggings.ANYTHING_UNPAVED.joinToString("|")}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ class AddWayLit(o: OverpassMapDataDao) : SimpleOverpassQuestType<String>(o) {
private val LIT_RESIDENTIAL_ROADS = arrayOf("residential", "living_street", "pedestrian")

private val LIT_NON_RESIDENTIAL_ROADS =
arrayOf("primary", "secondary", "tertiary", "unclassified", "service")
arrayOf("primary", "primary_link", "secondary", "secondary_link",
"tertiary", "tertiary_link", "unclassified", "service")

private val LIT_WAYS = arrayOf("footway", "cycleway", "steps")
}
Expand Down

0 comments on commit 7f94df1

Please sign in to comment.