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.43k stars 2.99k forks source link

Point displacement duplicates points when using a multi layer marker #54935

Open sickel opened 11 months ago

sickel commented 11 months ago

What is the bug or the crash?

I have a layer with overlapping points. To display this, I tried using the point displacement symbology. For some of the features I have created markers putting more simple markers on top of each other, for these features, the point will be shown as many times as there are simple markers in the marker.

Steps to reproduce the issue

Use any point layer, set up a symbology where for some features there are markers build up with several simple markers. Use point displacement symbology and those with "multi layer markers" will show up as many times as there are layers in the marker. bilde Map with overlapping points bilde

Using point displacement. In no cases on this map there are equal overlapping points, so e.g. on Spitsbergen, the two points should not have changed with the displacement symbology. The points in Tunisia are as expected, for the points in South Eastern Germany, I would have expected one square and one hexagon, for the points close to Moscow, I would have expected one circle with a cross and one hexagon. None of the other points should have changed

For information, the square with the red circle is build up from three simple markers.

Versions

QGIS version | 3.32.3-Lima | QGIS code revision | 67d46100b5 -- | -- | -- | -- Qt version | 5.15.3 Python version | 3.9.5 GDAL/OGR version | 3.7.2 PROJ version | 9.3.0 EPSG Registry database version | v10.094 (2023-08-08) GEOS version | 3.12.0-CAPI-1.18.0 SQLite version | 3.41.1 PDAL version | 2.5.5 PostgreSQL client version | 15.2 SpatiaLite version | 5.1.0 QWT version | 6.1.6 QScintilla2 version | 2.13.4 OS version | Windows 10 Version 2009   |   |   |   Active Python plugins altitudecorrector | 0.2 altitudeprocessing | 0.1 DataLoader | 0.14 kartverket_adresse | 0.35 latlonbuffer | 0.1 openlayers_plugin | 2.0.0 pg_metadata | 1.2.2 pg_raster_import | 3.2.0 pluginbuilder3 | 3.2.1 plugin_reloader | 0.9.3 QCopycanvas | 0.7 QGIS3-getWKT | 1.5 qgisSpectre | 1.1 QuickWKT | 3.1 stripchart | 0.66 db_manager | 0.1.20 processing | 2.12.99 QGIS version 3.32.3-Lima QGIS code revision [67d46100b5](https://github.com/qgis/QGIS/commit/67d46100b5) Qt version 5.15.3 Python version 3.9.5 GDAL/OGR version 3.7.2 PROJ version 9.3.0 EPSG Registry database version v10.094 (2023-08-08) GEOS version 3.12.0-CAPI-1.18.0 SQLite version 3.41.1 PDAL version 2.5.5 PostgreSQL client version 15.2 SpatiaLite version 5.1.0 QWT version 6.1.6 QScintilla2 version 2.13.4 OS version Windows 10 Version 2009 Active Python plugins altitudecorrector 0.2 altitudeprocessing 0.1 DataLoader 0.14 kartverket_adresse 0.35 latlonbuffer 0.1 openlayers_plugin 2.0.0 pg_metadata 1.2.2 pg_raster_import 3.2.0 pluginbuilder3 3.2.1 plugin_reloader 0.9.3 QCopycanvas 0.7 QGIS3-getWKT 1.5 qgisSpectre 1.1 QuickWKT 3.1 stripchart 0.66 db_manager 0.1.20 processing 2.12.99 ### Supported QGIS version - [X] I'm running a supported QGIS version according to [the roadmap](https://www.qgis.org/en/site/getinvolved/development/roadmap.html#release-schedule). ### New profile - [ ] I tried with a new [QGIS profile](https://docs.qgis.org/latest/en/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles) ### Additional context _No response_
sickel commented 11 months ago

I cannot see anyway to edit the initial post, the second map with displacement symbology should have been this: bilde The points in Tunisia are as expected, for the points in South Eastern Germany, I would have expected one square and one hexagon, for the points close to Moscow, I would have expected one circle with a cross and one hexagon. None of the other points should have changed