[OSM-dev] Using Mapnik to generate tiles from shapefiles

Nick Whitelegg nick at hogweed.org
Sat Jan 6 12:07:07 GMT 2007


On Friday 05 Jan 2007 21:11, you wrote:
> Great! How did you cut this shapefile?  pgsql2shp ?
>
> Artem.

I created a custom tool for converting OSM data direct to shapefiles - 
osm2shp. It's available in OSM SVN under the utils directory and requires 
shapelib, libosm (also available from OSM SVN under libs) and expat.

At the moment it doesn't do anything about ways with segments in incorrect 
order, or branched ways - but I aim to sort this out (see "segment free 
database" thread)

Nick




More information about the dev mailing list