Message Boards Message Boards

1
|
6823 Views
|
3 Replies
|
4 Total Likes
View groups...
Share
Share this post:

Use World AzimuthalEquidistant instead of Sphere AzimuthalEquidistant?

Posted 7 years ago

Hi. I am working with some old geographic data and it was all manipulated in ArcMap and saved with a World Azimuthal Equidistant projection. I added more data from a GPS device, and it is currently in Equirectangular coordinates, and tried to transform it using

GeoGridPosition[GeoPosition[#],{"AzimuthalEquidistant","Centering"->mycenter }]&/@moredata

but it seems that everything is off by a tiny bit, compared to the ArcMap coordinates. I put my new data in ArcMap and if I use the Spherical Azimuthal Equidistant projection then ArcMap and Mathematica give the exact same result. My question is: Is there a way to force Mathematica to use the "World" instead of the "Shperical" Azimuthal Equidistant projection? Thanks! Fernando

POSTED BY: Fernando Perez
3 Replies

The inverse operation to GeoDisplacement is GeoDestination, so we can construct an inverse projection using it:

polar[{x_, y_}] := GeoDisplacement[{Sqrt[x^2 + y^2], ArcTan[y, x]/Degree}];
InverseEAE[coords_, c_] := GeoDestination[c, polar[coords]];

Now you can do:

In[]:= EAE[Here, GeoPosition[{0, 0}]]
Out[]= {-7.55175*10^6, 6.34236*10^6}

In[]:= InverseEAE[%, GeoPosition[{0, 0}]] == Here
Out[]= True

Jose.

Posted 7 years ago
POSTED BY: Fernando Perez
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract