<div dir="ltr"><div>Greetings! I'm going to be responding to calls to a FeatureServer and it gives me back a response that looks like this:</div><div><br></div><div>{<br>  "objectIdFieldName": "objectid",<br>  "globalIdFieldName": "",<br>  "geometryType": "esriGeometryPoint",<br>  "spatialReference": {<br>    "wkid": 26949,<br>    "latestWkid": 26949<br>  },<br>  "fields": [<br>    {<br>      "name": "objectid",<br>      "alias": "OBJECTID",<br>      "type": "esriFieldTypeOID"<br>    },<br>    ...<br>  ],<br>  "features": [<br>    {<br>      "attributes": {<br>        "objectid": 1,<br>        "cities_lam": 25552,<br>        "cities_l_1": 25552,<br>        "citiesx020": 25552,<br>        "feature": "Populated Place",<br>        "name": "Harris",<br>        "pop_range_": "Undetermined",<br>        "pop_90": -99999,<br>        "pop_98": -99999,<br>        "fips55": "31320",<br>        "county": "Mohave County",<br>        "fips": "04015",<br>        "state": "AZ",<br>        "state_fips": "04",<br>        "display": 0<br>      },<br>      "geometry": {<br>        "x": 15704.363599999808,<br>        "y": 460919.1546<br>      }<br>    },<br>    ...<br>  ]<br>}<br clear="all"><div><br></div><div>It's obviously ESRI related. The problem is the "wkid"/"latestWkid" field. We'd like to turn that into a PROJ CRS lookup. In the case of 26949, it turns out to match up nicely to EPSG:26949, aka "NAD83 / Arizona Central". In the ARCGIS docs, it has the name "NAD_1983_StatePlane_Arizona_Central_FIPS_0202". A PROJ CRS lookup by that name also returns EPSG:26949.</div><div><br></div><div>But then consider WKID 102649. It's outside of the EPSG code range, right? So EPSG:102649 doesn't turn up anything. But it is findable under ESRI:102649, with the name "NAD_1983_StatePlane_Arizona_Central_FIPS_0202_Feet".</div><div><br></div><div>My question is thus, is it safe to assume that if I encounter an ESRI wkid greater than 32767 that I should try looking it up with the ESRI authority? And less than or equal, that it is the same as the EPSG code?</div><div><br></div><div>A quick search through the list history found me a semi-related question from 11 years ago that kind of implies this, so it wouldn't hurt to ask again.</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Peter Townsend<br></div>Senior Software Developer<br></div></div></div></div>