On Jan 5, 2010, at 11:09 PM, Anisha Kaul wrote: > In this way I just placed my shape file in the location of the > default shape file and changed the name of the > file in the world_styles.xml as follows: > > <Parameter name="file">../data/world_borders</Parameter> > > Now when I run the following command, I only get to see a blue > screen in "hello_world_using_xml_config.png" !!! > > ani...@linux:~/hello_world/xml_config> python world_map.py > > PS: I did remove the previously generated > "hello_world_using_xml_config.png" before generating a new one ! > > I wonder if something is wrong with my data !! > ___________________________________________
Anisha, I think you need to move a bit slower :) Take some time to understand that data is in different map projections [1] and you can't just switch out data exported from postgres (that I assume is in EPSG: 900913) with a shapefile that works with a tutorial that is in EPSG: 4326, without also modifying the XML 'srs' parameter. See http://trac.mapnik.org/wiki/IntroductionToGIS for more details. I might recommend to you to check out QuantumGIS. http://qgis.org. QGIS provides an interface to allow you to load up different data, and does a descent job of automatically interpreting the projection (Although note that is does not understand EPSG:900913). Dane _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

