[OSM-dev] Rendering Rules

Brian Peschel brianp at occinc.com
Fri Mar 14 13:18:43 GMT 2008


First, let me say I think the maps that Open Street Map are producing 
look great!  So, here is my question(s).

Based on what I can gather from the wiki, it looks like the US data all 
started from TIGER data and has been updated from there.  And, again 
based on the wiki, all the rendering styles appear to come from the tags 
that are used (highway=trunk, railway=rail, etc) based on this page:
http://wiki.openstreetmap.org/index.php/Map_Features

So, how did the conversion from the TIGER CFCC codes to your tags 
occur?  Is there a master list that has the conversion from one set to 
another?

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).

Thanks!

Brian





More information about the dev mailing list