Aussie Mapnik Style Changes

From OpenStreetMap Wiki
Jump to: navigation, search
Australia Main Category News Projects Data Imports
Tagging Guidelines Users Resources Relations

Brain dump of things that we've tweaked or need to be worked out how to tweak.

Things done

Things left to figure out

Misc information

Mapnik uses an xml/css like style sheet to produce rendered images, the OSM.org copy is stored in OSM's SVN repositry and you can view it here. Unlike the website which has zoom levels 0-18, mapnik requires something closer to pixels per metre.

Here is a table of how zoom levels equate with mapnik values.


Zoom Level Minimum Distance Maximum Distance
z0 313774583 627549167
z1 156887291 313774583
z2 78443645 156887291
z3 39221822 78443645
z4 19610911 39221822
z5 9805455 19610911
z6 4902727 9805455
z7 2451363 4902727
z8 1225681 2451363
z9 612840 1225681
z10 306420 612840
z11 153210 306420
z12 76605 153210
z13 38302 76605
z14 19151 38302
z15 9575 19151
z16 4787 9575
z17 2393 4787
z18 1196 2393
Personal tools
Namespaces
Variants
Actions
site
Toolbox