Can I display X,Y projected coordinates for a Map published in a customized Albers Projection on Field Maps?
Here is the code to get WGS84 using Arcade. Just thought it may help.
CurrentLat var originShift = 2.0 * PI * 6378137.0 / 2.0; var lon = (Geometry($feature).x / originShift) * 180.0; var lat = (Geometry($feature).y / originShift) * 180.0; lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0); return lat; CurrentLong var originShift = 2.0 * PI * 6378137.0 / 2.0; var lon = (Geometry($feature).x / originShift) * 180.0; var lat = (Geometry($feature).y / originShift) * 180.0; lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0); return lon;
Hope it helps
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.