El Jueves, 17 de Septiembre de 2009, Manoj Bist escribió:
> Hi,
>
> I need to render certain points on the map only at zoom levels greater than
> some pre-determined zoom levels. Is there some way to filter those points
> at undesired zoom levels.
>
> 1. Is there any way to specify the map zoom level(a number between 0 and
> 17)  in the <filter> </filter> tags?
> 2.  I found out that there are tags called<MinScaleDenominator> and
> <MaxScaleDenominator> ? How do they correlate to the zoom levels?

I suppose we're talking epsg:900913 quadtiles here.

Zoom level 0 relates to scale denominator 443744272. Each zoom level divides 
the scale denominator by two. z17? Its scale is 443744272/(2^17) or 
443744272>>17. You just have to set up a rule that includes the scale 
denominator for that zoom level, and does not include the scale denominator 
of any other zoom level.



Cheers,
-- 
----------------------------------
Iván Sánchez Ortega <[email protected]>

You get along very well with everyone except animals and people.
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to