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 <[email protected]> wrote:
> 
> 
> 
> On Fri, Jun 18, 2021 at 9:57 AM Paul van Genuchten 
> <[email protected] <mailto:[email protected]>> 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/>
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to