Skip to content
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

Mesh - add elevation #9612

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Mesh - add elevation #9612

wants to merge 2 commits into from

Conversation

selmaVH1
Copy link
Collaborator

@selmaVH1 selmaVH1 commented Feb 5, 2025

Fixes #9463

Goal:

Ticket(s): #

  • Backport to LTR documentation is requested

@@ -934,6 +934,15 @@ To add vertices to a mesh layer:
#. Press the |meshDigitizing| :sup:`Digitize mesh elements` button
#. A :guilabel:`Vertex Z value` widget appears on the top right corner of the map canvas.
Set this value to the Z coordinate you would like to assign to the subsequent vertices
#. Choose the method for assigning Z values to new vertices from the drop-down menu in the
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This replaces or better enriches the logic described there.

Previously the Z value assignment was driven purely by the the code logic described in that table. Now user has more control over that. He can select from 4 options as described in the PR qgis/QGIS#58877.

The option "Prefer mesh, then Z Widget" would be equal to previous behaviour (described in the linked table).

Would you need more detailed description @DelazJ ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the reply and you somehow confirm my feelings.

This replaces or better enriches the logic described there.

I think we need to review that section and either update the table or clarify its scope. This is also where IMHO the 4 options should first be mentioned (I don't think people will change it during digitizing; it is done as a setting, we'd just remind here that the z is assigned based on the selected rule)

The option "Prefer mesh, then Z Widget" would be equal to previous behaviour (described in the linked table).

Z widget and "advanced digitizing panel z field" still work together? In earlier versions, you could set vertex z value using that.
Also how does it play if I snap to a 3D vector feature? There doesn't seem to be a mention of that in the new options...

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Z widget and "advanced digitizing panel z field" still work together? In earlier versions, you could set vertex z value using that.

This should still work the same way it worked previously.

I don't think people will change it during digitizing;

Most likely not, I believe that this will be a preference that will not be changed that often.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also how does it play if I snap to a 3D vector feature?

No relation 3D vector features. That might be something to consider in the future, but it is not part of this implementation (was not requested by the funding party).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant, in the past, mesh vertex snapped to a 3D line vector would get Z from that line ( #6883). Was this dropped?Based on their name, I can't find the setting that covers that behavior, now.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing was removed. That behavior stayed in.

Previously this behavior was triggered by snapping to the 3D point. The user had no control over that what so ever.

Now this behavior is only triggered if the user selects the Z Widget option from the dropdown menu. The logic is a bit weird (but IMHO it was even before), and maybe the label could be adjusted to reflect that. All other options prefer obtaining Z Value from Mesh or Terrain.

Comment on lines 1054 to 1055
#. Press :guilabel:`Get Z value from project terrain` to set a Z value for selected vertices
from the project terrain.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GUI is IMHO misleading (see qgis/QGIS#60512), and this button should be described step 4 or 5 as a way to fill the Z value. Not something you'd do after you applied the transform.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say that this completely independent step, not related to anything else. It is just a convenient way to assign Z values from specific source to all selected vertices.

@DelazJ DelazJ added Mesh Editing 3.42 QGIS 3.42 new features labels Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.42 QGIS 3.42 new features Editing Mesh
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mesh point add elevation (Request in QGIS)
3 participants