TomFlahive

Converting Lat/Long Coordinates in JSON Feed to Geometry

Discussion created by TomFlahive on May 13, 2014
Latest reply on May 14, 2014 by rsunderman-esristaff
I have a JSON feed which contains the Latitude/Longitude coordinates of a point feature in a format that makes it harder to get at.  The part of the JSON record that has the Lat/Long looks like this:

{
    "location": {
        "type": "point",
        "coordinate": [
            34.854503,
            -117.087665
        ]
    }
}
 

And the GeoEvent Definition File that is auto-generated looks like this:

[ATTACH=CONFIG]33786[/ATTACH]

Does anyone know how these coordinates can be extracted to create the Geometry for this event?  My end goal is to generate a feature service from the JSON data.

Thanks.
Tom

Attachments

Outcomes