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

Label of Polygon showing outside of polygon using a WFS #44633

Closed RadMagnus closed 3 years ago

RadMagnus commented 3 years ago

What is the bug or the crash?

Having polygons labeled, panning around and moving to the edge of a polygon can lead to misleading labelling.

This is expected behaviour. All labels are within their polygons: grafik

However, if you pan to the right a bit, you might get the label (here Kempen) within the wrong polygon.

grafik

I suspect the issue here is that the Polygon of Kempen does extends to the east but only north of where the label is. As you can see in the green outline.

Steps to reproduce the issue

Import WFS:

Load Layer:

Label Layer:

Zoom to Kempen:

Versions

QGIS-Version | 3.18.0-Zürich | QGIS-Codezweig | Release 3.18 -- | -- | -- | -- Kompiliert gegen Qt | 5.12.9 | Laufendes Qt | 5.12.9 Kompiliert mit GDAL/OGR | 3.2.1 | Läuft mit GDAL/OGR | 3.2.1 Kompiliert mit GEOS | 3.9.0-CAPI-1.14.1 | Läuft mit GEOS | 3.9.0-CAPI-1.14.1 Kompiliert mit SQLite | 3.34.0 | Läuft mit SQLite | 3.34.0 PostgreSQL-Client-Version | 12.3 | SpatiaLite-Version | 5.0.1 QWT-Version | 6.1.5 | QScintilla2-Version | 2.11.2 Kompiliert mit PROJ | 7.2.0 | Läuft mit PROJ | Rel. 7.2.0, November 1st, 2020 BS-Version | Windows 10 (10.0) Aktive Python-Erweiterungen | qgis-maptiler-plugin; db_manager; MetaSearch; processing

Additional context

No response

gioman commented 3 years ago

@RadMagnus you must activate the right option

Screenshot_20210810_165207

Screenshot_20210810_165228

3.18.0-Zürich

also update to 3.20.1 as 3.18 is way too old and also unsupported.

RadMagnus commented 3 years ago

I was not aware of that option, thank you! Marking this as closed and tell my IT-Department they should update more frequently 😄