Coordinates transformation (To Geographic)

1235
2
12-16-2012 05:41 AM
AlaaB__Rasheed
New Contributor
Hello,

Is there a way to convert the XY coordinates of point From projected to geographic coordinating system. I found that GeometryEngine.Project(Geometry, InputSR, OutputSR) only works if you want to convert from Geographic to projected.

Can anyone help me with that ?

Thanks and regards.
0 Kudos
2 Replies
DanO_Neill
Occasional Contributor III
Converting to/from projected and geographic coordinates is supported with the GeometryEngine.project() method.  Please share your code snippet and I will investigate the issue you are having.
0 Kudos
NigelDsouza
Occasional Contributor
Hi,
Try this formula to convert meters to decimal degrees
a = (b*180)/(Math.PI*6378.1370) ;
where
a is in  decimal degrees
b is in meters

so replace b with either lat or long values and get the output.
you can get these values individually put them in a point geometry and display them on the map.
0 Kudos