Hello,
I’m currently working on a web application that needs to handle coordinate conversion from WGS84 (used in Google Maps) to NAD83 State Plane Zones, using EPSG codes. The goal is to convert geometries drawn by users (like polylines and polygons) and export them into .shp files for use in external CAD software.
Issues:
Questions:
Thanks in advance for your support and guidance!
Sam
@swuell it sounds like you might be looking for the API's projection engine: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-projection.html#project. This functionality can be run on the client, so no need for a server round-trip.
I looked into the esri/geometry/projection API, and it seems promising. However, I want to confirm - does this fully replace the need for using GeometryService for coordinate conversion from WGS84 to NAD83 State Plane Zones? My goal is to ensure that the conversion is accurate for polylines and polygons, and then export the data into .shp files.
Would this client-side projection method handle everything without needing a geographic transformation, or do I still need to account for transformation parameters when converting between these coordinate systems?
Thanks for the help!