Select to view content in your preferred language

Help with Coordinate Conversion Using ArcGIS GeometryService

27
0
yesterday
swuell
by
New Contributor

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:

  1. The getTransformations() method seems to be missing on the GeometryService object, and I’m unsure how to retrieve and apply the necessary geographic transformations.
  2. There’s a type mismatch error with the geometryService.project() method, where it expects a string, but we’re passing an array of Polygons (some of which may be undefined). 

Questions:

  • What’s the correct way to handle geographic transformations when converting geometries from WGS84 to NAD83 using the ArcGIS API?
  • Are there specific methods or workflows to use with GeometryService for this type of coordinate conversion?
  • Any examples or documentation for handling this would be very helpful.

Thanks in advance for your support and guidance!

Sam

0 Kudos
0 Replies