Feature request #13622

Create the possibility to make attribute queries with mapped values using QML files

Added by Luiz Andrade almost 5 years ago. Updated about 3 years ago.

Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:21660


Dear all, I'm a Brazilian Army Officer and our Geographic Service Bureau is adopting QGIS as our corporate GIS solution.
Brazil has a national vectorial geospatial data structure, called EDGV, and almost all features in that structure use mapped values. To deal with that the Brazilian Army has developed the plugin DSGTools (http://plugins.qgis.org/plugins/DsgTools/). The plugin uses QML files to map the values and make feature creation easier to our user but we need to make queries and the default QgsExpressionBuilderWidget doesn't allow us to use mapped values. We want the user to be able to build queries using the keys present in our QML files.

For instance, today we make the following query:
"geometriaaproximada" = 1

But we want to able to build this:
"geometriaaproximada" = Yes (easier to our user to understand what he/she is actually querying)

hid_trecho_drenagem_l.qml - Sample QML file used in our plugin with several mapped values (2.63 KB) Luiz Andrade, 2015-10-16 06:13 AM


#1 Updated by Giovanni Manghi over 3 years ago

  • Easy fix? set to No

#2 Updated by Jürgen Fischer about 3 years ago

  • Category set to Unknown

Also available in: Atom PDF