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.68k stars 3.02k forks source link

data defined rotation does not work for point pattern fills #16642

Closed qgib closed 5 years ago

qgib commented 11 years ago

Author Name: aperi2007 - (aperi2007 -) Original Redmine Issue: 7736 Affected QGIS version: master Redmine category:symbology Assignee: Marco Hugentobler


When using a symbol pattern inside a polygon is is sometimes useful to set a rotation angle for single pattern using an angle filled from the shapefile.

Apparently it is settable, but doesn't work.

Setting the "angle" (angolo field) in data-defined-properties inside the "Point pattern fill" -> Marker -> simple marker should rotate using the specified value for each single polygon - instead they all have the same rotation.

I guess this is a bug, because the option to set is available.

I added a simple project to show this.

Regards, Andrea.


qgib commented 11 years ago

Author Name: Jürgen Fischer (@jef-n)


qgib commented 11 years ago

Author Name: Giovanni Manghi (@gioman)


this is a new feature not working as it should be, so I guess is a blocker.


qgib commented 11 years ago

Author Name: Marco Hugentobler (@mhugent)


qgib commented 11 years ago

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


Using an integer and real field to set rotation for individual marker in a points layer works fine. I've just confirmed with latest build (see screenshot). Maybe the person who filed this issue can re-open with more steps to reproduce if he/she still faces this problem.



qgib commented 11 years ago

Author Name: aperi2007 - (aperi2007 -)


The ticket is for a polygonal layer not for a puntual layer.

I try it with the last qgis-dev,

but the option of the angle in data-defined is disappeared.

This is a more complex situaztion.

I'm sure this is not working, but not because the angle option was removed it is no more selectable. :)


qgib commented 11 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 11 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 11 years ago

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


Right. More testing on this:

Note that this isn't a regression as qgis 1.8's point pattern fill didn't have the data-definition feature and the old symbology didn't have point pattern fill.

qgib commented 11 years ago

Author Name: Nathan Woodrow (@NathanW2)


I'm not sure this should be blocker as there is still some missing features from the data defined but we should just aim for 2.1 for those.

qgib commented 11 years ago

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "fd85aeea954642b1a13acab1d5e624008875ef4a".


qgib commented 11 years ago

Author Name: Giovanni Manghi (@gioman)


it works for centroid fills and svg fills. Affects 2.0 and master.


qgib commented 11 years ago

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "fd85aeea954642b1a13acab1d5e624008875ef4a".


qgib commented 11 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 10 years ago

Author Name: Radim Blazek (@blazek)


Fixed in changeset "3c5c7de3023c9ec2e9daa4d74b4846fd3e35caad".