<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;}
span.E-MailFormatvorlage22
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1500541964;
        mso-list-type:hybrid;
        mso-list-template-ids:656055058 917922764 67567619 67567621 67567617 67567619 67567621 67567617 67567619 67567621;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-font-family:Calibri;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#0563C1" vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>The QGIS project contains only 2 layers:<o:p></o:p></span></p><ul style='margin-top:0cm' type=disc><li class=MsoListParagraph style='margin-left:0cm;mso-list:l0 level1 lfo1'><span style='mso-fareast-language:EN-US'><a href="https://maps.zh.ch/wfs/TBAGeschZHWFS">https://maps.zh.ch/wfs/TBAGeschZHWFS</a><o:p></o:p></span></li><li class=MsoListParagraph style='margin-left:0cm;mso-list:l0 level1 lfo1'><span style='mso-fareast-language:EN-US'><a href="http://ows.terrestris.de/osm/service?VERSION=1.1.1&">http://ows.terrestris.de/osm/service?VERSION=1.1.1&</a><o:p></o:p></span></li></ul><p class=MsoNormal><span style='mso-fareast-language:EN-US'><a href="https://wms101.webgis.biz">https://wms101.webgis.biz</a><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>This is the complete QGIS logfile (Log_Level 2) after reloading the project and zooming a few times:<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>16:46:34 WARNING [175770]: Error Service EXPRESSION 1.0.0 is already registered<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>16:46:34 WARNING [175770]: Error Service LIZMAP 1.0.0 is already registered<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>16:46:34 WARNING [175770]: Warning: error parsing post data as XML: at line 1, column 1: error occurred while parsing element. Assuming urlencoded query string sent in the post body.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>16:46:34 WARNING WFS[175770]: Cannot create temporary SpatiaLite cache.: Cannot copy file to /home/qgis/.local/share/QGIS/QGIS3/profiles/default/cache/wfsprovider/pid_175770/cache_1.sqlite:<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>16:47:16 WARNING [175770]: Warning: error parsing post data as XML: at line 1, column 1: error occurred while parsing element. Assuming urlencoded query string sent in the post body.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>16:47:18 WARNING [175770]: Warning: error parsing post data as XML: at line 1, column 1: error occurred while parsing element. Assuming urlencoded query string sent in the post body.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>16:47:18 WARNING [175770]: Warning: error parsing post data as XML: at line 1, column 1: error occurred while parsing element. Assuming urlencoded query string sent in the post body.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>16:47:22 WARNING [175770]: Warning: error parsing post data as XML: at line 1, column 1: error occurred while parsing element. Assuming urlencoded query string sent in the post body.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>16:47:26 WARNING [175770]: Warning: error parsing post data as XML: at line 1, column 1: error occurred while parsing element. Assuming urlencoded query string sent in the post body.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:18.0pt'><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>The Apache2/error.log:<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>[Mon May 30 17:00:47.894406 2022] [mpm_prefork:notice] [pid 768] AH00163: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f mod_wsgi/4.6.8 Python/3.8 configured -- resuming normal operations<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>[Mon May 30 17:00:47.894416 2022] [core:notice] [pid 768] AH00094: Command line: '/usr/sbin/apache2'<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-www-data'<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>"Loading native module /usr/lib/qgis/server/libdummy.so"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>"Loading native module /usr/lib/qgis/server/liblandingpage.so"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>"Loading native module /usr/lib/qgis/server/libwcs.so"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>"Loading native module /usr/lib/qgis/server/libwfs.so"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>"Loading native module /usr/lib/qgis/server/libwfs3.so"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>"Loading native module /usr/lib/qgis/server/libwms.so"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>"Loading native module /usr/lib/qgis/server/libwmts.so"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>proj_create: Error -38: failed to load datum shift file<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>proj_create: Error -38: failed to load datum shift file<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>proj_create: Error -38: failed to load datum shift file<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>QNetworkDiskCache::prepare() unable to open temporary file<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>QNetworkDiskCache::prepare() unable to open temporary file<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>QNetworkDiskCache::prepare() unable to open temporary file<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>QNetworkDiskCache::prepare() unable to open temporary file<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>The Apache2/access.log:<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>89.244.189.20 - - [30/May/2022:17:04:33 +0200] "GET /index.php/view/map/?repository=99&project=test_wfs HTTP/1.1" 200 10167 "https://wms101.webgis.biz/index.php/view/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>89.244.189.20 - - [30/May/2022:17:04:33 +0200] "GET /assets/favicon/android-icon-192x192.png HTTP/1.1" 200 35596 "https://wms101.webgis.biz/index.php/view/map/?repository=99&project=test_wfs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>89.244.189.20 - - [30/May/2022:17:04:33 +0200] "GET /index.php/lizmap/service/getProjectConfig?repository=99&project=test_wfs HTTP/1.1" 200 3665 "https://wms101.webgis.biz/index.php/view/map/?repository=99&project=test_wfs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>89.244.189.20 - - [30/May/2022:17:04:33 +0200] "GET /index.php/lizmap/service/?repository=99&project=test_wfs&SERVICE=WMTS&REQUEST=GetCapabilities&VERSION=1.0.0 HTTP/1.1" 200 2978 "https://wms101.webgis.biz/index.php/view/map/?repository=99&project=test_wfs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>89.244.189.20 - - [30/May/2022:17:04:33 +0200] "GET /index.php/lizmap/service/?repository=99&project=test_wfs&SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0 HTTP/1.1" 200 2778 "https://wms101.webgis.biz/index.php/view/map/?repository=99&project=test_wfs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>89.244.189.20 - - [30/May/2022:17:04:33 +0200] "GET /index.php/lizmap/service/?repository=99&project=test_wfs&SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.0.0 HTTP/1.1" 200 1979 "https://wms101.webgis.biz/index.php/view/map/?repository=99&project=test_wfs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>89.244.189.20 - - [30/May/2022:17:04:36 +0200] "GET /index.php/lizmap/service/?repository=99&project=test_wfs&LAYERS=geschwindigkeit&STYLES=default&VERSION=1.3.0&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&DPI=96&TRANSPARENT=TRUE&SERVICE=WMS&REQUEST=GetMap&CRS=EPSG%3A25832&BBOX=404609.6561575848,5218037.103935158,538753.6744456216,5284315.361491675&WIDTH=2028&HEIGHT=1002 HTTP/1.1" 200 8365 "https://wms101.webgis.biz/index.php/view/map/?repository=99&project=test_wfs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>89.244.189.20 - - [30/May/2022:17:04:40 +0200] "GET /index.php/lizmap/service/?repository=99&project=test_wfs&LAYERS=geschwindigkeit&STYLES=default&VERSION=1.3.0&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&DPI=96&TRANSPARENT=TRUE&SERVICE=WMS&REQUEST=GetMap&CRS=EPSG%3A25832&BBOX=334358.9300590856,5186154.768657367,602646.9666351589,5318711.283770396&WIDTH=2028&HEIGHT=1002 HTTP/1.1" 200 102128 "https://wms101.webgis.biz/index.php/view/map/?repository=99&project=test_wfs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>I hope this helps<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal>Regards,<o:p></o:p></p><p class=MsoNormal>Günter<o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>Von:</b> Lizmap <lizmap-bounces@lists.osgeo.org> <b>Im Auftrag von </b>René-Luc Dhont<br><b>Gesendet:</b> Montag, 30. Mai 2022 10:28<br><b>An:</b> lizmap@lists.osgeo.org<br><b>Betreff:</b> Re: [Lizmap] Publish WFS services in QGIS with Lizmap<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hi,<br><br>Here is the QGIS code<br><br>```c<br>// Creating a SpatiaLite database can be quite slow on some file systems<br>  // so we create a GDAL in-memory file, and then copy it on<br>  // the file system.<br>  GDALDriverH hDrv = GDALGetDriverByName( "SQLite" );<br>  if ( !hDrv )<br>  {<br>    logMessageWithReason( QStringLiteral( "GDAL SQLite driver not available" ) );<br>    return false;<br>  }<br>  const QString vsimemFilename = QStringLiteral( "/vsimem/qgis_cache_template_%1/features.sqlite" ).arg( reinterpret_cast< quintptr >( this ), QT_POINTER_SIZE * 2, 16, QLatin1Char( '0' ) );<br>  mCacheTablename = CPLGetBasename( vsimemFilename.toStdString().c_str() );<br>  VSIUnlink( vsimemFilename.toStdString().c_str() );<br>  const char *apszOptions[] = { "INIT_WITH_EPSG=NO", "SPATIALITE=YES", nullptr };<br>  GDALDatasetH hDS = GDALCreate( hDrv, vsimemFilename.toUtf8().constData(), 0, 0, 0, GDT_Unknown, const_cast<char **>( apszOptions ) );<br>  if ( !hDS )<br>  {<br>    logMessageWithReason( QStringLiteral( "GDALCreate() failed: %1" ).arg( CPLGetLastErrorMsg() ) );<br>    return false;<br>  }<br>  GDALClose( hDS );<br><br>  // Copy the temporary database back to disk<br>  vsi_l_offset nLength = 0;<br>  GByte *pabyData = VSIGetMemFileBuffer( vsimemFilename.toStdString().c_str(), &nLength, TRUE );<br>  Q_ASSERT( !QFile::exists( mCacheDbname ) );<br>  VSILFILE *fp = VSIFOpenL( mCacheDbname.toStdString().c_str(), "wb" );<br>  if ( fp )<br>  {<br>    VSIFWriteL( pabyData, 1, nLength, fp );<br>    VSIFCloseL( fp );<br>    CPLFree( pabyData );<br>  }<br>  else<br>  {<br>    CPLFree( pabyData );<br>    logMessageWithReason( QStringLiteral( "Cannot copy file to %1: %2" ).arg( mCacheDbname ).arg( CPLGetLastErrorMsg() ) );<br>    return false;<br>  }<br>```<br><br>So the database to store WFS Features has been created in memory with GDAL/OGR and the path "/vsimem/qgis_cache_template_%1/features.sqlite" and will be write to disk in QGIS cache directory.<br><br>The mCacheDbname is defined like that:<br>```c<br>  Q_ASSERT( mCacheDbname.isEmpty() );<br><br>  static QAtomicInt sTmpCounter = 0;<br>  int tmpCounter = ++sTmpCounter;<br>  QString cacheDirectory( acquireCacheDirectory() );<br>  mCacheDbname = QDir( cacheDirectory ).filePath( QStringLiteral( "cache_%1.sqlite" ).arg( tmpCounter ) );<br>  Q_ASSERT( !QFile::exists( mCacheDbname ) );<br>```<br><br>In the log provided by Günter, we don't have enough reason. The CPLGetLastErrorMsg is empty.<br><br>Günter, can you provide more logs arround the message "Cannot create temporary SpatiaLite cache.: Cannot copy file to" ?<br><br>Regards,<br>René-Luc DHONT<o:p></o:p></p><div><p class=MsoNormal>Le 30/05/2022 à 08:57, FANGAIN Marjorie a écrit :<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hi,</span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>I’ve got also some problems with WFS layers for several months.</span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>I’ve created a ticket on github :</span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><a href="https://github.com/3liz/lizmap-web-client/issues/2792">https://github.com/3liz/lizmap-web-client/issues/2792</a></span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> </span><o:p></o:p></p><div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Arial",sans-serif;color:#786E64'>Marjorie <b>FANGAIN</b></span><o:p></o:p></p></div><p class=MsoNormal><span style='mso-fareast-language:EN-US'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>De :</b> Lizmap <a href="mailto:lizmap-bounces@lists.osgeo.org"><lizmap-bounces@lists.osgeo.org></a> <b>De la part de</b> Peter Berger<br><b>Envoyé :</b> vendredi 27 mai 2022 11:26<br><b>À :</b> G. Wagner, Wagner-IT <a href="mailto:info@wagner-it.de"><info@wagner-it.de></a>; <a href="mailto:lizmap@lists.osgeo.org">lizmap@lists.osgeo.org</a><br><b>Objet :</b> Re: [Lizmap] Publish WFS services in QGIS with Lizmap<o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><div><table class=MsoNormalTable border=0 cellspacing=3 cellpadding=0 align=left width="100%" style='width:100.0%;background:#D7D4D0'><tr><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal align=center style='text-align:center;mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly'><span style='font-size:13.5pt;font-family:"Arial",sans-serif;color:#786E64'>EXTERNAL EMAIL<br></span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#786E64'>Original Sender: <a href="mailto:SRS0=UtB1=WD=lists.osgeo.org=lizmap-bounces@osgeo.org">SRS0=UtB1=WD=lists.osgeo.org=lizmap-bounces@osgeo.org</a></span><o:p></o:p></p></td></tr></table></div><p class=MsoNormal>I made the same observation. On Windows 10 all WFS layers are well displayed in Lizmap but not on a osgeolive linux installation with the same QGIS file.<o:p></o:p></p><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>Peter<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p><div><p class=MsoNormal>Von meinem iPhone gesendet<o:p></o:p></p></div><div><p class=MsoNormal><br><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='margin-bottom:12.0pt'>Am 27.05.2022 um 07:34 schrieb G. Wagner, Wagner-IT <<a href="mailto:info@wagner-it.de">info@wagner-it.de</a>>:<o:p></o:p></p></blockquote></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hi everyone,</span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>I am trying to publish a WFS service integrated in QGIS with QGIS Server/Lizmap (</span>QGIS-Server 3.22.7, Lizmap 3.5.3)<span style='mso-fareast-language:EN-US'>.</span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>The corresponding layer name is displayed in the Lizmap client but no data is displayed. Or sometimes and only once in a zoom level.</span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> </span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>The error message in the QGIS error log could fit to this (cache problem?):</span><o:p></o:p></p><p class=MsoNormal>WARNING WFS[1497]: Cannot create temporary SpatiaLite cache.: Cannot copy file to /home/qgis/.local/share/QGIS/QGIS3/profiles/default/cache/wfsprovider/pid_1497/cache_1.sqlite:<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Creating the directories "/home/qgis/.local/share/QGIS/QGIS3/profiles/default/cache/wfsprovider" with appropriate permissions does not change anything.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>In the Apache error.log there is still the message:<o:p></o:p></p><p class=MsoNormal>QNetworkDiskCache::prepare() unable to open temporary file<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>In the Apache.conf is defined:<o:p></o:p></p><p class=MsoNormal>        FcgidInitialEnv QGIS_SERVER_CACHE_DIRECTORY "/home/qgis/cache"<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>What am I doing wrong?<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Greeting<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Günter<o:p></o:p></p></div></blockquote></div><p class=MsoNormal><br><br><o:p></o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>Lizmap mailing list<o:p></o:p></pre><pre><a href="mailto:Lizmap@lists.osgeo.org">Lizmap@lists.osgeo.org</a><o:p></o:p></pre><pre><a href="https://lists.osgeo.org/mailman/listinfo/lizmap">https://lists.osgeo.org/mailman/listinfo/lizmap</a><o:p></o:p></pre></blockquote><p class=MsoNormal><o:p> </o:p></p></div></body></html>