<?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: WMS GetFeautureInfo  - ArcGIS Maps SDK for Qt C++ in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/wms-getfeautureinfo-arcgis-maps-sdk-for-qt-c/m-p/1409841#M5195</link>
    <description>&lt;P&gt;To call GetFeatureInfo command, you would use&amp;nbsp;&lt;A href="https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-geoview.html#identifyLayerAsync" target="_self"&gt;identifyLayerAsync(...)&lt;/A&gt;&amp;nbsp;operation on the MapView.&amp;nbsp; The steps are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a&amp;nbsp;&lt;A href="https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-wmslayer.html" target="_self"&gt;WMSLayer&lt;/A&gt;&amp;nbsp;with a URL.&lt;/LI&gt;&lt;LI&gt;Set the &lt;A href="https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-wmslayer.html#customParameters" target="_self"&gt;custom parameters&lt;/A&gt;.&amp;nbsp;These will be sent with every GetMap and GetFeatureInfo request.&lt;/LI&gt;&lt;LI&gt;Add layer to your Map, load it, and display it in a MapView&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Call identifyLayersAsync on the MapView -- this is often connected to&amp;nbsp;mouseClicked signals to get the clicked position.&amp;nbsp; This will issue a GetFeatureInfo request for the layer.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Currently, the only supported info format is "text/html".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The completed future will have a&amp;nbsp;&lt;A href="https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-identifylayerresult.html" target="_self"&gt;IdentifyLayerResult&lt;/A&gt; containing a&amp;nbsp;&lt;A href="https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-wmsfeature.html" target="_self"&gt;WMSFeature&lt;/A&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Use the "HTML" attribute on the WMSFeature to retrieve this information as returned by the service.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;The Geometry property is not implemented yet, and will always return null.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2024 17:35:24 GMT</pubDate>
    <dc:creator>MatveiStefarov</dc:creator>
    <dc:date>2024-04-15T17:35:24Z</dc:date>
    <item>
      <title>WMS GetFeautureInfo  - ArcGIS Maps SDK for Qt C++</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/wms-getfeautureinfo-arcgis-maps-sdk-for-qt-c/m-p/1409222#M5194</link>
      <description>&lt;P&gt;Hi to all, I need to send a WMS GetFeatureInfo command to get information from a WMS server.&lt;/P&gt;&lt;P&gt;Which is the method that I need to call, using ArcGIS MAP QT SDK C++, to pack and send my request ?&lt;/P&gt;&lt;P&gt;I need also to add some custom parameters to request.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 20:35:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/wms-getfeautureinfo-arcgis-maps-sdk-for-qt-c/m-p/1409222#M5194</guid>
      <dc:creator>Tsub4sa80</dc:creator>
      <dc:date>2024-04-12T20:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: WMS GetFeautureInfo  - ArcGIS Maps SDK for Qt C++</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/wms-getfeautureinfo-arcgis-maps-sdk-for-qt-c/m-p/1409841#M5195</link>
      <description>&lt;P&gt;To call GetFeatureInfo command, you would use&amp;nbsp;&lt;A href="https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-geoview.html#identifyLayerAsync" target="_self"&gt;identifyLayerAsync(...)&lt;/A&gt;&amp;nbsp;operation on the MapView.&amp;nbsp; The steps are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a&amp;nbsp;&lt;A href="https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-wmslayer.html" target="_self"&gt;WMSLayer&lt;/A&gt;&amp;nbsp;with a URL.&lt;/LI&gt;&lt;LI&gt;Set the &lt;A href="https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-wmslayer.html#customParameters" target="_self"&gt;custom parameters&lt;/A&gt;.&amp;nbsp;These will be sent with every GetMap and GetFeatureInfo request.&lt;/LI&gt;&lt;LI&gt;Add layer to your Map, load it, and display it in a MapView&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Call identifyLayersAsync on the MapView -- this is often connected to&amp;nbsp;mouseClicked signals to get the clicked position.&amp;nbsp; This will issue a GetFeatureInfo request for the layer.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Currently, the only supported info format is "text/html".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The completed future will have a&amp;nbsp;&lt;A href="https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-identifylayerresult.html" target="_self"&gt;IdentifyLayerResult&lt;/A&gt; containing a&amp;nbsp;&lt;A href="https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-wmsfeature.html" target="_self"&gt;WMSFeature&lt;/A&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Use the "HTML" attribute on the WMSFeature to retrieve this information as returned by the service.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;The Geometry property is not implemented yet, and will always return null.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 17:35:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/wms-getfeautureinfo-arcgis-maps-sdk-for-qt-c/m-p/1409841#M5195</guid>
      <dc:creator>MatveiStefarov</dc:creator>
      <dc:date>2024-04-15T17:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: WMS GetFeautureInfo  - ArcGIS Maps SDK for Qt C++</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/wms-getfeautureinfo-arcgis-maps-sdk-for-qt-c/m-p/1413139#M5198</link>
      <description>&lt;P&gt;Thank you for your reply&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/256344"&gt;@MatveiStefarov&lt;/a&gt;&amp;nbsp;. I haven't tested your solution yet . I will try and provide a feedback asap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2024 12:56:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/wms-getfeautureinfo-arcgis-maps-sdk-for-qt-c/m-p/1413139#M5198</guid>
      <dc:creator>Tsub4sa80</dc:creator>
      <dc:date>2024-04-21T12:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: WMS GetFeautureInfo  - ArcGIS Maps SDK for Qt C++</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/wms-getfeautureinfo-arcgis-maps-sdk-for-qt-c/m-p/1414815#M5202</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/256344"&gt;@MatveiStefarov&lt;/a&gt;&amp;nbsp; &lt;SPAN&gt;I have implemented what you suggested, and as a response from the server, I got the following message: 'The request is for a service type not offered by the server' caused by a ServiceException.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I suppose that the problem is on the configuration of the custom parameters. I'm right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I need to send a request like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://localhost:8080/?SERVICE=WMS&amp;amp;VERSION=1.3.0&amp;amp;REQUEST=GetFeatureInfo&amp;amp;LAYERS=ENC&amp;amp;QUERY_LAYERS=ENC&amp;amp;I=500&amp;amp;J=500&amp;amp;CRS=EPSG:4326&amp;amp;VIEWPORT=2.956,3.886,0,,10000&amp;amp;WIDTH=1920&amp;amp;HEIGHT=1200&amp;amp;Info_FORMAT=text/html" target="_blank" rel="noopener"&gt;http://localhost:8080/?SERVICE=WMS&amp;amp;VERSION=1.3.0&amp;amp;REQUEST=GetFeatureInfo&amp;amp;LAYERS=ENC&amp;amp;QUERY_LAYERS=ENC&amp;amp;I=500&amp;amp;J=500&amp;amp;CRS=EPSG:4326&amp;amp;VIEWPORT=2.956,3.886,0,,10000&amp;amp;WIDTH=1920&amp;amp;HEIGHT=1200&amp;amp;Info_FORMAT=text/html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;which kind of custom parameters I need to set?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 21:19:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/wms-getfeautureinfo-arcgis-maps-sdk-for-qt-c/m-p/1414815#M5202</guid>
      <dc:creator>Tsub4sa80</dc:creator>
      <dc:date>2024-04-25T21:19:42Z</dc:date>
    </item>
  </channel>
</rss>

