[OSM-dev] Rendering Rules
Dave Stubbs
osm.list at randomjunk.co.uk
Fri Mar 14 13:36:22 GMT 2008
> I have been playing with the Mapnik source code for rendering some
> maps. I have data in a custom format, so I had to write my own driver.
> Is there some place I can see the style definitions that are being used
> on Open Street Map? For example, as you zoom in, a road may appears
> black. Then as you zoom in, it changes to white with a black
> background. (Python calls them Style and Rule and c++ calls them
> feature_type_style and rule_type).
The rules are defined using mapnik's XML format.
You can find the style file here:
http://trac.openstreetmap.org/browser/applications/rendering/mapnik/osm.xml
More information about the dev
mailing list