[OSM-dev] osm.xml/osm-template.xml: MinScaleDenominator causing tracks invisible in larger zoom

Jon Burgess jburgess777 at googlemail.com
Sat Oct 11 12:35:11 BST 2008


On Sat, 2008-10-11 at 08:43 +0200, Thomas Herzog wrote:
> Hi all,
> 
> is this correct in osm-template.xml?
> 
> <Filter>[highway] = 'track'</Filter>
>      <MaxScaleDenominator>100000</MaxScaleDenominator>
>      <MinScaleDenominator>50000</MinScaleDenominator>
> 
> Zooming in, mapnik renderings display tracks and cycleways at first at  
> the same level and then zooming in on tracks disappear.
> 
> This seems odd...cycleway rule has no MinScaleDenominator (and I don't  
> see any sense in hiding tracks at higher zoom...)

At <50000 they should be rendered by a set of rules which use a
different style depending on: tracktype, bridge & tunnel:

http://trac.openstreetmap.org/browser/applications/rendering/mapnik/osm-template.xml#L2817

Can you give a permalink to an example where they disappear?

	Jon






More information about the dev mailing list