Dane, Many thanks to you for bothering to reply !
I downloaded "hello_world.zip" from "http://trac.mapnik.org/wiki/XMLGettingStarted". I downloaded "TM_WORLD_BORDERS_SIMPL-0.3.zip" from "http://thematicmapping.org/downloads/world_borders.php". I ran the programs included as follows : ani...@linux:~/hello_world/xml_config> python world_map.py and as expected I could see a world map ! Problem statement: ___________________________________________________ I converted the data from my database to a shape file as follows: pgsql2shp -f ../data/myfile gis planet_osm_point -u anisha The output of the above command is shown below: Initializing... Warning, field addr:housenumber renamed to ADDR:HOUSE Warning, field addr:interpolation renamed to ADDR:INTER Warning, field admin_level renamed to ADMIN_LEVE Warning, field construction renamed to CONSTRUCTI Warning, field power_source renamed to POWER_SOUR Done (postgis major version: 1). Output shape: Point Dumping: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [11365 rows]. 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 !! ____________________________________________________________________ Please help ! -- Regards, Anisha Kaul > Anisha, > > Your map is blank because you have not applied any styles to your map. > You added the stylename "roads" to your layer, but you must attached > the actual style to the Map as well. > > Generally, if rendering OpenStreetMap data for the first time, users > pull from the main OSM styles here: > > http://svn.openstreetmap.org/applications/rendering/mapnik/README > > However, these styles currently require at least Mapnik 0.6.1. > > See also: > > http://trac.mapnik.org/wiki/MapnikTutorials > http://trac.mapnik.org/wiki/MapDesign > > Dane > ------------------------------------- Hi-Tech Gears Limited, Gurgaon, India _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

