POST
|
Hi, I'm using Qt 5.15.2 and Arcgis 100.10 and I'm seeing weird behaviour with WFS. It seems to work fine except it only ever shows a single feature. I can pan around the map and different features will be shown, but only ever one at a time. I have inserted a proxy server to check the traffic and have confirmed that the GetFeature calls are correct, and the responses are returning multiple features. The Arcgis sdk seems to be not parsing them, it's probably just taking the first one in the list only. Here is an example of what the response xml looks like, cut down to include just 2 features: <?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:PUBLIC_RT="www.lenv.be/public_rt" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" numberMatched="593509" numberReturned="20" timeStamp="2021-02-05T16:49:49.098Z" xsi:schemaLocation="http://www.opengis.net/wfs/2.0 https://geoservices.lenv.be/schemas/wfs/2.0/wfs.xsd www.lenv.be/public_rt https://geoservices.lenv.be/PUBLIC_RT/wfs?service=WFS&version=2.0.0&request=DescribeFeatureType&typeName=PUBLIC_RT%3ALBGEBRPERC_MOST_RECENT http://www.opengis.net/gml/3.2 https://geoservices.lenv.be/schemas/gml/3.2.1/gml.xsd">
<wfs:member>
<PUBLIC_RT:LBGEBRPERC_MOST_RECENT gml:id="LBGEBRPERC_MOST_RECENT.0000280A678906F3">
<PUBLIC_RT:GEOMETRY>
<gml:Polygon srsName="http://www.opengis.net/gml/srs/epsg.xml#31370" srsDimension="2" gml:id="LBGEBRPERC_MOST_RECENT.0000280A678906F3.GEOMETRY">
<gml:exterior>
<gml:LinearRing>
<gml:posList>65042.32 211708.22 65086.34 211592.1 65094.82 211598.22 65118 211609.5 65081.87 211721.51 65042.32 211708.22</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</PUBLIC_RT:GEOMETRY>
<PUBLIC_RT:OBJECTID>0000280A678906F3</PUBLIC_RT:OBJECTID>
<PUBLIC_RT:CROPGROUPNAME>Maïs</PUBLIC_RT:CROPGROUPNAME>
</PUBLIC_RT:LBGEBRPERC_MOST_RECENT>
</wfs:member>
<wfs:member>
<PUBLIC_RT:LBGEBRPERC_MOST_RECENT gml:id="LBGEBRPERC_MOST_RECENT.0000280A675A3F8A">
<PUBLIC_RT:GEOMETRY>
<gml:Polygon srsName="http://www.opengis.net/gml/srs/epsg.xml#31370" srsDimension="2" gml:id="LBGEBRPERC_MOST_RECENT.0000280A675A3F8A.GEOMETRY">
<gml:exterior>
<gml:LinearRing>
<gml:posList>178855.75 193488.19 178864.75 193462.69 178860.75 193444.19 178882.25 193424.69 178903.25 193432.69 178912.07 193433.88 178912.75 193434.13 178913.21 193434.3 178922.2 193435.46 178923.89 193435.47 178929.25 193436.19 178956.75 193463.19 178956.75 193474.69 178938.75 193484.19 178924.25 193515.69 178855.75 193488.19</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</PUBLIC_RT:GEOMETRY>
<PUBLIC_RT:OBJECTID>0000280A675A3F8A</PUBLIC_RT:OBJECTID>
<PUBLIC_RT:CROPGROUPNAME>Grasland</PUBLIC_RT:CROPGROUPNAME>
</PUBLIC_RT:LBGEBRPERC_MOST_RECENT>
</wfs:member>
</wfs:FeatureCollection> What can I do about this? Thanks for any help
... View more
3 weeks ago
|
0
|
0
|
60
|
POST
|
Hi, we need to show this feature layer but it seemed it just wasn't supported. Now that version 100.9 mentions supporting ogc we hoped it would work, but nothing shows up and there is still the same error. error code: 3007 error message: Shape type not supported in runtime geodatabase. additional message: empty wfs load status: failed to load Here's what we are trying to show: url: "https://geoservices.informatievlaanderen.be/overdrachtdiensten/Landbgebrperc/wfs?service=wfs&version=2.0.0&request=getcapabilities" tableName: "Landbgebrperc:Lbgebrperc" And here's an example of how the features are formatted: https://geoservices.informatievlaanderen.be/overdrachtdiensten/Landbgebrperc/wfs?service=wfs&request=GetFeature&typeNames=Landbgebrperc:Lbgebrperc&srsName=epsg:31370&bbox=180000,180000,181000,181000 Is this just not supported? FWIW loading this in an arcgis online map is not an issue. But we are making a Qt app and it has to work there. All help is greatly appreciated.
... View more
11-24-2020
01:20 PM
|
0
|
0
|
103
|
POST
|
The problem is I need to have this on android and ios. How do I do this on those platforms?
... View more
05-22-2020
06:06 AM
|
0
|
0
|
198
|
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|