-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edition without plugin #361
Comments
Could be set as Project and QGIS 3 Milestone! |
From what I understood, @m-kuhn already had wired the necessary features in QGIS 3 to be able to get rid of the plugin for digitizing. So I think this should be possible when porting QGEP to QGIS3. The other part we really would like to have is an API dealing with the topology inside the database, so that we open a roadmap where not only QGIS can edit QGEP (my eyes on YOU qgis server ). |
For connecting reaches while digitizing/add feature without the plugin, add the following expression to the default value for
Based on the work sponsored by the qwat group / executed by @m-kuhn last year for QGIS 3. |
Nice! |
Great!
|
Look also my post at #443: Better version of the expression: with_variable( With this expression, there is no fk, if there is no snapping (also when the option reuse attribute values is on). |
Is there a way to get snapped results only for reaches? Because when snapping on a wastewater structure, an error will occur since it has no appearance in the wastewater_networkelement table. |
For editing without plugin, further implementations on QGIS side will need to take place. We therefore fixed the wizard and postponed plugin-less editing. If someone wants to pick it up again, we should spend some time to define the functionality specifications. |
Editing with the plugin actually will collapse all QGIS default values setted for the reach layer AND does not snap to newly created values. Editing without the plugin will require some small connectivity adjustments using the connect tool. (If it would work on newly created entities.) In both cases this is not good enough. I'll discuss this with @3nids next thursday. I'm open to discuss required developments QGIS side for this but actually this is not clear to me what is missing. |
I agree for some cases: Reach to reach snapping works always. Also with new reaches. |
@m-kuhn can we explain exactly what the plugin does and why we try to have so much things done by the plugin? From what I get, please complete or correct me :
What about going this way:
This allow to work with other GIS clients, at the cost of not having some fields filled only we creating new features. To me and following what we have in Paris wastewater, this is not an issue. |
One of the bigger issues still remaining is that it's not possible to define the snapping priority, i.e. to prioritize wastewater nodes over reaches if both are in snapping range. From QGEP side we decided to stick to the plugin since it gives us what we need with the least possible effort. If there is someone (qwat?) willing to invest into QGIS improvements required to drop the digitizing parts of the plugin, OPENGIS will be more than happy to investigate the complete requirements and work on it. Let us know! #492 is an unrelated different issue |
Ok good to know.
I let this to @ponceta :) |
We found a workaround for this with @3nids yesterday : #508 The idea is to get the z of the snapped element except if it's a wastewater structure or a cover (in that case we get the z of the wastewater node through the wastewater foreign key) This workaround is pretty likely what @m-kuhn and @urskaufmann made for connectivity issues using native edition. Like we discussed, it won't be easy to go for snapping priority enhancement toward the community since this is pretty clear today : Snapping priority is on the layer on the top of the layer tree where snapping is enabled (and it's quite natural). Snapping result on insertion is unique for each click the user makes. (this will be an array if the user draws a polyline or a polygon or a multipoint entity) Snapping preferences could maybe change before the click on a hotkey (example with snapping preferences stored or default snapping preferences) but that's maybe not a good idea. |
Has this been verified? In my experience it was quite unpredictable, which one is first is pure chance.
That would certainly be nice, but I think this can't fully replace the priority. |
Works pretty great since 2019 in Pully. Open new issue if any new bugs are found. |
As discussed with @m-kuhn, it would be great to use QGIS native tools to add elements to QGEP.
Actually what misses is the automatic topology which is computed with the plugin.
The idea would be to have such functions on the database/client side.
Plugin would still be used for network specific tasks like profile and so on.
The text was updated successfully, but these errors were encountered: