QGIS Python Plugins Repository
ValueMap to Lizmap
This plugin creates a table layer with all the ValueMap items of the project to be used as input for a js script which shows description instead of code in Lizmap attribute tables
This plugin retrieves all codes and labels from columns with ValueMap widget and compiles a table layer added to the QGIS project.
The table layer has four text columns named: fieldname, cod, label and layer and it is automatically created and added to the QGIS project.
This table is then used by the valueMap_in_attributeTable.js file in order to show descriptions instead of lables in Lizmap attribute tables.
The resulting table layer must be added to lizmap web client as WFS layer.
Moreover the script automatically put the valueMap_in_attributeTable.js in the proper folder i.e. media/js/project_name/.
If these folders do not exist, they are automatically created.
The valueMap_in_attributeTable.js only works for fields of type text with Lizmap 3.3. Numerical fields will be supported starting from Lizmap 3.4.
- Author
- Roberta Fagandini (Gter srl) - Roberto Marzocchi (Gter srl) - Rossella Ambrosino (Gter srl)
- Maintainer
- robifag
- Tags
- web , attribute , attribute table , table , field , lizmap , widget , value map
- Plugin home page
- https://github.com/gtergeomatica/valuemap_2_lizmap
- Tracker
- Browse and report bugs
- Code repository
- https://github.com/gtergeomatica/valuemap_2_lizmap
- Latest experimental version:
- 0.3
- Plugin ID
-
2212