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.63k stars 3.01k forks source link

Symbol Marker for points offset when using "Map Units" or "Meters at scale" #54743

Open chleidersdorff opened 1 year ago

chleidersdorff commented 1 year ago

What is the bug or the crash?

When you switch from millimetres to a meter at scale or map units the point symbology is offset from the centre location.

It seems to be isolated to the map legend in the preferences.

image

image

Steps to reproduce the issue

  1. open point file
  2. set project to meters projection
  3. change symbology from millimetres to meters at scale or map units

Versions

QGIS version 3.28.8-Firenze QGIS code revision 5ac45272b58 Qt version 5.15.3 Python version 3.9.5 GDAL/OGR version 3.7.0 PROJ version 9.2.1 EPSG Registry database version v10.088 (2023-05-13) GEOS version 3.11.2-CAPI-1.17.2 SQLite version 3.41.1 PDAL version 2.5.3 PostgreSQL client version unknown SpatiaLite version 5.0.1 QWT version 6.1.6 QScintilla2 version 2.13.1 OS version Windows 10 Version 2009

Active Python plugins db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.6 processing 2.12.99 sagaprovider 2.12.99

Supported QGIS version

New profile

Additional context

No response

17thColossus commented 1 year ago

I confirm this issue persists in version 3.28.11-Firenze and 3.32.3-Lima. I found a workaround by keeping map units for the simple marker size but setting both the line thickness and offset to millimeters (my interface is in italian, but you can get the point): image Unfortunately, doing so changes the unit to millimeters for the marker, so while the simple marker scales according to the map scale, the active area to select the marker by clicking remains unchanged: image

ludovico85 commented 2 months ago

Still present on 3.38.2