[Tilesathome] highway=construction

Ed Loach ed at loach.me.uk
Wed May 6 16:18:35 BST 2009


There doesn't seem to be a rule in osmarender for when there is a highway=construction tagged way with no construction= tag. Should this default to the same as for construction=road, perhaps? How would I add such a rule? Something like:

			<rule e="way" k="construction" v="~">
				<line class="under-construction-1" smart-linecap="no"/>
				<line class="highway-core highway-road-core under-construction-2" smart-linecap="no"/>
			</rule>

inside (and perhaps at the end of) the
		<!-- Linear cores (under construction) -->
		<rule e="way" k="highway" v="construction">
rule? Or do I need to then add lots of else clauses? And at how many zoom levels - presumably the same as the existing rules for when there is a construction=?

Example from IRC (though they may have added a construction tag since):
http://qurl.org/dc0

Ed






More information about the Tilesathome mailing list