Is there any online or desktop based tool that can convert shapefile or feature class to json and not Geojson.Is there any tool in arcgis desktop to convert shapefile or featureclass into json.

  • 1
    My understanding is that GeoJSON is just a subset of JSON (for example, see stackoverflow.com/questions/5618726/convert-json-to-geojson) so can you elaborate on what flavour of JSON you are wanting to write spatial features to instead of GeoJSON, please?
    – PolyGeo
    Dec 27, 2012 at 10:12
  • I just want construct the feature collection then feature layer out of it in arcgis javascript Api.
    – Gunner
    Dec 27, 2012 at 10:19

2 Answers 2


ArcGIS's JSON is specific to ArcGIS server. Still you have a few options:

  1. If you can get access to ArcGIS server, publish a map service with your data as a feature service. You can then query the REST end point, and get it is JSON format.

  2. ArcGIS Online has a 30 day trial. You can do something similar there. (I am guessing here. I personally have not used ArcGIS online so far.)

  3. Convert your shape file to geoJSON. Convert that to ArcGIS JSON, as explained in this question. You could also look at this ticket on OpenLayers, on how it can be done in Javascript.

  • I think this is not the solution as Arcgis server is itself heavy application and needs Geodatabse.
    – Gunner
    Dec 27, 2012 at 11:00
  • If you want the answer to be a lightweight software that does this for you, you'll have to write one yourself. Currently excluding ArcGIS Server no COTS or OSS does this for you in one step. Dec 27, 2012 at 11:05
  • Thanks for the prompt reply @Devdatta Tengshe I got how to do it.
    – Gunner
    Dec 27, 2012 at 11:11
  • @Gunner If my question has helped you, please mark it as accepted. Otherwise if you have found a better way, please consider sharing it, so as to help others in the future. Dec 27, 2012 at 14:20

Well Open Source tools like Postgis, Postgresql and Mapserver with gdal can be used todo those kind of convertions but they are out of ArcGis.

If you known about the argis programming language, it is called AVL I guess( I not an arcgis user ) you could write a procedure to do that. But going out of GeoJSON would be strange since a JSON without Geo could not be rendered, that is why it is called GeoJSON. I guess you want a simple feature attribute translation.

  • AVL? Do you mean Avenue? Or Arc Macro Language? Also OP was talking of ArcGIS Server's JSON format, which is quite different from GeoJSON, but nonetheless contains Geographic locations. Dec 27, 2012 at 15:10
  • I guess you write on language name avenue.
    – cavila
    Dec 27, 2012 at 15:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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