Hi,
We are running GeoServer 2.27.1 and have added OGC API Feature extension.
The page looks ok: https://paituli.csc.fi/geoserver/ogc/features/v1
But QGIS only manages to get the list of layers. Layer listing is for some reason only very slow.
Adding any layer to the map results in:
Layer data source could not be found.
It seems that QGIS tries to guess API version and makes a request to:
https://paituli-test.csc.fi/geoserver/ogc/features/v1/openapi?f=application%2Fvnd.oai.openapi%2Bjson%3Bversion%3D3.0
But that does not give any reasonable reply.
https://paituli-test.csc.fi/geoserver/ogc/features/v1/openapi is already broken.
I wonder if we have some settings off in our installation or is it some more general problem? Or if somebody would know some workaround for this.
I tried also 2.28.1. There error message to openapi call is different, but it does not work neither.
***
With GDAL command-line it gives error about openapi, but then continues to get the data.
ogrinfo OAPIF:``https://paituli.csc.fi/geoserver/ogc/features/v1/`` paituli:tike_vaki1km_2024 -fid 1
INFO: Open of OAPIF:https://paituli.csc.fi/geoserver/ogc/features/v1/' using driver OAPIF’ successful.
ERROR 1: HTTP error code : 500
ERROR 1: HTTP error code : 500, {“code”:“NoApplicableCode”,“description”:“java.lang.NullPointerException”}
(Continued by normal output.)
With 2.28.1 the error code is different:
ERROR 1: HTTP error code : 500, {“code”:“NoApplicableCode”,“description”:“Could not find path item /collections/{collectionId}/tiles/{tileMatrixSetId}/{tileMatrix}/{tileRow}/{tileCol}”}
***
The same layers work via WFS.
Kylli Ek