<?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: Problems using Filter with Latest/Related Features in Stream Service in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/problems-using-filter-with-latest-related-features/m-p/209826#M920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Markus -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to reproduce the issue you describe above. I'm not entirely sure that this is something that can be fixed server-side in GeoEvent Server. It looks to me like the client's filter specification is being applied to the stream service subscription without error ... but I'm seeing the web map client-side dropping the stream layer from the web map's content whenever I apply a filter to a stream layer whose stream service specifies&amp;nbsp;&lt;EM&gt;Related Features&lt;/EM&gt;. I don't think that the stream service's&amp;nbsp;&lt;EM&gt;Store Latest&lt;/EM&gt; plays into this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are investigating the issue and will be in touch through the partner / distributor to work with you on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards -&lt;/P&gt;&lt;P&gt;RJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Dec 2019 02:12:17 GMT</pubDate>
    <dc:creator>RJSunderman</dc:creator>
    <dc:date>2019-12-04T02:12:17Z</dc:date>
    <item>
      <title>Problems using Filter with Latest/Related Features in Stream Service</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/problems-using-filter-with-latest-related-features/m-p/209825#M919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are currently setting up a Stream Service and need to use the Latest/Related (L/R) Features for our Webmap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Stream Service works fine without L/R Features. The WebSocket (WS) connection is created, filter messages of type&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;{“filter”:{“where”:”mmsi = ‘123456’”}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;are sent and confirmed (“error”: null) through the WS protocol. Data then proceeds to come through the same connection. Filter can be removed and edited, without issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/474760_191127_aisStream1_filter_mmsi_pp.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the L/R enabled, the filtering does not work as expected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By filtering for “mmsi” (Track_id), the filter is sent via WS, then a new WS connection is opened with “where=mmsi%20%3D%20%123456%27” added to the WS-URL. By removing/editing the filter again a new WS connection is opened. Data is at least coming through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/474761_191127_aisStream2_filter_mmsi_pp.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By filtering for “class” (not a field of Related Features) the filter is sent via WS, no new connection is opened. No data is coming through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-3 j-img-original" src="https://community.esri.com/legacyfs/online/474762_191127_aisStream2_filter_class_pp.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that the WS connection cannot be used for filtering for related features, but we did not even do that yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a known issue? What would be the work around?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards, Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 15:11:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/problems-using-filter-with-latest-related-features/m-p/209825#M919</guid>
      <dc:creator>MarkusBenninghoff</dc:creator>
      <dc:date>2019-11-27T15:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using Filter with Latest/Related Features in Stream Service</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/problems-using-filter-with-latest-related-features/m-p/209826#M920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Markus -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to reproduce the issue you describe above. I'm not entirely sure that this is something that can be fixed server-side in GeoEvent Server. It looks to me like the client's filter specification is being applied to the stream service subscription without error ... but I'm seeing the web map client-side dropping the stream layer from the web map's content whenever I apply a filter to a stream layer whose stream service specifies&amp;nbsp;&lt;EM&gt;Related Features&lt;/EM&gt;. I don't think that the stream service's&amp;nbsp;&lt;EM&gt;Store Latest&lt;/EM&gt; plays into this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are investigating the issue and will be in touch through the partner / distributor to work with you on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards -&lt;/P&gt;&lt;P&gt;RJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 02:12:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/problems-using-filter-with-latest-related-features/m-p/209826#M920</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2019-12-04T02:12:17Z</dc:date>
    </item>
  </channel>
</rss>

