TomFlahive

Extracting Geometry Coordinates from JSON String

Discussion created by TomFlahive on Jun 11, 2014
Latest reply on Jun 27, 2014 by rsunderman-esristaff
With the GeoEvent Processor, is there a way to extract the coordinates from a JSON field when the coordinates are embedded in a single string?:

"CREATED_LOCATION":"31.555114:-117.458182:12.792526:10.000000:3.000000:0.000000:-1.000000:1402525011.385171"


I'm just trying to pull out the 31.555114 and -117.458182 to be used in creating Geometry for a feature service.  I asked a similar question recently (http://forums.arcgis.com/threads/109721-Converting-Lat-Long-Coordinates-in-JSON-Feed-to-Geometry?p=389548#post389548), but this case is a little trickier since the coordinates are now embedded in a single string.

Outcomes