[OSM-dev] Using Mapnik to generate tiles from shapefiles
Nick Whitelegg
nick at hogweed.org
Fri Jan 5 20:18:49 GMT 2007
On Friday 05 Jan 2007 19:59, you wrote:
> Nick,
>
> > OK, thanks. Looks like you load it with the load_map function, and,
> > looking at the existing osm.xml, you specify the data source as shapefile
> > as a <Parameter> in the <Datasource> tag. Is this correct?
>
> Correct.
>
> > Are there any example XML files which use shapefiles, incidentally?
>
> ....
> <Datasource>
> <Parameter name="type">shape</Parameter>
> <Parameter name="file">/a/b/c/shapefile</Parameter>
> </Datasource>
> ....
>
> Cheers,
> Artem
Hello Artem,
OK thanks. Got it working - the (not particularly impressive, admittedly)
results are at http://nick.dev.openstreetmap.org/mapnik/osm.png.
Nick
More information about the dev
mailing list