-1
我想在QGIS中呈現ArcGIS WFS服務。通過無故障QGIS的,該服務是因爲第5 BBOX參數的失敗(金塔:OGC:DEF:CRS:EPSG :: 4326):QGIS - 從BBOX中消除srs?
https://canttouchthis/arcgis/services/CALIX_TEST/CALIX_ANNOTATIONS/MapServer/WFSServer?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&TYPENAMES=CALIX_TEST_CALIX_ANNOTATIONS:polygons&SRSNAME=urn:ogc:def:crs:EPSG::4326&BBOX=4324959.29130463115870953,-12827075.77402532286942005,4325046.08483351208269596,-12826893.6371572520583868,urn:ogc:def:crs:EPSG::4326 - server replied: Bad Request
當我刪除,urn:ogc:def:crs:EPSG::4326
它工作正常 - ESRI WFS ISN沒有配備處理它:
<![CDATA[
KVP parser : parameter 'bbox' '4324959.29130463115870953,-12827075.77402532286942005,4325046.08483351208269596,-12826893.6371572520583868,urn:ogc:def:crs:EPSG::432' not recognized.
]]>
一旦我刪除第五個參數,我得到所需的功能數據。
問題: QGIS可以配置爲不在bbox中提供srs嗎?
答案:提供一個過濾器(例如1 = 1)。
答案似乎是:https://github.com/ccrook/Quantum-GIS/blob/master/python/ext-libs/owslib/feature/__init__.py –