﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9033	use styles for tracktype only if highway=track is taged	osm@…	team	"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>
}}}
"	defect	closed	normal		Internal mappaint style	tested	fixed	tracktype	
