Processing Spatial Reference

ArcGIS GeoAnalytics Server tasks that have the processSR property in the context parameter will analyze features in the specified spatial reference. If you are saving the results to the spatiotemporal data store results will always be projected to World Geographic Coordinate System 1984 after analysis for storage.

Process spatial reference syntax:

1
"processSR": {"wkid": <wkid>}

wkid is the well-known integer ID of a spatial reference. See Using spatial references for the list of supported spatial references and their IDs. Many analytics require using a projected coordinate system to calculate results.

Spatial Reference example (GCS_WGS_1984)

1
"processSR": {"wkid": 4326}

You may use a different spatial reference for analysis (processSR) and for defining the processing extent(See: Extent). For example, you can define the extent in wkid 4326 (GDC_WGS_1984) and analyze in wkid 3857 (WGS_1984 Web Mercator - auxiliary sphere):

Extent and processSR example:

1
2
3
4
5
6
7
8
9
10
11
12
"context" : {
  "extent": {
    "xmin": -122.68,
    "ymin": 45.53,
    "xmax": -122.45,
    "ymax": 45.6,
    "spatialReference": {
      "wkid": 4326
    }
  },
  "processSR": {"wkid": 3857}
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close