<?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 GeoEvent - Get the number of elements in the list returned by Geotagger processor in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-get-the-number-of-elements-in-the-list/m-p/1300225#M36236</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm using GeoTagger processor (&lt;FONT color="#0000FF"&gt;&lt;EM&gt;Geotag Format = List&lt;/EM&gt;&lt;/FONT&gt;) to get a list of geofences hit by a vehicle moving in the city. The numbre of elements returned in the list is variable.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Examples:&lt;/STRONG&gt;&lt;/U&gt; &lt;STRONG&gt;&lt;I&gt;ListGeofences&amp;nbsp;List&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;["2345-L", "12376-I", "43761-R"]&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;["2145-L", "12171-I"]&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;["1385-L"]&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;null&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have to check if an element in the list exist before using it in another processor otherwise I receive a error in the log if the element does not exist. Also the process does not continue further.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;EM&gt;Example for the list&amp;nbsp;["1385-L"]&lt;/EM&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;List&lt;/STRONG&gt;&lt;STRONG&gt;Geofences[0] = &lt;EM&gt;"1385-L";&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ListGeofences[1] = null&amp;nbsp; &lt;/STRONG&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;(Get an error)&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I know how to do it using &lt;EM&gt;&lt;FONT color="#0000FF"&gt;Delimited Value f&lt;/FONT&gt;&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;ormat&lt;/FONT&gt;&lt;/EM&gt; in the GeoTagger. But this not allows me to get elements separately in the returned String.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to get the number of elements returned in the list?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Zakaria&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2023 14:34:52 GMT</pubDate>
    <dc:creator>ZDouiri</dc:creator>
    <dc:date>2023-06-16T14:34:52Z</dc:date>
    <item>
      <title>GeoEvent - Get the number of elements in the list returned by Geotagger processor</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-get-the-number-of-elements-in-the-list/m-p/1300225#M36236</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm using GeoTagger processor (&lt;FONT color="#0000FF"&gt;&lt;EM&gt;Geotag Format = List&lt;/EM&gt;&lt;/FONT&gt;) to get a list of geofences hit by a vehicle moving in the city. The numbre of elements returned in the list is variable.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Examples:&lt;/STRONG&gt;&lt;/U&gt; &lt;STRONG&gt;&lt;I&gt;ListGeofences&amp;nbsp;List&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;["2345-L", "12376-I", "43761-R"]&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;["2145-L", "12171-I"]&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;["1385-L"]&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;null&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have to check if an element in the list exist before using it in another processor otherwise I receive a error in the log if the element does not exist. Also the process does not continue further.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;EM&gt;Example for the list&amp;nbsp;["1385-L"]&lt;/EM&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;List&lt;/STRONG&gt;&lt;STRONG&gt;Geofences[0] = &lt;EM&gt;"1385-L";&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ListGeofences[1] = null&amp;nbsp; &lt;/STRONG&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;(Get an error)&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I know how to do it using &lt;EM&gt;&lt;FONT color="#0000FF"&gt;Delimited Value f&lt;/FONT&gt;&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;ormat&lt;/FONT&gt;&lt;/EM&gt; in the GeoTagger. But this not allows me to get elements separately in the returned String.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to get the number of elements returned in the list?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Zakaria&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 14:34:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-get-the-number-of-elements-in-the-list/m-p/1300225#M36236</guid>
      <dc:creator>ZDouiri</dc:creator>
      <dc:date>2023-06-16T14:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: GeoEvent - Get the number of elements in the list returned by Geotagger processor</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-get-the-number-of-elements-in-the-list/m-p/1300233#M36237</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/488445"&gt;@ZDouiri&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Take a look at steps 6 &amp;amp; 7 in the following &lt;A href="https://community.esri.com/t5/arcgis-geoevent-server-documents/summarize-point-count-within-polygons-using/ta-p/906277" target="_self"&gt;document&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 14:55:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-get-the-number-of-elements-in-the-list/m-p/1300233#M36237</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2023-06-16T14:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: GeoEvent - Get the number of elements in the list returned by Geotagger processor</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-get-the-number-of-elements-in-the-list/m-p/1300283#M36239</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I know how to get the numbre of elements by using &lt;STRONG&gt;&lt;EM&gt;Delimited Value format&lt;/EM&gt;&lt;/STRONG&gt; in GeoTagger processor. But this will not provide me the list of elements.&lt;/P&gt;&lt;P&gt;One way to do this is to call the GeoTagger processor twice: one with the &lt;EM&gt;&lt;STRONG&gt;List format&lt;/STRONG&gt; &lt;/EM&gt;and the other with the &lt;STRONG&gt;&lt;EM&gt;Delimited Value format&lt;/EM&gt;&lt;/STRONG&gt;. However, I don't see this solution as a best practice. This will also impact the performance of GeoEvent.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Zakaria&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 16:25:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-get-the-number-of-elements-in-the-list/m-p/1300283#M36239</guid>
      <dc:creator>ZDouiri</dc:creator>
      <dc:date>2023-06-16T16:25:18Z</dc:date>
    </item>
  </channel>
</rss>

