Modify ↓
#9033 closed defect (fixed)
use styles for tracktype only if highway=track is taged
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Internal mappaint style | Version: | tested |
Keywords: | tracktype | Cc: |
Description
Hi,
in OSM-data there are also some tracktype=* who are taged together with highway!=track. This leads to a random style of the way. For example: highway=unclassified and tracktype=grade2. If you split such a way maybe one way gets displayed as highway=unclassified and the other one as tracktype=grade2.
Adding <condition k="highway" v="track"/> to each rule for tracktype will solve this issue.
<!-- tracktype tags --> <rule> <condition k="highway" v="track"/> <condition k="tracktype" v="grade1"/> <line width="1" realwidth="3" dashed="2" colour="highway_track#006600"/> <icon annotate="true" src="misc/deprecated.png"/> </rule> <rule> <condition k="highway" v="track"/> <condition k="tracktype" v="grade2"/> <line width="1" realwidth="3" dashed="4" colour="highway_track#006600"/> <icon annotate="true" src="misc/deprecated.png"/> </rule> <rule> <condition k="highway" v="track"/> <condition k="tracktype" v="grade3"/> <line width="1" realwidth="3" dashed="6" colour="highway_track#006600"/> <icon annotate="true" src="misc/deprecated.png"/> </rule> <rule> <condition k="highway" v="track"/> <condition k="tracktype" v="grade4"/> <line width="1" realwidth="3" dashed="8" colour="highway_track#006600"/> <icon annotate="true" src="misc/deprecated.png"/> </rule> <rule> <condition k="highway" v="track"/> <condition k="tracktype" v="grade5"/> <line width="1" realwidth="3" dashed="10" colour="highway_track#006600"/> <icon annotate="true" src="misc/deprecated.png"/> </rule>
Attachments (0)
Note:
See TracTickets
for help on using tickets.
In 6212/josm: