Code Monkey home page Code Monkey logo

Comments (15)

ponceta avatar ponceta commented on June 27, 2024 1

QGIS Minimal version for this seems to be 3.30.0. This really needs a backport.

from qgep.

ponceta avatar ponceta commented on June 27, 2024

@PeterZamudio please check on your side if this works properly! ;)

from qgep.

PeterZamudio avatar PeterZamudio commented on June 27, 2024

Hello everyone
I did the test and I must say I do not have the same problem. I did the test first with QGIS 3.28.1 and QGEP-Plugin 1.5.5. It worked perfectly. I then updated the QGEP-Plugin to version 1.5.6-b9 and tested again. The tests were first 2 wastewater structures and then a reach digitized. I encounted no problems and the start and end heights were entered and saved.
The SQL Topology button worked fine too.
QGEP_Test_PZa

from qgep.

PeterZamudio avatar PeterZamudio commented on June 27, 2024

When I look closely at your video, I notice you have altered the configuration of the field. When I enter the height I have that problem with the point and have to press arrow right instead of decimal. We have discussed this in the group. I see you have changed the configuration and your problem might be there too.

from qgep.

ponceta avatar ponceta commented on June 27, 2024

When changing the rp_from_level and rp_to_level widget to text, this is not the same but different issue :

QGEP_rp_from_to_fields

from qgep.

PeterZamudio avatar PeterZamudio commented on June 27, 2024

Thank you, I am just saying your problem might be because you have apparently changed the standard settings.
I haven't changed anything and it still seems to be working as it was before 3.28.1. I am talking about the problem you have and not the decimal problem.

from qgep.

ponceta avatar ponceta commented on June 27, 2024

The decimal problem is present in qgep project when changing from range to text widget. (QGIS 3.22->3.28.2)

This is due to the fact that the co_level or rp_from_level and rp_to_level are displayed at multiple places in the form (general + specific tab)

altimetry

Removing one of the occurences solves the decimal problem.

from qgep.

PeterZamudio avatar PeterZamudio commented on June 27, 2024

Yes I noticed that displaying a field in multiple places in the form (general + specific tab) does cause problems. I checked through all mine as I had problems with multi edit. With multiple fields they block each other intermittently in multi edit. Also I found in multi edit that fields with database relations do not work right either. When I changed the field to Getvalue/Wertbeziehen and removed the second field, then multi edit worked as it should.

from qgep.

olivierdalang avatar olivierdalang commented on June 27, 2024

I think that the second part (about the decimals) is the same as #749, which we reported upstream already.

@ponceta is the first part of the issue (about altitude being set to NULL) still relevant ? If no, we can close this, if yes, could you edit/remove your comments about the second part just so that it's clear what this is about ?

from qgep.

ponceta avatar ponceta commented on June 27, 2024

@olivierdalang this is a critical issue for us in Pully and we have to look at it and solve this before QGIS 3.28.4 release.

from qgep.

olivierdalang avatar olivierdalang commented on June 27, 2024

@ponceta Not sure I get this right. Here I'm not able to reproduce the issue with the QGEP project (neither with the digitize tool nor with the wizard). As pointed out by Peter, it seems you're not using the standard form ?

Can you provide steps on the demo data/project to reproduce ?

If not in the demo project, but indeed on customizations of yours, can you provide a reproduceable case (a QGIS project, ideally with data), including full info on QGIS version ? (but in that case, should we really track that issue here in the QGEP tracker ?)

It's not really possible otherwise to work on this, because there could be many things involved (once again the the input being present multiple times in the form, some QGIS bug in one of the functions used in your python expression, the python expression themselves, etc.)

from qgep.

ponceta avatar ponceta commented on June 27, 2024

Here's the qgep project with updated fields and type as it will be in qgep future .qgs project :

qgep.zip

I will list modifications in the right issue.

There is a QGIS issue with python default values for fields :

QGEP_rp_from_to_fields_demo

Python actions are called on every field update instead of only at the opening of the form even if the update default is not checked :

image

There's a problem hidden in QGIS that will break many .qgs projects using default "editable" values.

from qgep.

ponceta avatar ponceta commented on June 27, 2024

QGIS upstream issue.
qgis/QGIS#51543

from qgep.

olivierdalang avatar olivierdalang commented on June 27, 2024

fixed by qgis/QGIS#51836

from qgep.

ponceta avatar ponceta commented on June 27, 2024

Integrated in QGIS 3.28.4-2! Installed and tested with osgeo4w, work as expected!

from qgep.

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.