Closed cybernar closed 1 year ago
We are having an issue with export of vector layers in 3.6.2, not only geojson.
I tried the same query for the geojson output, but directly to OWS port :
It works ! maybe some problem with domain name ?
Cyril
New test with docker version of Lizmap Web Client 3.6.2 : I have made a QGIS project with both shapefile layer & PostGIS layer. I have published these layers in WFS. I try to use "Locate by layer" and "Attribute table" with these layers Result :
Hello,
finally I resolved my problem on WFS with PostGIS layers.
To be short : I was using 2 differents PGSERVICEFILE pg_service.conf
:
That was a bad idea.
The problem is that the connection parameters for data were accessible only for the map container. So the WMS was working, but, examining the lizmap logs, I understood that the lizmap container also need to connect to the data, even for tools such as "Locate by layer" and "Attribute table"
That said, I think a little improvement in docker-compose.yml would be to have a mounted volume for /srv/etc/pgpass.conf in the map container : that is not the case today.
And, by the way, vector download seem to work for me.
Have a nice evening, Cyril
Ok, thanks for the feedback. I though it was this issue related to empty export of vector layers
Hello,
I have on a new installation with Docker Compose on my laptop. I'm trying various lizmap tools based on WFS, with layers from PostGIS. Everything related to WMS (GetMap, GetFeatureInfo) works well with layers from PostGIS
But "Locate by layer" and "Attribute table" don't work :(
1) I checked the WFS requests from my browser.
=> Error 500 Internal Jelix Error
2) But if I try the same request WITHOUT GeoJSON output, it works !
=> OK, I get a response in GML with extent of polygons
Thank you for your help !
Versions :