Using the Features to JSON tool that is now available with 10.2, is there additional formatting that needs to be done to the files before they can be displayed as web maps?
-
where are you wanting to display these webmaps? please elaborate more on your use case.– Brad NesomAug 13, 2013 at 14:23
-
I'm using leaflet– baileyAug 13, 2013 at 14:28
-
I am using geojson.io to test my geojson file. even using mapshaper.org to create a geojson doesn't give me an output that will upload to the geojson.io site– baileyAug 13, 2013 at 14:45
-
probably a format issue, esri is going to create esrijson if you don't use a tool to make it any different. I know there are several geojson types. id dyou try loading it to ArcGIS.com?– Brad NesomAug 13, 2013 at 14:50
-
1I haven't tried this myself, but I saw a tweet the other day about this GeoJSON Import / Export tool: github.com/jasonbot/geojson-madness– Timothy MichaelAug 13, 2013 at 17:44
1 Answer
Because Features to JSON outputs ArcGIS JSON geometries, you'd have to use something like Terraformer to convert to GeoJSON if you intended on working with the data as a client-side graphics layer in Leaflet.
edit: 30/9/15
Esri's open source Leaflet plugins make it easy to fetch data dynamically from ArcGIS Server and ArcGIS Online and display in Leaflet.