<?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: Query an ArcGisDynamicMapServiceLayer in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710010#M3620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tried a QueryTask with tha data of the shapefile in an mpk-File and it works, so I'll be missing something!?&lt;/P&gt;&lt;P&gt;Queried the shapefile using gdal-api for now (bit ugly) but it seams to work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Apr 2016 14:40:56 GMT</pubDate>
    <dc:creator>DanielBachmann1</dc:creator>
    <dc:date>2016-04-22T14:40:56Z</dc:date>
    <item>
      <title>Query an ArcGisDynamicMapServiceLayer</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710007#M3617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I created an ArcGisDynamicMapServiceLayer on a local map service and opened a shapefile. Is it possible to query the attributes of this layer? I set a DefinitionExpression through DynamicLayerInfo but how can I access the attributes of the visible features?&lt;/P&gt;&lt;P&gt;Using a QueryTask always results in 0 features, I used the blocking and non blocking methods. Are querys on local services not allowed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 17:31:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710007#M3617</guid>
      <dc:creator>DanielBachmann1</dc:creator>
      <dc:date>2016-04-18T17:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Query an ArcGisDynamicMapServiceLayer</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710008#M3618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A QueryTask should work just fine. If you print out the URL to your local service once it starts, you should be able to see it in the browser, and execute a query from there as well. Are you making sure to point the url to the individual layer, and not the root of the service?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 20:42:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710008#M3618</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-04-18T20:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Query an ArcGisDynamicMapServiceLayer</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710009#M3619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order to add the shapefile to the local service, I created an mpk-File "blank.mpk" with ArcMap which includes only an empty Polyline-Shapefile. As shown in the examples, I added the shapefile to the associated ArcGisDynamicMapServiceLayer (after modifying the dynamic workspaces) like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080;"&gt;EsriRuntimeQt&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;SimpleRenderer&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;simpleRenderer&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;simpleRenderer&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;EsriRuntimeQt&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;SimpleRenderer&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;EsriRuntimeQt&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;SimpleLineSymbol&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;QColor&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;100&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;250&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;3.0&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;EsriRuntimeQt&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;DrawingInfo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;drawingInfo&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;EsriRuntimeQt&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;DrawingInfo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;simpleRenderer&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;20&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;layerInfo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;setDrawingInfo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;drawingInfo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #008000;"&gt;//&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;Create&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;the&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;source&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #800080;"&gt;EsriRuntimeQt&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;TableDataSource&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;dataSource&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;EsriRuntimeQt&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;TableDataSource&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);
&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;dataSource&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;setWorkspaceId&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_workspaceId&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);
&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;dataSource&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;setDataSourceName&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_dataSourceFileName&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #008000;"&gt;//&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;the&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;source&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #800080;"&gt;EsriRuntimeQt&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;LayerDataSource&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;layerDataSource&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;EsriRuntimeQt&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;LayerDataSource&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);
&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;layerDataSource&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;setDataSource&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;dataSource&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);
&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;layerInfo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;setLayerSource&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;layerDataSource&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);
&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;layerInfo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;setDefinitionExpression&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_queryString&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);
&lt;SPAN style="color: #800000;"&gt;m_dynamicLocalServiceLayer2&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: italic; color: #000000;"&gt;refresh&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;();&lt;/SPAN&gt;

&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;After this the Polylines from the shapefile are drawn, but the url shows the old attributes of the "blank.mpk"! A query on that empty package will always return zero results...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 06:26:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710009#M3619</guid>
      <dc:creator>DanielBachmann1</dc:creator>
      <dc:date>2021-12-12T06:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Query an ArcGisDynamicMapServiceLayer</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710010#M3620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tried a QueryTask with tha data of the shapefile in an mpk-File and it works, so I'll be missing something!?&lt;/P&gt;&lt;P&gt;Queried the shapefile using gdal-api for now (bit ugly) but it seams to work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 14:40:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710010#M3620</guid>
      <dc:creator>DanielBachmann1</dc:creator>
      <dc:date>2016-04-22T14:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Query an ArcGisDynamicMapServiceLayer</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710011#M3621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more thing to try. In your Query object (that you will pass into the Query Task), can you try calling setDynamicLayerInfo (&lt;A href="https://developers.arcgis.com/qt/cpp/api-reference/class_esri_runtime_qt_1_1_query.html#a7b9e2ee82206ac225c83826115176fdc" title="https://developers.arcgis.com/qt/cpp/api-reference/class_esri_runtime_qt_1_1_query.html#a7b9e2ee82206ac225c83826115176fdc"&gt;ArcGIS Runtime SDK for Qt C++ API: EsriRuntimeQt::Query Class Reference)).&lt;/A&gt; Then, pass in a DynamicLayerInfo created from your LayerSource. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 16:49:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710011#M3621</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-04-22T16:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Query an ArcGisDynamicMapServiceLayer</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710012#M3622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Used the code below, but again only the empty layer in the mpk-File is queried not the one loaded from the shapefile. If queried for the field "id" set-&amp;gt;count() is 0. A query for a field which is only defined in the shapefile restults in (set == NULL).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080;"&gt;EsriRuntimeQt&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;Query&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;query&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;query&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;setWhere&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"id&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;0"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;query&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;setDynamicLayerInfo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;layerInfo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;m_queryTask&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;EsriRuntimeQt&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;QueryTask&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_dynamicLocalServiceLayer2&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: italic; color: #000000;"&gt;url&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;()+&lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"/0"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080;"&gt;EsriRuntimeQt&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;FeatureSet&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_queryTask&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;executeAndWait&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;query&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808000;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; qDebug&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;()&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 13:28:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710012#M3622</guid>
      <dc:creator>DanielBachmann1</dc:creator>
      <dc:date>2016-04-25T13:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Query an ArcGisDynamicMapServiceLayer</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710013#M3623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try setting your where clause to "1=1" to see if you can get anything/everything back?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 16:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710013#M3623</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-04-25T16:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Query an ArcGisDynamicMapServiceLayer</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710014#M3624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Query "1=1" returns no results, which means (set != 0), but (set-&amp;gt;count() == 0). Which is only correct for the "empty" mpk-File before adding the shapefile dynamically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 17:24:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710014#M3624</guid>
      <dc:creator>DanielBachmann1</dc:creator>
      <dc:date>2016-04-25T17:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Query an ArcGisDynamicMapServiceLayer</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710015#M3625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luke,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found some time to make a minimal example using only files from the sdk samples. Maybe this will leads to new insights &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kr,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 16:20:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/query-an-arcgisdynamicmapservicelayer/m-p/710015#M3625</guid>
      <dc:creator>DanielBachmann1</dc:creator>
      <dc:date>2016-05-03T16:20:28Z</dc:date>
    </item>
  </channel>
</rss>

