[OSM-dev] Units in the Mapnik .xml file?

Andy Allan gravitystorm at gmail.com
Thu Nov 1 09:58:19 GMT 2007


On 11/1/07, Nick Whitelegg <Nick.Whitelegg at solent.ac.uk> wrote:
> Hello everyone,
>
> Can anyone clarify what units the <MaxScaleDenominator> parameters in
> mapnik xml files are?

I've no idea what units they are in, but you're probably looking for
this conversion list of z number <=> mapnik scale:

http://lists.openstreetmap.org/pipermail/dev/2007-July/005635.html

Cheers,
Andy

> How can I work them out from OSM-style Mercator
> units, or lat/lon for that matter? Would like to (finally!) implement
> different zoom levels on Freemap and that will be fairly crucial.
>
> Thanks,
> Nick
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>




More information about the dev mailing list