Hi,

I am looking for a way to implement conditional value mapping in QGIS. This
means that the values available in attribute number 2 depend on the value
provided in attribute 1.

Example:

If the user enters "agriculture" in attribute 1, for attribute 2 only
"corn" or "wheat" will be available.

Instead, if the user enters "forest" in attribute 1, for attribute 2 only
"pines" or "olives" will be available.

And so on...

Apparently this is not doable just using the QGIS widget expression
builder, but I am not sure. Here's a screencast to help visualize. The
problem is that if for "class" I pick other than "Agri_Field", for the
"color_aggri" attribute the same possible values appear.

[image: enter image description here]

Thanks in advance for any hints!


Regards,


Andre




-- 
---------------------------------------------------------------


*Sociedade de História Natural*
Departamento de Informação Geográfica
Polígono Industrial do Alto do Amial
Pav.H02 e H06

i.geograf...@alt-shn.org <laborato...@alt-shn.org>
www.shn.pt
www.alt-shn.blogspot.com
Facebook <https://www.facebook.com/SociedadeDeHistoriaNatural?ref=hl>

TLM: 964138188
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to