Giter Site home page Giter Site logo

Comments (5)

Gustry avatar Gustry commented on June 15, 2024

We are having an issue with export of vector layers in 3.6.2, not only geojson.

from lizmap-docker-compose.

cybernar avatar cybernar commented on June 15, 2024

I tried the same query for the geojson output, but directly to OWS port :

http://localhost:8091/ows/?map=demodocker/montpellier_uu.qgs&service=WFS&version=1.0.0&request=GetFeature&geometryname=extent&TYPENAME=commune_uu&OUTPUTFORMAT=GeoJSON

It works ! maybe some problem with domain name ?

Cyril

from lizmap-docker-compose.

cybernar avatar cybernar commented on June 15, 2024

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 :

  • on shapefile layer, everything's ok
  • on PostGIS layer, "Locate by layer" and "Attribute table" don't work (but WMS display is OK)
    I cannot see what is wrong with PostGIS layers.

from lizmap-docker-compose.

cybernar avatar cybernar commented on June 15, 2024

Hello,

finally I resolved my problem on WFS with PostGIS layers.

To be short : I was using 2 differents PGSERVICEFILE pg_service.conf :

  • the 1st, automatically generated, for the authentication (lizmap users db) with lizmap container
  • the 2nd, that I created, for another GIS db, with map container

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

from lizmap-docker-compose.

Gustry avatar Gustry commented on June 15, 2024

Ok, thanks for the feedback.
I though it was this issue related to empty export of vector layers

from lizmap-docker-compose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.