Select to view content in your preferred language

????????????????? ?????????????????? ??????????? ??????? ? ????????????????? ? ?????????

2067
2
10-21-2010 10:59 PM
AnatoliiTerentiev
Deactivated User
Can't anybody get advice how to transform Cartesian rectangular coordinates X,Y  to geographical coordinates (latitude and longitude) and backwards? (I work with MapControl in arcgis Engine).
I will be appreciated for any reference!
Excuse me for title in russian!
0 Kudos
2 Replies
RuchiraWelikala
Regular Contributor
Can't anybody get advice how to transform Cartesian rectangular coordinates X,Y  to geographical coordinates (latitude and longitude) and backwards? (I work with MapControl in arcgis Engine).
I will be appreciated for any reference!
Excuse me for title in russian!


I don't have my Visual Studio handy right now but I'm pretty sure there's a snippet for this in the SDK Snippet library. Check it out.
0 Kudos
AlexanderGray
Honored Contributor
Well there are many cartesian rectangular coordinate system.  Strictly speaking a Plate Carree projection is a cartesian rectangular coordinate system using longitude and latitude as X,Y. 
if you are trying to go from the screen coordinates in pixel to the map coordinates in whatever system the map is defined IMapControl2.ToMapPoint will do that.  If you are looking to go from a specific projected coordinate system (X/Y) to a geographic one (lon/lat), you can create a point, define it's projected coordinate system, project the point to a geographic coordinate system (of the same datum.)
0 Kudos