[Mapnik-users] Mapping Lat/Lon To Pixel Coordinates

Stephan Seufert sseufert at mpi-inf.mpg.de
Wed Dec 23 14:20:12 CET 2009


Hello everybody!

I have a short question on mapping latitude/longitude coordinates to pixels. Suppose I have a map of width 1000 px and height 1000 px, and a latitude/longitude pair. What would be the easiest way to find out the pixel coordinate (x,y) the waypoint is mapped to?

Thank you so much in advance and merry christmas!

Kind regards,
stephan


More information about the Mapnik-users mailing list