Hi David,

Right, for just a small area those global shapefiles are overkill.

The easiest thing to get running is simply to comment out/remove the  
references to the shapefiles so that Mapnik can render the osm postgis  
data without them.

To do that you can either make this whole file blank:

http://svn.openstreetmap.org/applications/rendering/mapnik/inc/layer-shapefiles.xml.inc

or comment out the top line here (which is a reference to the 'layer- 
shapefiles.xml.inc'):

http://svn.openstreetmap.org/applications/rendering/mapnik/inc/layers.xml.inc

Dane


On Feb 21, 2010, at 5:10 PM, armenian wrote:

>
> Hi, my name's David and I'd like to ask for a help. I want generate  
> my own
> tiles so I downloaded .osm file from www/openstreetmap.org for the  
> region
> that interests me(44.383, 40.0953, 44.6346, 40.3071) and inserted into
> PostgreSql database with 'osm2pgsql' like is suggested in
> http:\\wiki.openstreetmap.org\wiki\mapnik as follows:
> "Note: If you want to render a small area as a quick test then you can
> import any .osm file, you do not need to render the whole planet."
> But I don't know where to download the appropriate shapefile because  
> I think
> it's not necessary to download this all this:
> $ wget http://tile.openstreetmap.org/world_boundaries-spherical.tgz  
> (50M)
> $ wget http://tile.openstreetmap.org/processed_p.tar.bz2 (227M)
> $ wget http://tile.openstreetmap.org/shoreline_300.tar.bz2 (46M)
>
> Any suggestions are highly estimated. Please help to find out the  
> answer.
> -- 
> View this message in context: 
> http://old.nabble.com/How-to-find-appropriate-shapefiles-for-tile-generation--tp27681680p27681680.html
> Sent from the Mapnik - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to