[OSM-talk] Question about create a tiles in my PC
Jon Burgess
jburgess777 at googlemail.com
Fri Feb 19 19:11:11 GMT 2010
On Wed, 2010-02-03 at 09:35 +0100, francescoboccacci at libero.it wrote:
> Hi,
> i'm a new user of OpenStreetMap. I try to create a "little" OSM in my PC and
> i make step by step installation. I have installed postgres\postgis, mapnik and
> i have download all code file for generarate tiles. Now i have a problem.During
> a rendering of world boundaries i have a prblem of created tiles.
> For zoom=0 the file generale_tiles.py with a own xml file create a right tile
> (256x256px) for all planet. but for zoom 1 and up all tile cointain some are
> (like south america o other part)repeted so when i view with my browser (sing
> openlayer) i see some part overlayed.
> This is a xml file:
>
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE Map [
> <!ENTITY % entities SYSTEM "inc/entities.xml.inc">
> %entities;
> ]>
> <Map bgcolor="#b5d0d0" srs="+proj=longlat +datum=WGS84 +no_defs"
> minimum_version="0.6.1">
Have you adjusted the projection parameter in generate_tiles.py?
By default it expects the map to be in 900913 projection, not longlat.
> &fontset-settings;
> - <Style name="Poli">
> - <Rule>
> - <PolygonSymbolizer>
> <CssParameter name="fill">#f2eff9</CssParameter>
> </PolygonSymbolizer>
> - <LineSymbolizer>
> <CssParameter name="stroke">rgb(50%,50%,50%)</CssParameter>
> <CssParameter name="stroke-width">0.5</CssParameter>
> </LineSymbolizer>
> </Rule>
> </Style>
> - <Layer name="Poli" srs="+proj=longlat +datum=WGS84 +no_defs">
> <StyleName>Poli</StyleName>
> - <Datasource>
> <Parameter name="type">shape</Parameter>
> <Parameter name="file">C:\mapnik\world_boundaries\processed_p.
> shp</Parameter>
> </Datasource>
> </Layer>
> </Map>
> Someone help me?
>
> Thank you
>
> Francesco
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
More information about the talk
mailing list