Hi friends,

I have created python script to render map using mapnik. I have done basic
map operation like pan to left, right,top, bottom. I have also done zoom to
map.

But I am not able to zoom at particular latitude longitude values. I don't
want to use Envelope() which takes four parameter. 

My code is as below:

    myMap = Map(900,450,"+proj=latlong +datum=WGS84")
    p = Projection("+proj=latlong +datum=WGS84")
   
myMap.zoom_to_box(p.forward(Envelope(52.132633,5.291266,52.182633,5.361266)))
    myMap.zoom(0.4)    
    render_to_file(myMap,"proj.png","png")

Please help me. 
Any help would be greatly appreciated!!!
Thank You!!!

BalRam
-- 
View this message in context: 
http://www.nabble.com/Zoom-to-particular-Latitude-Longitude-into-map-tp25530594p25530594.html
Sent from the Mapnik - Users mailing list archive at Nabble.com.

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to