<?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: Filter problem in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/filter-problem/m-p/290888#M1203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Vitor -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, but what you are trying to do is not supported by a filter at any of the 10.2.x product releases. The filter will not expand a field name such as ${ValuesList} to build a list of comma separated values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When configuring a filter with an expression and selecting the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG&gt;IN&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; operator, the &lt;/SPAN&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;SPAN&gt; portion of the expression must be a comma separated list of values. These can be integer values ... &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;1,16,32&lt;/SPAN&gt;&lt;SPAN&gt; as you discovered. They can also be unquoted strings ... for example &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;abc,def,ghi&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;You might refer to the thread &lt;A href="&amp;lt;/span&amp;gt;&amp;lt;a" target="_blank"&gt;Spatial" rel="nofollow" target="_blank"&amp;gt;http://forums.arcgis.com/threads/102155-Spatial-filter-Different-Geofences-depending-on-a-field]Spatial&lt;/A&gt;&lt;SPAN&gt; filter - Different Geofences depending on a field which describes a way to use a filter to compare a geotagged value against another field's value using &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;=&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;!=&lt;/STRONG&gt;&lt;SPAN&gt; operators rather than the &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;IN&lt;/STRONG&gt;&lt;SPAN&gt; operator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this information helps -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RJ&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2014 18:27:42 GMT</pubDate>
    <dc:creator>RJSunderman</dc:creator>
    <dc:date>2014-04-23T18:27:42Z</dc:date>
    <item>
      <title>Filter problem</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/filter-problem/m-p/290887#M1202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm developing one service where i use one GeoTagger processor to get the geofenceids.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have one id and I'm trying to use one filter to identify if my id is in the geofenceids.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I configured the filter as "myId IN ${geofenceids}" and it never work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I made one test with absolute values as ""myId IN 1,16,32" and it works well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What can I do to solve this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vítor Carvalho&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 16:03:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/filter-problem/m-p/290887#M1202</guid>
      <dc:creator>VítorCarvalho</dc:creator>
      <dc:date>2014-04-23T16:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Filter problem</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/filter-problem/m-p/290888#M1203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Vitor -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, but what you are trying to do is not supported by a filter at any of the 10.2.x product releases. The filter will not expand a field name such as ${ValuesList} to build a list of comma separated values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When configuring a filter with an expression and selecting the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG&gt;IN&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; operator, the &lt;/SPAN&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;SPAN&gt; portion of the expression must be a comma separated list of values. These can be integer values ... &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;1,16,32&lt;/SPAN&gt;&lt;SPAN&gt; as you discovered. They can also be unquoted strings ... for example &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;abc,def,ghi&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;You might refer to the thread &lt;A href="&amp;lt;/span&amp;gt;&amp;lt;a" target="_blank"&gt;Spatial" rel="nofollow" target="_blank"&amp;gt;http://forums.arcgis.com/threads/102155-Spatial-filter-Different-Geofences-depending-on-a-field]Spatial&lt;/A&gt;&lt;SPAN&gt; filter - Different Geofences depending on a field which describes a way to use a filter to compare a geotagged value against another field's value using &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;=&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;!=&lt;/STRONG&gt;&lt;SPAN&gt; operators rather than the &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;IN&lt;/STRONG&gt;&lt;SPAN&gt; operator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this information helps -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RJ&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 18:27:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/filter-problem/m-p/290888#M1203</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2014-04-23T18:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filter problem</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/filter-problem/m-p/290889#M1204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi RJ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your explanation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I understood... when I use one GeoTagger processor where I have several overlapping GeoFences, I receive the ids of all of the GeoFences that intersect my position�?� the problem is the same�?� I have one field with something like �??23,24,25�?� and I can�??t find one id (e.g. 24) in this list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vitor Carvalho&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 23:09:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/filter-problem/m-p/290889#M1204</guid>
      <dc:creator>VítorCarvalho</dc:creator>
      <dc:date>2014-04-23T23:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filter problem</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/filter-problem/m-p/290890#M1205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Vitor -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are correct. When GeoFences overlap and an event is INSIDE the overlapping area the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;GeoTagger&lt;/SPAN&gt;&lt;SPAN&gt; processor's default GeoTag Format, DelimitedValue, will output a comma separated list of GeoFence names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because the &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;IN&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;MATCHES&lt;/STRONG&gt;&lt;SPAN&gt; operators within expressions do not support variable substitution, filter expressions such as &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;SearchKey IN ${TaggedValuesList}&lt;/SPAN&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;TaggedValuesList MATCHES .*${SearchKey}.*&lt;/SPAN&gt;&lt;SPAN&gt; which include the name of a field on the right hand side of the expression will not work. The parsing of the second expression in fact - the one using MATCHES with .* regular expression atoms on either end - ends up allowing all of the events through the filter when the parser encounters the unsupported ${SearchKey} in the expression; the filter's implementation is handling the unsupported expression by replacing the entire expression with .* (which matches everything).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;If you must handle the case in which GeoFences overlap, I would suggest that you review the forum thread &lt;A href="&amp;lt;/span&amp;gt;&amp;lt;a" target="_blank"&gt;Overlapping" rel="nofollow" target="_blank"&amp;gt;http://forums.arcgis.com/threads/105319-Overlapping-geofences-with-different-attributes]Overlapping&lt;/A&gt;&lt;SPAN&gt; geofences with different attributes which presents an alternative to using the default GeoTag Format, DelimitedValue. You might find working with the GeoTagged values as a List will allow you some flexibility in your GeoEvent Service design.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...I used a GeoTagger to add a field GeoFenceNames containing the names of each GeoFence the received event's Geometry is INSIDE &lt;STRONG style="text-decoration: underline;"&gt;as a List&lt;/STRONG&gt;. Note that I did not use the default DelimitedValue. If the received event's Geometry is within an area overlapped by two GeoFences, the List appended to the event by the GeoTagger will have GeoFence names at the first two index positions: GeoFenceNames[0] and GeoFenceNames[1]. (Note that the list's index is zero-based.)&lt;BR /&gt;&lt;BR /&gt;By sending the geotagged event through a series of Field Calculator and Field Enricher processors, I can isolate the individual GeoFence names from the list and use those individual names as the key to the join needed to further enrich the events with attributes from a uniquely named polygon feature.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have reviewed the need for supporting variable substitution for the &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;IN&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;MATCHES&lt;/STRONG&gt;&lt;SPAN&gt; operators within filter expressions with the development team and have created an enhancement request. No promises, but we will evaluate this against other work currently in our backlog and see if we can get it into a future product release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RJ&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 17:35:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/filter-problem/m-p/290890#M1205</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2014-04-24T17:35:09Z</dc:date>
    </item>
  </channel>
</rss>

