On mardi 3 décembre 2019 17:25:20 CET Stefan Keller wrote: > Hi, > We're implementing a minimal server of an "OGC API - Features" service > and test it with a reader driver of "OGC API - Features" [1] (ogrinfo, > ogr2ogr, QGIS). We're getting ERROR 404 with "ogrinfo > WFS3:127.0.0.1:8000 <ourlayer>" [2] obviously because some discovery > paths are not implemented at server side. > > Now, my question is: What are the endpoints really required by the OGR > reader driver? /api ?
Source is there: https://github.com/OSGeo/gdal/blob/master/gdal/ogr/ogrsf_frmts/wfs/ogroapifdriver.cpp Master implements the final spec: http://docs.opengeospatial.org/is/17-069r3/17-069r3.html (there have been changes w.r.t earlier drafts) From my memories, the OGR driver needs: - Landing page: required - /collections: required - /collections/{collectioname}/items: required - /api (actually link provided in Landing page): optional - /conformance: not used You can enable --config CPL_DEBUG ON --config CPL_CURL_VERBOSE YES to see which network requests are attempted (some may be attempted and if the server doesn't implement them, execution can continue -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
