<?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: Having issue mapping &amp;quot;many&amp;quot; cardinality data structure to feature service in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/having-issue-mapping-quot-many-quot-cardinality/m-p/1053409#M3522</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/198066"&gt;@MichaelKarikari1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First off there appears to be an error in the JSON array you posted (extra comma at the end of the array data just before the closing ']', but I'll assume that is just an editing error when you created the sample.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pulling in a JSON sample similar to yours, I was able to use a field mapper to map the two grouped array values out to a flat schema (see FieldMapper settings below).&amp;nbsp; But this assumes your array will always be the same size.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EricIronside_0-1619812537566.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12324iD18C99C53DD44E9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EricIronside_0-1619812537566.png" alt="EricIronside_0-1619812537566.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;EricIronside_0-1619812537566.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your array is always going to be different sizes or if you would like to convert each array item into a separate event, you will want to use the &lt;A href="https://www.arcgis.com/home/item.html?id=68238a93e5fd4043ad0bbb501b265566" target="_blank" rel="noopener"&gt;Multicardinal Field Splitter Processor&lt;/A&gt;. This processor element will create a new GeoEvent for each array member, flattening the schema in the process.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Apr 2021 19:58:51 GMT</pubDate>
    <dc:creator>EricIronside</dc:creator>
    <dc:date>2021-04-30T19:58:51Z</dc:date>
    <item>
      <title>Having issue mapping "many" cardinality data structure to feature service</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/having-issue-mapping-quot-many-quot-cardinality/m-p/1051414#M3515</link>
      <description>&lt;P&gt;Attempting to process the an incoming json post but ran into an issue with nested json array.&amp;nbsp; Im unable to use field mapping to take the nest elements of observations to a flat geodefinition used for a feature service output.&lt;/P&gt;&lt;P&gt;Issue is only with JSON array section, as the nest json for survey result are able to different feature service with flat geodefinition.&lt;/P&gt;&lt;P&gt;Any insight on what I may have wrong or limitations I may be hitting?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichaelKarikari1_0-1619458587623.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/11868i3457A32F17229BD7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MichaelKarikari1_0-1619458587623.png" alt="MichaelKarikari1_0-1619458587623.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;MichaelKarikari1_0-1619458587623.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 17:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/having-issue-mapping-quot-many-quot-cardinality/m-p/1051414#M3515</guid>
      <dc:creator>MichaelKarikari1</dc:creator>
      <dc:date>2021-04-26T17:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Having issue mapping "many" cardinality data structure to feature service</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/having-issue-mapping-quot-many-quot-cardinality/m-p/1053409#M3522</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/198066"&gt;@MichaelKarikari1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First off there appears to be an error in the JSON array you posted (extra comma at the end of the array data just before the closing ']', but I'll assume that is just an editing error when you created the sample.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pulling in a JSON sample similar to yours, I was able to use a field mapper to map the two grouped array values out to a flat schema (see FieldMapper settings below).&amp;nbsp; But this assumes your array will always be the same size.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EricIronside_0-1619812537566.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12324iD18C99C53DD44E9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EricIronside_0-1619812537566.png" alt="EricIronside_0-1619812537566.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;EricIronside_0-1619812537566.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your array is always going to be different sizes or if you would like to convert each array item into a separate event, you will want to use the &lt;A href="https://www.arcgis.com/home/item.html?id=68238a93e5fd4043ad0bbb501b265566" target="_blank" rel="noopener"&gt;Multicardinal Field Splitter Processor&lt;/A&gt;. This processor element will create a new GeoEvent for each array member, flattening the schema in the process.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 19:58:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/having-issue-mapping-quot-many-quot-cardinality/m-p/1053409#M3522</guid>
      <dc:creator>EricIronside</dc:creator>
      <dc:date>2021-04-30T19:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Having issue mapping "many" cardinality data structure to feature service</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/having-issue-mapping-quot-many-quot-cardinality/m-p/1053572#M3535</link>
      <description>&lt;P&gt;Yup you are correct, the "," is due to the fact that json is only an excerpt of a larger post. And appreciate you pointing me to this processor. This is exactly what I needed!&lt;/P&gt;</description>
      <pubDate>Sun, 02 May 2021 02:58:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/having-issue-mapping-quot-many-quot-cardinality/m-p/1053572#M3535</guid>
      <dc:creator>MichaelKarikari1</dc:creator>
      <dc:date>2021-05-02T02:58:46Z</dc:date>
    </item>
  </channel>
</rss>

