GithubHelp home page GithubHelp logo

arno974 / lizmap-altiprofil Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 11.0 261 KB

Module Lizmap permettant la création d'un profil

PHP 62.85% Smarty 3.99% CSS 2.26% JavaScript 25.23% Makefile 4.59% Shell 0.79% Hack 0.29%

lizmap-altiprofil's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lizmap-altiprofil's Issues

Inherit Permissions from lizmap to use with the tool

Problem

Currently, the profile tool is globally installed for the lizmap version. It would be an added advantage if users could activate the usage of the tool based on permissions offered in lizmap.

Either per individual user or group permissions
perms

Tag current version as 0.1.0

Hi,

Could we add a tag for the current state ? I need it to install this module in 3liz hosting services.

I propose 0.1.0 or any x.x.x

Erreur st_makepoint

Bonjour,
Je tente d'Integer le module altiProfil sur mon instance lizmap (3.5) en utilisant mon propre DEM sur un serveur PostgreSQL diffèrent du lizmap.
La connexion au raster se fait bien, mais je n'arrive pas à obtenir le profil et je retrouve systématiquement cette erreur dans les logs de lizmap :
Erreur dans la requête (ERREUR: la fonction st_makepoint(numeric, numeric) n'existe pas LINE 4: ST_Transform(ST_SetSRID(ST_MakePoint(3.55783... HINT: Aucune fonction ne correspond au nom donné et aux types d'arguments. Vous devez ajouter des conversions explicites de type.( SELECT ST_Value( bdalti_rge5.rast, ST_Transform(ST_SetSRID(ST_MakePoint(3.557834, 45.790632),4326),2154) ) as z FROM bdalti_rge5 WHERE ST_Intersects( bdalti_rge5.rast, ST_Transform(ST_SetSRID(ST_MakePoint(3.557834, 45.790632),4326),2154)

Ce que je ne comprends pas bien, car la requête semble fonctionnelle. Et elle fonctionne directement en console sur le serveur Postgres.

J'ai bien tenter de contraindre en ajoutant des ::float directement sans altiprofil.ini.php sans succès.
Une idée ?
Merci
Renaud

Propose a way to use a different DEM per lizmap project

What about a way to declare, for each published QGIS project, a different PostgreSQL rater table to use ?

This would allow users with many maps in different areas to use the correct precise DEM for the map.

Possible options

  • add a configuration as a JSON file, alongside the QGIS project. myproject.qgs.altiprofil with no sensitive credentials, but the schema and table of the dem. The sensitive credentials will remain in the localconfig.ini.php
  • add the altiprofil module in Lizmap sources, and add a new tab in lizmap QGIS plugin to configure.

Composer install error

Following the instructions, I get the following error
install-error

However manual installation works

NB Running in docker using the lizmap-docker-compose without any modifications and sample projects

Add option to export profile as images

Problem

The profile tool is cool but we also need to be able to export the profile to png or other image formats.
Add option to include this onto a map layout

Profile beeing a circle

Hello,
thanks for this really nice tool! I just managed to install it successfully and connect it with my DEM held in a PostGRES Database. I just ran in one error: sometimes the profile seems to be a "circle" (see screenshots attached).

Profile_1
Profile_2

If i replicated the same profile line with the same DEM loaded in QGIS, i get the following profile:
grafik

Do you have any idea, what could be the reason for this?

Nouvelle release

Bonjour,

Maintenant que le PR #9 a été accepté, serait-il possible de sortir une nouvelle version, afin de profiter des dernières évolutions et de l'installation facilitée par ce PR ?

Hanging Profile

Cher Dev Team AltiProfil,

Nous utilisons notre propre MNT dans une BD Postgis afin de créer le profil.

Les fichiers profiles.ini.php et altProfil.inin.php ont été édités en conséquence.

Cependant, lors de l'utilisation de l'outil, ce dernier reste suspendu:

image

Plusieurs variantes on été testées sans succès.

Auriez-vous une idée de où proviendrait le problème?

Lizmap 3.4.4
altiProfil 0.2.3
Qgis 3.18.1
DB PostGIS/Postrgres
OS Debian Ubuntu

Merci pour votre aide et votre temps

Philippe Vandevondele

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.