[OSM-talk] Question about create a tiles in my PC

francescoboccacci at libero.it francescoboccacci at libero.it
Wed Feb 3 08:35:52 GMT 2010


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">
  &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




More information about the talk mailing list