0

I'm looking to access feature classes currently in ArcGIS Desktop from Leaflet (i.e. from a Web Browser with JavaScript).

I know it's possible with ArcGIS for Server (which has a "ArcGIS Data Interoperability for Server" module etc.) - I'd just have to move the data to Server and all would be good.

However, are there other options? e.g. perhaps there is a tool that can export data (as GeoJSON - which Leaflet likes) from ArcGIS Desktop.

I'm considering doing an ArcGIS Desktop add-in (extension) to export to GeoJSON if there's nothing out there.

1 Answer 1

1

ArcGIS Desktop already has a Features to JSON tool which:

Converts features to JSON format. The fields, geometry, and spatial reference of features will be converted to their corresponding JSON representation and written to a file with a .json extension.

and you can:

Check the Output to GeoJSON parameter (geoJSON='GEOJSON' in Python) to create JSON output that conforms to the GeoJSON specification. Esri JSON output is the default.

This functionality appears to be new at 10.5 or 10.5.1 because it is not mentioned in the same help page for 10.4.

1
  • 2
    Thanks - looks like you need 10.5.1 to get this option (and that the same applies to server i.e. only later versions support the format GeoJSON).. Sep 13, 2017 at 6:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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