Artem Pavlenko-5 wrote:
> 
> Or in C++ :
> 
> 
> ....
> mapnik::projection prj("+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0
> +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgri...@null +no_defs
> +over");
> 
> double x = 1114078.557;
> double y = 6054943.745;
> prj.inverse(x0,y0);
> 
> std::cout << x << " ," << y << "\n";
> 

Ok, so I should do like this then?

1. Get a screen coordinate and turn it into mercator with CoordTransform
2. Inverse that coordinate with mapnik::projection

Is that the simplest solution?

Very greatful!

Carl
-- 
View this message in context: 
http://www.nabble.com/Coordinates-in-degrees%2C-radians-and...-what-else--tp21436631p21437493.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