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

Delaunay Triangulation inconsistency #52172

Closed
2 tasks done
KonstiDE opened this issue Mar 9, 2023 · 8 comments
Closed
2 tasks done

Delaunay Triangulation inconsistency #52172

KonstiDE opened this issue Mar 9, 2023 · 8 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@KonstiDE
Copy link

KonstiDE commented Mar 9, 2023

What is the bug or the crash?

When applying the native delaunay trinangulation process only the centroids of hexagons, we would expect a fishernet kind of layer. However, the triangulation feature fails after almost producing the right output...

n
n2
n3

Steps to reproduce the issue

Create a hexagonial grid with the extend: 8.596003700,9.835141800,41.386694700,43.050699100 [EPSG:4326]
Use Vector > Geometry Tools > Centroids on the grid
Apply Delaunay Triangulation onto the centroids

Versions

QGIS version: 3.22

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

@KonstiDE KonstiDE added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Mar 9, 2023
@agiudiceandrea
Copy link
Member

agiudiceandrea commented Mar 10, 2023

@KonstiDE could you please provide all the needed relevant parameters of the "Create grid" algorithm in order to create the grid with which the issue does occur?

@agiudiceandrea agiudiceandrea added Feedback Waiting on the submitter for answers Processing Relating to QGIS Processing framework or individual Processing algorithms labels Mar 10, 2023
@KonstiDE
Copy link
Author

KonstiDE commented Mar 10, 2023

For width and height, I use 10.0 kilometers for Hspacing/Vspacing and 0.0 for the Hoverlay/Voverlay. CRS is the project default: EPSG:3857 - WGS 84 Pseudo-Mercator

@agiudiceandrea agiudiceandrea removed the Feedback Waiting on the submitter for answers label Mar 10, 2023
@KonstiDE
Copy link
Author

Any updates?

@agiudiceandrea
Copy link
Member

agiudiceandrea commented Mar 31, 2023

@KonstiDE, I can only confirm that the issue occurs using the latest QGIS 3.28 and QGIS 3.30 on Windows.
It seems the GRASS v.delaunay algorithm does a better (almost perfect) job in such situation.
The "Voronoi polygons" algorithm (qgis:voronoipolygons) is also affected by the same issue.

@KonstiDE
Copy link
Author

Any updates?
Still fails in QGIS 3.32.3 (Lima)

@alexbruy
Copy link
Contributor

It is still open. Obviously no.

@agiudiceandrea
Copy link
Member

agiudiceandrea commented Oct 30, 2023

@KonstiDE, it seems to me the issue no longer occurs on Windows using the latest QGIS 3.35.0-Master nightly build and the upcoming QGIS 3.34.0. It may have been fixed by #53787. Could you please check ASAP?
image

@agiudiceandrea agiudiceandrea added the Feedback Waiting on the submitter for answers label Oct 30, 2023
@KonstiDE
Copy link
Author

Works like a charm, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

3 participants