Select to view content in your preferred language

How to convert ArcGIS Javascript Geometry Object to GeoJson

3099
4
03-19-2012 06:21 AM
SureshRajamani
Occasional Contributor
How to convert ArcGIS Javascript Geometry Object to GeoJson?
0 Kudos
4 Replies
nicogis
MVP Frequent Contributor
you try see http://odoe.net/blog/?p=187
http://esritogeo.herokuapp.com/

an alternative you can create a soe/gp and using data interoperability server extension that I remember convert in geojson 1.0.
0 Kudos
ReneRubalcava
Honored Contributor
I should note too, that in the context of a standalone application, you don't really need to stringify the results of the conversion. That was done in the context of using the solution via REST.
0 Kudos
nicogis
MVP Frequent Contributor
0 Kudos
by Anonymous User
Not applicable

Sorry to tag onto this thread but you all seem like the right crowd to ask...Has anyone worked with Terraformer? I'm struggling with the JSON result of an ArcGIS REST API query and getting the GeoJSON using Terraformer.ArcGIS.parse(esriJson). Happy to provide code if anyone has thoughts. Thanks!