<?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: Hierarchy - Nested JSON objects in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/hierarchy-nested-json-objects/m-p/1551304#M4237</link>
    <description>&lt;P&gt;Have you had any luck with this? I'm experience the same thing. I even came across the same article, but I'm still not sure what I'm doing wrong.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2024 14:23:46 GMT</pubDate>
    <dc:creator>Clayton-Cooley</dc:creator>
    <dc:date>2024-10-23T14:23:46Z</dc:date>
    <item>
      <title>Hierarchy - Nested JSON objects</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/hierarchy-nested-json-objects/m-p/1545196#M4231</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am trying to ingest data through ArcGIS GeoEvent server from a web endpoint. I have some troubles and cannot parse the geometry in the data. I am trying to use an input connector (Poll an External Website for JSON). I am not sure how to use JSON Object Name in the connector. As per the documentation of GeoEvent server it is defined as "The name of a JSON element that can be used as the root node of a substructure within the received JSON data. When JSON Object Name is used to specify a JSON element by name, the adapter will search for substructures whose object name matches the specified element name. Only data within the identified substructure will be considered. When left blank, which is the default, the uppermost JSON object is used as the root of the entire JSON structure". When I leave the JSON Object Name empty the, all the data ingested but cannot extract the geometry and when I specify the JSON Object Name with "location" (this is the direct root of the geometry) the connector ingest only the geometry and do not ingest all of the data.&lt;/P&gt;&lt;P&gt;I visited this handy article, but I feel that I'm lost in the middle and cannot find my way to parse the geometry.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-geoevent-server-blog/json-data-structures-working-with-hierarchy-and/ba-p/889509" target="_blank"&gt;https://community.esri.com/t5/arcgis-geoevent-server-blog/json-data-structures-working-with-hierarchy-and/ba-p/889509&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated.&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;P&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nested json ojbects" style="width: 965px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116424iFDE0AB1F73AAD166/image-size/large?v=v2&amp;amp;px=999" role="button" title="geoevent-nested-object.png" alt="geoevent-nested-object.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 14:34:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/hierarchy-nested-json-objects/m-p/1545196#M4231</guid>
      <dc:creator>MarGIS</dc:creator>
      <dc:date>2024-10-03T14:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy - Nested JSON objects</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/hierarchy-nested-json-objects/m-p/1545605#M4232</link>
      <description>&lt;P&gt;In the dialog for creating the &lt;STRONG&gt;Poll an External Website for JSON&lt;/STRONG&gt; input, click&amp;nbsp;&lt;STRONG&gt;Advanced&lt;/STRONG&gt; to display several additional parameters. Set&amp;nbsp;&lt;STRONG&gt;Construct Geometry From Fields&lt;/STRONG&gt; to&amp;nbsp;&lt;STRONG&gt;Yes&lt;/STRONG&gt;. Then set&amp;nbsp;&lt;STRONG&gt;X Geometry Field&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;Y Geometry Field&lt;/STRONG&gt;, as well as&amp;nbsp;&lt;STRONG&gt;Z Geometry Field&lt;/STRONG&gt; if you have it.&lt;/P&gt;&lt;P&gt;You say your geometry is in a JSON object named &lt;FONT face="courier new,courier"&gt;location&lt;/FONT&gt;. I assume that means your JSON looks something like this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "id": 31313,
  "name": "Foo",
  "location": {
    "theXValue": -101.01,
    "theYValue": 41.414
  }
}&lt;/LI-CODE&gt;&lt;P&gt;Then you would set&amp;nbsp;&lt;STRONG&gt;X Geometry Field&lt;/STRONG&gt; to &lt;FONT face="courier new,courier"&gt;location.theXValue&lt;/FONT&gt; and&amp;nbsp;&lt;STRONG&gt;Y Geometry Field&lt;/STRONG&gt; to &lt;FONT face="courier new,courier"&gt;location.theYValue&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;Be sure to set&amp;nbsp;&lt;STRONG&gt;Default Spatial Reference&lt;/STRONG&gt; as well. That's typically&amp;nbsp;&lt;FONT face="courier new,courier"&gt;4326&lt;/FONT&gt;&amp;nbsp;(WGS 1984 longitude/latitude).&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 14:17:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/hierarchy-nested-json-objects/m-p/1545605#M4232</guid>
      <dc:creator>GaryLSheppardJr</dc:creator>
      <dc:date>2024-10-04T14:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy - Nested JSON objects</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/hierarchy-nested-json-objects/m-p/1545626#M4233</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Please provide your JSON response so that we can see what its structure looks like.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 14:52:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/hierarchy-nested-json-objects/m-p/1545626#M4233</guid>
      <dc:creator>Gene_Sipes</dc:creator>
      <dc:date>2024-10-04T14:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy - Nested JSON objects</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/hierarchy-nested-json-objects/m-p/1551304#M4237</link>
      <description>&lt;P&gt;Have you had any luck with this? I'm experience the same thing. I even came across the same article, but I'm still not sure what I'm doing wrong.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 14:23:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/hierarchy-nested-json-objects/m-p/1551304#M4237</guid>
      <dc:creator>Clayton-Cooley</dc:creator>
      <dc:date>2024-10-23T14:23:46Z</dc:date>
    </item>
  </channel>
</rss>

