Dane, Many thanks to you for all those links and hints you gave me,
Finally I have managed to render maps in mapnik using PostgreSQL. There is an -l option with the tool osm2pgsql which preserves the original projection of the map while loading it in the database. Thus as the projection of map stored in the database was 4326, I used the default srs in the python file ! Now I can zoom the map as well as display the part of the map required with the following functions : zoom_all() render_tile_to_file () ______________________________________________________ Now I have got the following queries : 1. If I click or hover over a feature of a rendered map can I get the name of the feature displayed any how ? 2. Where I can get a list of API's for displaying "Legends" with respect to a rendered map ? 3. In a map a line can be used to display a railway track or even a road. So how can I be sure whether currently it has been displayed for a road or a railway track ? The above question can be reframed as follows: How can I check using C++ API what all features are there (roads, rivers,water bodies) in different types like polygons, lines etc , so that i can provide user otions to selectively diplay features on rendered map from legends. Thanking you in anticipation, -- Regards, Anisha Kaul ------------------------------------- Hi-Tech Gears Limited, Gurgaon, India _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

