Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a function exposed by ESRI's python geoprocessor that converts the JSON format used in the various web clients to a valid feature class.

Clearly, the function exists because something is converting these JSON strings into a format usable by the geoprocessor. I can't find it anywhere.

share|improve this question
See related question – Kirk Kuykendall Jul 18 '11 at 3:24

If you have the json data to parse with python, you could grab the lat/longs and use an insert cursor and the writing geometry object found here

share|improve this answer

No, there's no built-function to do this.

Edit: As of ArcGIS 10.1 (Spring 2012), arcpy.AsShape will convert an Esri JSON FeatureSet/RecordSet to a Python FeatureSet/RecordSet object if you set the esri_json parameter to True. Additionally, FeatureSet and RecordSet objects have a .JSON property to do the reverse.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.