Monday, 7 October 2019

Field Value Mapping QGIS


I am wondering if there is a way to do field value maps that are filtered based on another attribute field? I know how to associate value maps, but not that are connected to another field.


I have two fields in a table Type and Subtype. Type will have three values: Trees, Bushes, and Flowers.



The Subtypes will have different values. ie:


 Subtype for trees would be conifer and deciduous
Subtype for flowers would be roses, daisies, and sunflowers
Subtype for bushes would be blueberry, raspberry, and blackberry

What I want is when Trees is selected from Type, only conifer and deciduous are available from subtype; etc...


Thanks...



Answer



Not at the moment, but this is a planned for 2.1 or 2.2.


You only option at the moment is a custom form with some Python logic to handle that kind of thing.



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...