<?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: Add WFS layer from GeoServer in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/add-wfs-layer-from-geoserver/m-p/68634#M343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're not using it anymore so I'm not in need of this right now. Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2020 20:00:00 GMT</pubDate>
    <dc:creator>ViníciusCosta</dc:creator>
    <dc:date>2020-05-13T20:00:00Z</dc:date>
    <item>
      <title>Add WFS layer from GeoServer</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/add-wfs-layer-from-geoserver/m-p/68631#M340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I've been trying to create a sample application that uses a WFS layer from a locally hosted GeoServer but I can't figure it out how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to use a WMS service with the following code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;   &lt;/SPAN&gt;WmsLayer&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;          &lt;/SPAN&gt;url:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"http://localhost:8080/geoserver/wms"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;           &lt;/SPAN&gt;layerNames:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;[&lt;SPAN style="color: #008000;"&gt;"Test:tbl_furos_coordenadas_2"&lt;/SPAN&gt;]&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;          &lt;/SPAN&gt;}

And I've tried this to WFS but to no avail:

&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;FeatureLayer&lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;id&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;gtLayer&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"Test&lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;WfsFeatureTable&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                    &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;id&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;gtTable&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                    &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;url&lt;/SPAN&gt;:&lt;SPAN style="color: #008000;"&gt;"http://localhost:8080/geoserver/Test/wfs"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                    &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;tableName&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"tbl_furos_coordenadas_2"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                    &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;featureRequestMode&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;Enums&lt;/SPAN&gt;.FeatureRequestModeManualCache&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: #c0c0c0;"&gt;                    &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;onLoadStatusChanged&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                        &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;(&lt;SPAN&gt;loadStatus&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;!==&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;Enums&lt;/SPAN&gt;.LoadStatusLoaded)&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                            &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;return&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;SPAN style="color: #c0c0c0;"&gt;                        &lt;/SPAN&gt;&lt;SPAN&gt;populateWfsFeatureTable&lt;/SPAN&gt;();&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                    &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;                &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;But nothing happens. Is there something I'm missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 15:59:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/add-wfs-layer-from-geoserver/m-p/68631#M340</guid>
      <dc:creator>ViníciusCosta</dc:creator>
      <dc:date>2021-12-12T15:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Add WFS layer from GeoServer</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/add-wfs-layer-from-geoserver/m-p/68632#M341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try out this sample?&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-qt/blob/master/ArcGISRuntimeSDKQt_QMLSamples/Layers/DisplayWfsLayer/DisplayWfsLayer.qml" title="https://github.com/Esri/arcgis-runtime-samples-qt/blob/master/ArcGISRuntimeSDKQt_QMLSamples/Layers/DisplayWfsLayer/DisplayWfsLayer.qml" rel="nofollow noopener noreferrer" target="_blank"&gt;arcgis-runtime-samples-qt/DisplayWfsLayer.qml at master · Esri/arcgis-runtime-samples-qt · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you swap out the url and tableName, it should work. If it doesn't perhaps the URL is formatted wrong? I also notice you are setting the FeatureLayer.name property, but that is read-only (&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-layercontent.html#name-prop" title="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-layercontent.html#name-prop" rel="nofollow noopener noreferrer" target="_blank"&gt;LayerContent QML Type | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you connect to the&amp;nbsp;errorChanged&amp;nbsp;signal and see if you get any errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;WfsFeatureTable &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    onErrorChanged&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;error&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;message&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; error&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;additionalMessage&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

FeatureLayer &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    onErrorChanged&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;error&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;message&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; error&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;additionalMessage&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:37:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/add-wfs-layer-from-geoserver/m-p/68632#M341</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-12-10T22:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add WFS layer from GeoServer</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/add-wfs-layer-from-geoserver/m-p/68633#M342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late answer, I'm gonna try this, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2020 15:06:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/add-wfs-layer-from-geoserver/m-p/68633#M342</guid>
      <dc:creator>ViníciusCosta</dc:creator>
      <dc:date>2020-05-02T15:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add WFS layer from GeoServer</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/add-wfs-layer-from-geoserver/m-p/68634#M343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're not using it anymore so I'm not in need of this right now. Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2020 20:00:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/add-wfs-layer-from-geoserver/m-p/68634#M343</guid>
      <dc:creator>ViníciusCosta</dc:creator>
      <dc:date>2020-05-13T20:00:00Z</dc:date>
    </item>
  </channel>
</rss>

