<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Alessandro, thank for your reply<div class=""><br class=""></div><div class="">We pass in the project file location using environment variable (as suggested by <a href="https://github.com/camptocamp/docker-qgis-server" class="">https://github.com/camptocamp/docker-qgis-server</a>)</div><div class=""><br class=""></div><div class=""><div style="background-color: rgb(255, 255, 255); line-height: 18px;" class=""><div style="font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre;" class="">    <span style="color: #800000;" class="">environment</span>:</div><div style="font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre;" class="">      - <span style="color: #0000ff;" class="">QGIS_PROJECT_FILE:/myqgisserver/project.qgs</span></div><div style="font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre;" class=""><span style="color: #0000ff;" class=""><br class=""></span></div><div class=""><font color="#0000ff" face="Menlo, Monaco, Courier New, monospace" class=""><span style="white-space: pre;" class="">But also used the default </span><span style="caret-color: rgb(0, 0, 255); white-space: pre;" class="">location for that image</span></font></div><div class=""><font color="#0000ff" face="Menlo, Monaco, Courier New, monospace" class=""><span style="caret-color: rgb(0, 0, 255); white-space: pre;" class=""><br class=""></span></font></div><div class=""><font color="#0000ff" face="Menlo, Monaco, Courier New, monospace" class=""><span style="caret-color: rgb(0, 0, 255); white-space: pre;" class="">/etc/qgisserver/project.qgs</span></font></div><div class=""><font color="#0000ff" face="Menlo, Monaco, Courier New, monospace" class=""><span style="caret-color: rgb(0, 0, 255); white-space: pre;" class=""><br class=""></span></font></div><div class=""><font color="#0000ff" face="Menlo, Monaco, Courier New, monospace" class=""><span style="white-space: pre;" class="">But thanks for the hints, i’ll look a bit more on that side</span></font></div></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class="">
<meta charset="UTF-8" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Kind regards,</div><div><br class=""></div><div>Paul van Genuchten</div><div>GeoCat BV, Bennekom, the Netherlands</div><div><br class=""></div><div>Mon & wed 8.30-17.30 CET</div><div>Tue, thu & fri 8:30-13:30 CET </div><div><br class=""></div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 18 Jun 2021, at 10:17, Alessandro Pasotti <<a href="mailto:apasotti@gmail.com" class="">apasotti@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 18, 2021 at 9:57 AM Paul van Genuchten <<a href="mailto:paul.vangenuchten@geocat.net" class="">paul.vangenuchten@geocat.net</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi list, At Geonovum (netherlands) we’re operating an environment to study a number of OGC API Features implementations.<br class="">
<br class="">
We’ve aded qgis server from 3.18 and 3.16 docker image maintained by camp to camp (<a href="https://github.com/camptocamp/docker-qgis-server" rel="noreferrer" target="_blank" class="">https://github.com/camptocamp/docker-qgis-server</a>). 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. <br class="">
<br class="">
Do you have some hints on how i could debug the situation?<br class=""></blockquote><div class=""><br class=""></div><div class="">The logs should definitely show something.</div><div class=""><br class=""></div><div class="">Anyway, the problem is probably caused by <code class="gmail-docutils gmail-literal gmail-notranslate"><span class="gmail-pre">QGIS_PROJECT_FILE </span></code>not being correctly set. <br class=""></div><div class=""><br class=""></div><div class="">How do you pass it to the server? <br class=""></div><div class=""><br class=""></div><div class="">Note that MAP=/path is not allowed by the OAPIF standard (QGIS should parse it correctly though).<br class=""></div></div><br clear="all" class=""><br class="">-- <br class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><div class="">Alessandro Pasotti</div><div class="">QCooperative:  <a href="https://www.qcooperative.net/" target="_blank" class="">www.qcooperative.net</a><br class=""></div>ItOpen:   <a href="http://www.itopen.it/" target="_blank" class="">www.itopen.it</a></div></div></div>
</div></blockquote></div><br class=""></div></body></html>