<?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: StreamLayer for Runtime for Qt in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1066418#M4233</link>
    <description>&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;We are developing a Decision Support System based on an Android client application that we intend to be offline-enabled (through a local sync-enabled file geodatabase that syncs with a Feature Service), but also with a real-time component where we are exploring the use of GeoEvent or a similar product.&lt;/P&gt;&lt;P&gt;We already developed a simple prototype (without the real-time component) but are still exploring the capabilities of ESRI products to decide the best approach.&lt;/P&gt;&lt;P&gt;Unfortunately, it is looking like the Runtime has some limitations such as not being able to cluster multiple points and now not allowing to add stream layers to visualize real-time data streams.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2021 15:25:14 GMT</pubDate>
    <dc:creator>maglourenco</dc:creator>
    <dc:date>2021-06-09T15:25:14Z</dc:date>
    <item>
      <title>StreamLayer for Runtime for Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1066366#M4230</link>
      <description>&lt;P&gt;Greetings everyone,&lt;/P&gt;&lt;P&gt;I would like to ask if StreamLayers are available for Runtime for Qt.&lt;/P&gt;&lt;P&gt;I would like to integrate GeoEvent into a mobile app to be potentially developed using Qt.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 14:04:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1066366#M4230</guid>
      <dc:creator>maglourenco</dc:creator>
      <dc:date>2021-06-09T14:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: StreamLayer for Runtime for Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1066384#M4231</link>
      <description>&lt;P&gt;StreamLayers are not currently supported in any of the Runtime SDKs, but we are planning to add support in an upcoming release. Could you provide some details about your organization/project/workflow? Feel free to direct message me with this info if you prefer. I can add this info to our internal epic to help raise the priority of the feature.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 14:29:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1066384#M4231</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-06-09T14:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: StreamLayer for Runtime for Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1066418#M4233</link>
      <description>&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;We are developing a Decision Support System based on an Android client application that we intend to be offline-enabled (through a local sync-enabled file geodatabase that syncs with a Feature Service), but also with a real-time component where we are exploring the use of GeoEvent or a similar product.&lt;/P&gt;&lt;P&gt;We already developed a simple prototype (without the real-time component) but are still exploring the capabilities of ESRI products to decide the best approach.&lt;/P&gt;&lt;P&gt;Unfortunately, it is looking like the Runtime has some limitations such as not being able to cluster multiple points and now not allowing to add stream layers to visualize real-time data streams.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 15:25:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1066418#M4233</guid>
      <dc:creator>maglourenco</dc:creator>
      <dc:date>2021-06-09T15:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: StreamLayer for Runtime for Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1066666#M4234</link>
      <description>&lt;P&gt;Good info. Thank you for the details. The StreamLayer limitation could theoretically be temporarily worked around by using a QWebSocket and hooking up to the signals to see when messages are received from the server. This info should contain JSON with the info you would need to create a new Graphic object and place it in the correct location. I tested this many years ago and it worked pretty well with the QML WebSocket type, but unfortunately I haven't tested it recently nor do I have an example to share at the moment.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 21:23:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1066666#M4234</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-06-09T21:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: StreamLayer for Runtime for Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1066913#M4237</link>
      <description>&lt;P&gt;That's a great idea, does that work like a Webhook or is it periodically polling the server? And that is applied to GeoEvent correct? Can it be implemented with AGOL Feature Services too?&lt;/P&gt;&lt;P&gt;Also, do you know if there is any equivalent component or API method on the Runtime SDK for Android?&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 14:52:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1066913#M4237</guid>
      <dc:creator>maglourenco</dc:creator>
      <dc:date>2021-06-10T14:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: StreamLayer for Runtime for Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1067078#M4246</link>
      <description>&lt;P&gt;The stream service will have a "subscribe" endpoint. Once you make a connection, you will be subscribed and changes will be pushed down from the service. This differs from a standard http feature service, where you need to explicitly send a request and get a response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is some example code in QML, where once active, text messages (JSON) gets pumped through:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import QtQuick 2.6
import QtQuick.Controls 2.2
import Esri.ArcGISRuntime 100.11
import Qt.WebSockets 1.15

ApplicationWindow {
    id: appWindow
    width: 800
    height: 600
    title: "MapStressTest"

    MapView {
        anchors.fill: parent

        Map {
            BasemapTopographicVector{}
        }

        GraphicsOverlay {
            id: go
            SimpleRenderer {
                SimpleMarkerSymbol {
                    color: "red"
                    size: 12
                    style: Enums.SimpleMarkerSymbolStyleCircle
                }
            }
        }
    }

    WebSocket {
        active: true
        url: "wss://&amp;lt;path_to_stream_service&amp;gt;/StreamServer/subscribe"

        onTextMessageReceived: {
            const feat = JSON.parse(message);
            const geometry = ArcGISRuntimeEnvironment.createObject("Point", {
                                                                      x: feat["geometry"]["x"],
                                                                      y: feat["geometry"]["y"],
                                                                      spatialReference: Factory.SpatialReference.createWgs84()
                                                                  });
            const graphic = ArcGISRuntimeEnvironment.createObject("Graphic", {
                                                                      geometry: geometry
                                                                  });
            go.graphics.append(graphic)
        }
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not certain on your question about Android, but I would be very surprised if the Android SDK (the Google SDK, not Esri's Runtime SDK) did not contain a similar web socket API. This should be a pretty standard networking capability for most frameworks to support whether Qt, .NET, iOS, Android, Java, etc.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 19:49:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1067078#M4246</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-06-10T19:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: StreamLayer for Runtime for Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1068390#M4260</link>
      <description>&lt;P&gt;Thank you very much Lucas!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 14:57:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/streamlayer-for-runtime-for-qt/m-p/1068390#M4260</guid>
      <dc:creator>maglourenco</dc:creator>
      <dc:date>2021-06-15T14:57:33Z</dc:date>
    </item>
  </channel>
</rss>

