[QGIS-Developer] no collections displayed in wfs3

Paul van Genuchten paul.vangenuchten at geocat.net
Fri Jun 18 01:26:23 PDT 2021


Hi Alessandro, thank for your reply

We pass in the project file location using environment variable (as suggested by https://github.com/camptocamp/docker-qgis-server <https://github.com/camptocamp/docker-qgis-server>)

    environment:
      - QGIS_PROJECT_FILE:/myqgisserver/project.qgs

But also used the default location for that image

/etc/qgisserver/project.qgs

But thanks for the hints, i’ll look a bit more on that side



Kind regards,

Paul van Genuchten
GeoCat BV, Bennekom, the Netherlands

Mon & wed 8.30-17.30 CET
Tue, thu & fri 8:30-13:30 CET 







> On 18 Jun 2021, at 10:17, Alessandro Pasotti <apasotti at gmail.com> wrote:
> 
> 
> 
> On Fri, Jun 18, 2021 at 9:57 AM Paul van Genuchten <paul.vangenuchten at geocat.net <mailto:paul.vangenuchten at geocat.net>> wrote:
> Hi list, At Geonovum (netherlands) we’re operating an environment to study a number of OGC API Features implementations.
> 
> We’ve aded qgis server from 3.18 and 3.16 docker image maintained by camp to camp (https://github.com/camptocamp/docker-qgis-server <https://github.com/camptocamp/docker-qgis-server>). In both cases we noticed the /wfs3/collections endpoint did not display any collections, but the wms-capabilities showed the layers of our project without problems. The log didn’t show any warnings. 
> 
> Do you have some hints on how i could debug the situation?
> 
> The logs should definitely show something.
> 
> Anyway, the problem is probably caused by QGIS_PROJECT_FILE not being correctly set. 
> 
> How do you pass it to the server? 
> 
> Note that MAP=/path is not allowed by the OAPIF standard (QGIS should parse it correctly though).
> 
> 
> -- 
> Alessandro Pasotti
> QCooperative:  www.qcooperative.net <https://www.qcooperative.net/>
> ItOpen:   www.itopen.it <http://www.itopen.it/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210618/22124c13/attachment.html>


More information about the QGIS-Developer mailing list