Working primarily with data in UTM projection, I often need ways to convert UTM coordinates to WGS to create deep links to various online services.
Having to create duplicate datasets, or running python scripts as regular intervals is tedious and time consuming.
And arcade equivalent of the python projectAs method would solve almost all these issues.
It would be nice to go the other way too! Convert from Lat/Long to UTM meters or state plane feet/USfeet. It's not always easy to produce a web map that's in a projected coordinate system when using AGOL. You have to create a basemap that is in the projected coordinate system (UTM zone 12N, Nad83 2011, meters). Without enterprise/portal, I haven't figured out an easy way to do this without finding a public layer in the CRS that you want that can be used as a basemap.
I agree with @JasonClemis here. I need the inverse. I have been working on this because many folks are beholden to web Mercator WGS1984 and would like to project (live in Field Maps) via Arcade to a specific state plane coordinate system in US or INTL Feet. It would likely be the inverse of the following section: // Latitude iterations in radians. Then again, my state has transverse Mercator so there aren't two parallels which affects the SP1 and SP2 portion.
Also, @DavidColey to get Longitude, add the following after the latitude iterations in radians...
Thanks for this @ZachEdwards_WDSGIS - I'm out this week but will look to get this implemented into next week or so and will report back on this thread with what hopefully will be a TM based SP coord sys translation
As a workaround, would you be able to do the projection in a database view?
I would find this incredible useful and I would anticpate that it works in a similar manner to the coordinate conversion widget in Experience Builder. I would like to be able to get the geometry object back in lat and long but with additional options to specify the format returned e.g "MGRS", "UTM", "GARS", "DDM".
This could also be a standalone function that formats a coordinate to the output e.g. pass in a lat and lon and specify the format keyword.
Thanks,
Dave
An emphatic Yes vote here.
This would be huge and is a long time coming! Can we look into this @JeffShaner ? 🙂
Somewhat similarly we would like to use Arcade to project from RD New (EPSG 28992) to WGS84 in order to feed Survey123 with a correct location (using the center= parameter).
A function to properly reproject geometries would be very useful and empower us to use different Esri products coherently.
@CraigWilliams we have a support case (NOR) with a client asking for exactly this proposal. best pH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.