Editing spatial data¶
The map publisher can allow users to edit certain data. It also has the ability to limit possible changes:
- adding spatial object
- geometric modification
- fields modification
- deleting spatial object
The feature is available in the Lizmap menu bar. The edit menu allows you to select the data you want to update.
Once the layer selected, the edit pannel appears. This varies depending on the configuration desired by the map publisher. If any changes are available you have to choose between Add a new object or Select one.
If you have selected Add, you will be asked to draw a simple form that depends on the selected data layer:
In the case of line and polygon, you need to click several times to draw the shape you want.
To finish your line or your polygon you must add the last point by double-clicking the desired location. Once drawing finished, an editing form for fields will be displayed.
If you want to restart drawing the geometry, you should click Cancel.
If the geometry is right for you and you have entered the required information, you can Save. The new object will be added. You will be able to update it by selecting it.
To select an object to update, you will need to click on it on the map then click on the button Edit.
The selected object appears on the map and its geometry may be changed immediatly.
You can undo geometry changes using the Cancel button.
To validate your geometry modifications or simply access the editing form for fields, you must click Save.
A dialog box containing the editing form for fields of the object appears.
The Save button saves the geometry and attributes changes.
If you want to remove the object you selected, you must click Del.
Finally, to disable editing tool, simply click on Close or click again on the Edition icon.