Comments (7)
So this is the suggestion for the new defintion of _slope_per_mill:
CASE WHEN rp_from.level > 0 AND rp_to.level > 0 THEN round((rp_from.level - rp_to.level)/ST_Length(progression_geometry)*1000,1) ELSE NULL END AS _slope_per_mill
- Does this work if progression _geometry is 2D
- Does this work if progression_geometry is 3D
- Is _slope_per_mill used elsewhere and how could this change influence it?
Any objections to this solution?
I added this topic to the agenda of the next technical meeting in December.
@spch-GL if you want to join please contact @ponceta for an invitation.
from qgep.
Thank you for this proposal, but I think that at least Denis Rouzaud can answer your questions about _slope_per_mill. And as I'm not really envolved in QGEP, I prefer not to participate
from qgep.
Your contribution is welcome.
Using actual 3D length should never result in higher slopes since 3D length can only be longer than the 2D length.
Could then be the length_effective calculation wrong?
WHEN rp_from.level > 0 AND rp_to.level > 0 THEN round((rp_from.level - rp_to.level)/re.length_effective*1000,1)
@spch-GL Denis does not take part to the technical group, but @olivierdalang can maybe bring the subject on your behalf?
from qgep.
Yes, 3D length can only be longer than 2D length. Thus, the slope resulting of its use is lower.
Yes, I'm sure @olivierdalang can do that
from qgep.
note: also look at #773 at the same time which also involves _slope_per_mill calculation
from qgep.
https://github.com/QGEP/datamodel/search?q=_slope_per_mill
- _slope_per_mill is actually used only in vw_qgep_reach
- work if progression _geometry is 2D
- work if progression_geometry is 3D
from qgep.
Fixed by QGEP/datamodel#195
from qgep.
Related Issues (20)
- Transifex change of URL
- Length profile error with plugin 1.6.1 HOT 7
- Upgrade to 1.6.0 impossible with multiple materials using same vsa_code
- Python erron on profile tool HOT 1
- Wizard new reach Error creating new reach without rp_levels HOT 13
- Label not showing a newly connected reach. HOT 1
- Postgis 3.3 needs QGEP datamodel adaptations to work
- TX : Translation of some but not all value_en to value_xx HOT 2
- Bring colors and style to forms
- Postgres 15 needs QGEP datamodel adaptations to work HOT 3
- Handling of "clear_width" HOT 3
- Timing of "Apply default value on update" HOT 2
- Interlisexport: TextVAli is Bottom, not Top HOT 3
- GitHub 2FA fails and you might loose all access to account and projects here. HOT 5
- Fieldcalculator on gpkg-field blocks qgep-project HOT 2
- vl_ values are not prefixed as such in database but still referenced as vl_ values in the project HOT 2
- Performance on QGEP is not monitored and scalability is not accessed HOT 1
- SWMM export of selected features only works in english
- Gestion des droits Postgres HOT 3
- Missing dependency sqlalchemy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qgep.