qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.67k stars 3.02k forks source link

on Mac only - bug when generating centroids having multi-polygons (one object) #54979

Open simogeo opened 1 year ago

simogeo commented 1 year ago

What is the bug or the crash?

On latest version 3.32, on Mac

when running Vector > Geometry Tools > Centroids on multi-polygons layers, resulting layer is as "create centroïd for each part" ticked, but is not.

Steps to reproduce the issue

  1. open a multi-polygon layer (see sample) below centroid-mac-sample.zip

  2. click on Vector > Geometry Tools > Centroids Chosse layer and run

  3. see too much centroids are generated on resulting layer

Versions

Version 3.32, on Mac only ! Works well on Ubuntu Not sure I can be more accurate, I 've observed that when working with students - I do not have a Mac myself

Supported QGIS version

New profile

Additional context

No response

nicogodet commented 1 year ago

Could be linked to outdated dependencies version (probably GEOS) on MacOS package. If you want more up-to-date version you can try https://qgis.org/en/site/forusers/alldownloads.html#macports or https://anaconda.org/conda-forge/qgis.