Hi list,<br>I was asked about QGIS and field domains and I began to search for some answers. As far as I could see, QGIS have domain support and one can set these domains. Is there a way to set QGIS to search the domains from a table or file? (like doing a join in a domain table).<br>
The purpose of this is that ESRI PGeo comes with the gdb_codeddomains inside it&#39;s own dataset, and one could read these data and set as comboboxes in qgis. When talking about SpatiaLite, Postgis and Shapefiles, we could use domain tables to allow the user to set the attributes from these lists rather than setting numbers like 0, 1, 2.<br>
I was thinking about writing a plugin to read the parameters from a nonspatial table and set the domains using QgsVectorLayer::setEditType <em>ValueMap</em>, but I think it&#39;s an odd approach for this problem.<br>Does anyone have experience with this and can shead a light on how it would be easier to the user to see these domains? The main difference from PGeo is that we don&#39;t have a fixed domain table so I think it should be flexible enough to read the domains from tables from any dataset qgis suport.<br>
Maurício de Paulo.<br>