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

Add map_features support for highway=proposed, highway=construction #36

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/highway__construction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/features/highway__proposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 66 additions & 0 deletions resources/map_features/roads.xml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,72 @@
<inputSet ref="common"/>
</feature>

<feature name="Under construction">
<category>roads</category>
<icon image="features/highway__construction.png">
<font size="14pt"><b>${name}</b></font>
</icon>
<help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dconstruction</help>

<line/>
<tag k="highway" v="construction"/>

<input type="choice" presence="always" name="Type of road being built" key="construction" category="" priority="highest">
<choice value="motorway" text="Motorway"/>
<choice value="primary" text="Primary" />
<choice value="secondary" text="Secondary" />
<choice value="tertiary" text="Tertiary" />
<choice value="unclassified" text="Minor road" />
<choice value="residential" text="Residential" />
<choice value="road" text="Unknown" />
<choice value="service" text="Service road" />
<choice value="motorway_link" text="Motorway link" />
<choice value="primary_link" text="Primary link" />
<choice value="secondary_link" text="Secondary link" />
<choice value="tertiary_link" text="Tertiary link" />
<choice value="footway" text="Footway" />
<choice value="cycleway" text="Cycleway" />
<choice value="bridleway" text="Bridleway" />
<choice value="path" text="Generic path" />
</input>
<inputSet ref="minorRoad"/>
<inputSet ref="common"/>
</feature>

<feature name="Proposed">
<category>roads</category>
<icon image="features/highway__proposed.png">
<font size="14pt"><b>${name}</b></font>
</icon>
<help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dproposed</help>

<line/>
<tag k="highway" v="proposed"/>

<input type="choice" presence="always" name="Type of road planned." key="proposed" category="" priority="highest">
<choice value="motorway" text="Motorway"/>
<choice value="primary" text="Primary" />
<choice value="secondary" text="Secondary" />
<choice value="tertiary" text="Tertiary" />
<choice value="unclassified" text="Minor road" />
<choice value="residential" text="Residential" />
<choice value="road" text="Unknown" />
<choice value="service" text="Service road" />
<choice value="motorway_link" text="Motorway link" />
<choice value="primary_link" text="Primary link" />
<choice value="secondary_link" text="Secondary link" />
<choice value="tertiary_link" text="Tertiary link" />
<choice value="footway" text="Footway" />
<choice value="cycleway" text="Cycleway" />
<choice value="bridleway" text="Bridleway" />
<choice value="path" text="Generic path" />
</input>
<inputSet ref="minorRoad"/>
<inputSet ref="common"/>
</feature>



<feature name="Track">
<category>roads</category>
<icon image="features/highway__track.png">
Expand Down
Loading