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

Artem Pavlenko artem at pavlenko.uklinux.net
Fri Jan 5 21:15:44 GMT 2007


Today 21:11:52
   
Great! How did you cut this shapefile?  pgsql2shp ?

Artem.

On Friday 05 January 2007 20:18, Nick Whitelegg wrote:
> 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
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev




More information about the dev mailing list