<?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: Receiving coordinates over TCP/IP stack in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/receiving-coordinates-over-tcp-ip-stack/m-p/531548#M2685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I see! There's no arbitrary TCP packet read provided by ArcGIS itself. Normally you would be expected to utilize a well known format/service like a ServiceFeatureTable, WFS Service, or use KML Network links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having said that, Qt itself provides &lt;A href="https://doc.qt.io/qt-5/qtcpsocket.html"&gt;QTcpSocket&lt;/A&gt; and&amp;nbsp;&lt;A href="https://doc.qt.io/qt-5/qsctpsocket.html"&gt;QSctpSocket&lt;/A&gt;. You can set up a socket to listen for incoming packets using "bind" or "connectToHost". Then if you connect a callback to the inherited signal &lt;A href="https://doc.qt.io/qt-5/qiodevice.html#readyRead"&gt;QIODevice::readyRead&lt;/A&gt;, you would then be able to react asynchornously to incoming data by parsing the incoming packet and inserting a point into the GraphicsOverlay or FeatureTable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2020 11:46:03 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-06-23T11:46:03Z</dc:date>
    <item>
      <title>Receiving coordinates over TCP/IP stack</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/receiving-coordinates-over-tcp-ip-stack/m-p/531545#M2682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an application which is calculating coordinates and I need some asynchronous service which will receive calculated locations over TCP/IP stack and display a marker on my map. Seems like a simple task, but I am having trouble finding suitable functionality in ArcGIS QT runtime cpp API (100.8.0).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2020 10:36:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/receiving-coordinates-over-tcp-ip-stack/m-p/531545#M2682</guid>
      <dc:creator>DejanBordjoski</dc:creator>
      <dc:date>2020-06-22T10:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving coordinates over TCP/IP stack</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/receiving-coordinates-over-tcp-ip-stack/m-p/531546#M2683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the easiest solution would be to convert your incoming point data to Point objects, and then add those objects to a GraphicsOverlay. Here's a sample from the samples repo on how to render points programmatically:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-qt/tree/master/ArcGISRuntimeSDKQt_CppSamples/DisplayInformation/GOSymbols" title="https://github.com/Esri/arcgis-runtime-samples-qt/tree/master/ArcGISRuntimeSDKQt_CppSamples/DisplayInformation/GOSymbols"&gt;arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_CppSamples/DisplayInformation/GOSymbols at master · Esri/arcgis-runtime-sam…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2020 14:18:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/receiving-coordinates-over-tcp-ip-stack/m-p/531546#M2683</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-06-22T14:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving coordinates over TCP/IP stack</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/receiving-coordinates-over-tcp-ip-stack/m-p/531547#M2684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Problem is my application needs to run in real-time, "service" should trigger every time I receive new coordinates. I am not sure how to update my GraphicsOverlay every few milliseconds.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the provided ArcGIS samples I could only find something like &lt;EM&gt;ProjectGeometry::onMouseClicked(QMouseEvent&amp;amp; event)&lt;/EM&gt; method, which will update GraphicsOverlay on a mouse click. Or with &lt;EM&gt;DisplayDeviceLocation::startLocationDisplay()&lt;/EM&gt; method you can update graphics according to the devices GPS sensor reading. I would like to do something similar to this but my method needs to trigger on received TCP packages.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 08:48:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/receiving-coordinates-over-tcp-ip-stack/m-p/531547#M2684</guid>
      <dc:creator>DejanBordjoski</dc:creator>
      <dc:date>2020-06-23T08:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving coordinates over TCP/IP stack</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/receiving-coordinates-over-tcp-ip-stack/m-p/531548#M2685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I see! There's no arbitrary TCP packet read provided by ArcGIS itself. Normally you would be expected to utilize a well known format/service like a ServiceFeatureTable, WFS Service, or use KML Network links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having said that, Qt itself provides &lt;A href="https://doc.qt.io/qt-5/qtcpsocket.html"&gt;QTcpSocket&lt;/A&gt; and&amp;nbsp;&lt;A href="https://doc.qt.io/qt-5/qsctpsocket.html"&gt;QSctpSocket&lt;/A&gt;. You can set up a socket to listen for incoming packets using "bind" or "connectToHost". Then if you connect a callback to the inherited signal &lt;A href="https://doc.qt.io/qt-5/qiodevice.html#readyRead"&gt;QIODevice::readyRead&lt;/A&gt;, you would then be able to react asynchornously to incoming data by parsing the incoming packet and inserting a point into the GraphicsOverlay or FeatureTable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 11:46:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/receiving-coordinates-over-tcp-ip-stack/m-p/531548#M2685</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-06-23T11:46:03Z</dc:date>
    </item>
  </channel>
</rss>

