<div dir="ltr"><div>Ok thanks very much for checking and sharing that helpful plugin. <br></div><div><br></div><div>In the interest of time I'm not going to get into investigating any problems there might be server side. <br></div><div><br></div><div>Just wanted to be sure I wasn't making a mistake on my end in QGIS. <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 26, 2022 at 10:06 AM Ian Turton <<a href="mailto:ijturton@gmail.com">ijturton@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>It looks like they have set a proxy url in the global settings</div><div><br></div><div><ows:Operation name="DescribeFeatureType"><br><ows:DCP><br><ows:HTTP><br><ows:Get xlink:href="<a href="https://gis.drcog.org/wfs" target="_blank">https://gis.drcog.org/wfs</a>"/><br><ows:Post xlink:href="<a href="https://gis.drcog.org/wfs" target="_blank">https://gis.drcog.org/wfs</a>"/><br></ows:HTTP><br></ows:DCP></div><div><br></div><div>But that URL doesn't answer requests (curl '<a href="https://gis.drcog.org/wfs?SERVICE=WFS&REQUEST=DescribeFeatureType&VERSION=2.0.0&TYPENAMES=DRCOGPUB:bridges_low_clearance&TYPENAME=DRCOGPUB:bridges_low_clearance" target="_blank">https://gis.drcog.org/wfs?SERVICE=WFS&REQUEST=DescribeFeatureType&VERSION=2.0.0&TYPENAMES=DRCOGPUB:bridges_low_clearance&TYPENAME=DRCOGPUB:bridges_low_clearance</a>' -H 'User-Agent: Mozilla/5.0 QGIS/32203' --compressed) - I can highly recommend the QGIS Network Logger plugin to investigate this sort of issue. <br></div><div><br></div><div>While <a href="https://gis.drcog.org/geoserver/ows?service=wfs&REQUEST=DescribeFeatureType&VERSION=2.0.0&TYPENAMES=DRCOGPUB:bridges_low_clearance&TYPENAME=DRCOGPUB:bridges_low_clearance" target="_blank">https://gis.drcog.org/geoserver/ows?service=wfs&REQUEST=DescribeFeatureType&VERSION=2.0.0&TYPENAMES=DRCOGPUB:bridges_low_clearance&TYPENAME=DRCOGPUB:bridges_low_clearance</a><b> </b>does work there's no easy way to get QGis to use this URL. <br></div><div>It's odd that the WFS connection manager lacks the `ignore URL in capabilities` option that WMS has that would let you get around this sort of misconfigured server. <br></div><div><br></div><div>I've copied in the contact from the capabilities doc in the hope they can fix it.</div><div><br></div><div>Ian<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 26 Jan 2022 at 13:41, Hugh Kelley <<a href="mailto:hghklly@gmail.com" target="_blank">hghklly@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all, <br></div><div><br></div><div>hoping I'm missing something as I'm trying to pull data from a geoserver [0] into QGIS and eventually grab it with ogr2ogr. <br></div><div><br></div><div>I've tried following these instructions [1], but haven't figured out what I'm doing wrong and they're fairly old. <br></div><div><br></div><div>The latest geoserver WFS version available from that endpoint is 2.0. Is it possible that version is too old for compatibility with QGIS 3.20.3?</div><div><br></div><div>Maybe there's a setting I'm missing when adding the WFS or that it's not a WFS that I should be adding? <br></div><div><br></div><div>when i try to add a dataset the datasource manager gives the error:</div><div><br></div><div>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-weight:600">Layer is not valid: </span>The layer pagingEnabled='false' preferCoordinatesForWfsT11='false' srsname='EPSG:6428' typename='DRCOGPUB:rtd_brt_network' url='<a href="https://gis.drcog.org/geoserver/ows" target="_blank">https://gis.drcog.org/geoserver/ows</a>' url='<a href="https://gis.drcog.org/geoserver/ows?version=2.0.0" target="_blank">https://gis.drcog.org/geoserver/ows?version=2.0.0</a>' version='2.0.0' is not a valid layer and can not be added to the map. Reason: </p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">(end of error message, the "reason" is left blank)<br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">to me that looks as though the url is being built incorrectly. </p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">when I paste: </p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><a href="https://gis.drcog.org/geoserver/ows?service=wfs&version=2.0.0&request=GetCapabilities" target="_blank">https://gis.drcog.org/geoserver/ows?service=wfs&version=2.0.0&request=GetCapabilities</a></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">into the url box, QGIS is switching that to :</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><a href="https://gis.drcog.org/geoserver/ows?version=2.0.0" target="_blank">https://gis.drcog.org/geoserver/ows?version=2.0.0</a></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">thanks for any thoughts or suggestions. I was pleased to see an organization using open source instead of the esri cloud services that I see more frequently so hopefully this is something I can figure out. </p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Hugh<br></p></div><div><br></div><div><br></div><div><br></div><div>[0]: <a href="https://gis.drcog.org/geoserver/web/" target="_blank">https://gis.drcog.org/geoserver/web/</a></div>[1]: <a href="https://www.lifeingis.com/adding-layers-from-geoserver-in-qgis/" target="_blank">https://www.lifeingis.com/adding-layers-from-geoserver-in-qgis/</a><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Hugh Kelley <br><div><br></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr">Ian Turton<br></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Hugh Kelley <br><div><br></div></div></div></div></div></div></div></div>