<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Process JSON Collection? in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545985#M2404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's an interesting solution that didn't occur to me. What I ended up doing is similar and uses two GeoEvent services. The first one uses Field Calculator processors to calc the geometry data to the fields longitude, latitude, and wkid. Then there's a Field Reducer that strips out the Geometry attribute and the resulting stream is output to cache. The second service inputs from the cache, creates the geometry from the longitude, latitude and wkid fields and outputs to the appropriate service. I'd prefer to have only one GeoEvent service, but this works. I'm gonna give your approach a try just to check it out, but what I've done is working and that's what I needed. Thanks for looking into this for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2016 22:59:44 GMT</pubDate>
    <dc:creator>JamesStewart2</dc:creator>
    <dc:date>2016-02-03T22:59:44Z</dc:date>
    <item>
      <title>Process JSON Collection?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545977#M2396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone know how I can get the GEP to handle a JSON collection?&amp;nbsp; I want these to feed into a feature service that includes a point feature class.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DG&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; "lastLocations" : [{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "driverID" : 83886089,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "driverEmployeeId" : null,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vehicleID" : 83886595,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vehicleName" : "PVLV1139",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "head" : 5,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "speed" : 0,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "time" : "2013-08-07T13:33:01Z",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "location" : {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "lat" : 45.443727,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "lng" : -129.978607
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "driverID" : 83886089,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "driverEmployeeId" : null,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vehicleID" : 83886596,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vehicleName" : "PVLV1219",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "head" : 3,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "speed" : 0,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "time" : "2013-10-03T00:14:50Z",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "location" : {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "lat" : 41.920233,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "lng" : -175.161255
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; ]
}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 00:04:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545977#M2396</guid>
      <dc:creator>DennisGeasan</dc:creator>
      <dc:date>2013-12-13T00:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Process JSON Collection?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545978#M2397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;GEP has two built in JSON parsers, designed to handle "JSON Features" and "Generic JSON".&amp;nbsp; The JSON structure you describe can be parsed by the generic JSON adapter.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your example, there are two vehicle reports, so you probably want two separate GeoEvents to be generated from that data.&amp;nbsp; If you set the adapter's property called "JSON Object Name" to "lastLocations", then the parser will find that key in the JSON Structure, notice that it is an array, and turn each object in that array into a GeoEvent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The data looks pretty basic, so you can tell the adapter to "Create GeoEvent Definition" and it will install a new GeoEvent Definition with the name you specify by examining the incoming data and inferring field names and types.&amp;nbsp; It's always good to review the GeoEvent Definition to make sure the field's are the right types (e.g. Dates were correctly identified).&amp;nbsp; Also, you should apply a TRACK_ID tag to the appropriate field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also tell the adapter to "Construct Geometry from Fields", and you will be asked for the X, Y, Z, fields.&amp;nbsp; Set the X property to "location.lng" and the Y property to "location.lat".&amp;nbsp; The other geometry-related fields can be left blank.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 15:18:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545978#M2397</guid>
      <dc:creator>RyanElliott</dc:creator>
      <dc:date>2013-12-13T15:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Process JSON Collection?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545979#M2398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have already done as you suggest, sort of.&amp;nbsp; I set "JSON Object Name" to "location" not "lastLocations".&amp;nbsp;&amp;nbsp; However, the only attributes I get are the 'lat' and 'lng' fields and the constructed geometry. I want all the attributes of each collection object and that each object be an event directed to a record in a point feature class. I have tried to set "JSON Object Name" to "lastLocations" but then the input adapter fails to collect anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm thinking I will have to reformat and flatten the JSON before feeding it into the GEP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For version 10.2, if I set "JSON Object Name" to "location", then the output is the two geoevents as defined in the JSON source. If I don't define a "JSON Object Name" then it seems the whole collection is treated as one event rather than multiple events. Not sure if that is a feature or bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DG&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 15:36:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545979#M2398</guid>
      <dc:creator>DennisGeasan</dc:creator>
      <dc:date>2013-12-13T15:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Process JSON Collection?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545980#M2399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Dennis -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached is an illustration from the 10.2.0 product, supporting what Ryan says above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The interface panels change slightly at 10.2.1 ... but not so much that you can't use what is below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]29862[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- RJ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 15:39:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545980#M2399</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2013-12-13T15:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Process JSON Collection?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545981#M2400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; I have tried to set "JSON Object Name" to "lastLocations" but then the input adapter fails to collect anything.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any errors in the log files?&amp;nbsp; Also did you let the adapter create the GeoEvent Definition?&amp;nbsp; You may want to stop the input, delete the GeoEvent Definition, and then have the adapter recreate it (especially if you are changing other settings).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;For version 10.2, if I set "JSON Object Name" to "location", then the output is the two geoevents as defined in the JSON source. If I don't define a "JSON Object Name" then it seems the whole collection is treated as one event rather than multiple events. Not sure if that is a feature or bug.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, that is expected behavior.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 16:01:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545981#M2400</guid>
      <dc:creator>RyanElliott</dc:creator>
      <dc:date>2013-12-13T16:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Process JSON Collection?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545982#M2401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Full stop!!!&amp;nbsp; I went back and tried again setting "JSON Object Name" to "lastLocations" and defining the fields to build the geometry to location.lng and location.lat.&amp;nbsp; Now it appears to be working!!&amp;nbsp; Hmm.&amp;nbsp; Obviously I did something dumb early on and should have retraced my earlier steps.&amp;nbsp; Thanks for the help.&amp;nbsp; I'm on my way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DG&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 16:06:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545982#M2401</guid>
      <dc:creator>DennisGeasan</dc:creator>
      <dc:date>2013-12-13T16:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Process JSON Collection?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545983#M2402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this thread is 2 years old, but I'm facing the same issue and I can't get the geometry data into the output feature class. This is some json output straight from the input connector:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/154989_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;The data is being delivered in an array called "Updates". When I add "Updates" to the JSON Object Name setting in the input connector, the data is parsed into separate geoevents. At this point, I can get all the attributes into the feature class except for Geometry. That shows up in the new GeoEvent definition as a group.&lt;/P&gt;&lt;P&gt;This is the output json data after adding "Updates" to the JSON Object Name setting in the input connector:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/154990_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;This is the new GeoEvent definition showing the grouped geometry attributes:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/154991_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;I tried the 'Construct Geometry from Fields' option as shown below...&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/154992_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;...but when I did, the input connector was no longer streaming any data through. I have tried various processor options to construct a new geometry field including the Projector processor. Nothing works. Can anyone tell me what I'm missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 20:05:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545983#M2402</guid>
      <dc:creator>JamesStewart2</dc:creator>
      <dc:date>2015-12-11T20:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Process JSON Collection?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545984#M2403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello James -&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;I tried the 'Construct Geometry from Fields' option as shown below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...but when I did, the input connector was no longer streaming any data through.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the reason that the input stopped showing data records being received (when you toggled its 'Construct Geometry from Fields' to 'Yes') is that the GeoEvent structure already has a field named 'Geometry' which is preventing the input's adapter from creating a field it wants to name 'Geometry' into which it can place the value it has created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that you have no influence over the data provider's choice of naming the group element, here's something you can do to work around the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Bring the event data in, as provided, without attempting to build a Geometry&lt;/LI&gt;&lt;LI&gt;Use a 'Field Mapper' processor to remap the event structure:&lt;UL&gt;&lt;LI&gt;Geometry.X&amp;nbsp; =&amp;gt;&amp;nbsp; Longitude&lt;/LI&gt;&lt;LI&gt;Geometry.Y&amp;nbsp; =&amp;gt;&amp;nbsp; Latitude&lt;/LI&gt;&lt;LI&gt;Geometry.spatialReference.wkid&amp;nbsp; =&amp;gt;&amp;nbsp; WKID&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Send the remapped event to a 'Push JSON to an External Website' output&lt;UL&gt;&lt;LI&gt;The 'URL' parameter will be the REST endpoint of a new 'Receive JSON on a REST Endpoint' input you create&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;e.g.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fmymachine.mydomain.com%3A6180%2Fgeoevent%2Frest%2Freceiver%2Frest-json-in-repost" rel="nofollow" target="_blank"&gt;http://mymachine.mydomain.com:6180/geoevent/rest/receiver/rest-json-in-repost&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Configure the &lt;EM&gt;&lt;STRONG&gt;rest-json-in-repost&lt;/STRONG&gt;&lt;/EM&gt; input you create to construct a Geometry from the Latitude, Longitude, and WKID field values&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When configuring the&amp;nbsp; 'Push JSON to an External Website' output, I elected to clear the parameter field 'Header Parameter Name:Value List' (since I wasn't actually providing a list of name:value pairs...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I ended up doing was placing both the &lt;EM&gt;&lt;STRONG&gt;rest-json-in&lt;/STRONG&gt;&lt;/EM&gt; and &lt;EM&gt;&lt;STRONG&gt;rest-json-in-repost&lt;/STRONG&gt;&lt;/EM&gt; inputs in the same GeoEvent Service. This might lead to some confusion with your event counts on the Monitor page as every event received increments the GeoEvent Service's event count by 2 (since it has two inputs and is essentially sending a copy of the event record to itself).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My solution uses three GeoEvent Definitions ... an original matching the data provider's structure, a remap of that structure, and a copy of the remapped structure with a Geometry field added (used by the &lt;EM&gt;&lt;STRONG&gt;rest-json-in-repost&lt;/STRONG&gt;&lt;/EM&gt; input constructing the Geometry, so it has somewhere to place the Geometry it constructs).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how this works for you -&lt;/P&gt;&lt;P&gt;RJ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/175782_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/175783_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Jan 2016 03:29:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545984#M2403</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2016-01-31T03:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Process JSON Collection?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545985#M2404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's an interesting solution that didn't occur to me. What I ended up doing is similar and uses two GeoEvent services. The first one uses Field Calculator processors to calc the geometry data to the fields longitude, latitude, and wkid. Then there's a Field Reducer that strips out the Geometry attribute and the resulting stream is output to cache. The second service inputs from the cache, creates the geometry from the longitude, latitude and wkid fields and outputs to the appropriate service. I'd prefer to have only one GeoEvent service, but this works. I'm gonna give your approach a try just to check it out, but what I've done is working and that's what I needed. Thanks for looking into this for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 22:59:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/process-json-collection/m-p/545985#M2404</guid>
      <dc:creator>JamesStewart2</dc:creator>
      <dc:date>2016-02-03T22:59:44Z</dc:date>
    </item>
  </channel>
</rss>

