Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

Road route #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added resources/features/route__road.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions resources/map_features.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
<inputSet ref="cycle"/>
<inputSet ref="bicycle-lane"/>
<inputSet ref="bus-route"/>
<inputSet ref="road-route"/>
<inputSet ref="tram-route"/>
<inputSet ref="pedestrians"/>
<inputSet ref="roadLanes"/>
Expand All @@ -157,6 +158,7 @@
<inputSet ref="cycle"/>
<inputSet ref="bicycle-lane"/>
<inputSet ref="bus-route"/>
<inputSet ref="road-route"/>
<inputSet ref="tram-route"/>
<inputSet ref="pedestrians"/>
<inputSet ref="roadLanes"/>
Expand Down Expand Up @@ -368,6 +370,17 @@
</input>
</inputSet>

<inputSet id="road-route">
<input type="route" name="Highway Route" description="Highway route" category="Transport" priority="low" presence="onTagMatch">
<match k="type" v="route"/>
<match k="route" v="road"/>
<icon image="features/route__road.png">
<font size="12pt">Route: <b>${ref}</b> (${network})</font>
</icon>
</input>
</inputSet>


<inputSet id="tram-route">
<input type="route" name="Tram Route" description="Tram route" category="Transport" priority="low" presence="onTagMatch">
<match k="type" v="route"/>
Expand Down
20 changes: 20 additions & 0 deletions resources/map_features/transport.xml
Original file line number Diff line number Diff line change
Expand Up @@ -567,5 +567,25 @@
<inputSet ref="wheelchair-basic" />
</feature>

<feature name="Highway Route">
<category>transport</category>
<!-- this doesn't seem possible: icon image="${symbol}"> -->
<icon image="features/route__road.png">
<font size="12pt">Route: <b>${ref}</b> (${network})</font>
</icon>

<relation/>
<tag k="type" v="route"/>
<tag k="route" v="road"/>
<input type="freetext" presence="always" category="Details" name="Name" priority="high" key="name" description="Official route name"/>
<input type="freetext" presence="always" category="Details" name="Reference" priority="high" key="ref" description="The official reference number"/>
<input type="freetext" presence="always" category="Details" name="Network" key="network" description="The network the route is part of" priority="high"/>
<input type="freetext" presence="onTagMatch" category="Details" name="Symbol" key="symbol" description="URL of route symbol" priority="low"/>
<input type="freetext" presence="onTagMatch" category="Details" name="Route authority" key="operator" description="Who manages the route ('operator')" priority="low"/>
<input type="freetext" presence="onTagMatch" category="Details" name="Description" key="description" description="Text description of the route" priority="low"/>
<inputSet ref="source"/>

</feature>


</featureGroup>
97 changes: 97 additions & 0 deletions resources_src/route__road.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.