Tuesday, 12 February 2019

labeling - Filling shape with labels or attributes in QGIS?


In QGIS, I would like to set the fill of a shape to be a pattern repetition of label values (i.e. an attribute of the item).



Is this possible, looking a little like the sketch below (for shapes with ID = 1,2,3)?


Example



Answer



On Layer Properties window, select Single Symbol | Fill | Simple fill - Symbol Layer Type- Point pattern fill | Font marker. Then click Data defined override (field) and choose your field.


enter image description here


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...