Edición de datos espaciales

El map publisher puede mermitir la edición de determinados datos.También tiene la opsción no limitar los cambios.

  • Añadir objetos espaciales

  • Modificación de la geometría

  • Modificación de la información alfanumérica

  • Eliminación de objetos espaciales

Esta herramienta está disponible en la barra de menú de Lizmap. El menúde edición permite seleccionar los datos que se desea modificar.

../_images/user-guide-19-edition-menu.jpg

Una vez que se ha seleccionado una capa, aparece el panel de edición,que varía según la configuración diseñada por el map publisher. Si es posible,hacer cambios,se puede elegir entre añadir un nuevo objeto, botón Add, oseleccionar un objeto, botón Select.

../_images/user-guide-20-edition-add.jpg

Si se ha seleccionado Add, el usuario opodrá dibujar una geometríasegún el tipo de datos de la capa seleccionada.

  • punto

  • línea

  • polígono

En el caso de líneas o polígonos, el usuario tendrá que clicar variasveces sobre el mapa para dibujar la forma deseada.

../_images/user-guide-21-edition-add-draw.jpg

Para terminar el dibujo de líneas o polígonos hay que hacer un dobleclick sobre el último punto deseado. Una vez se termina el dibujo, aparece unformulario para editar la información alfanumérica.

../_images/user-guide-22-edition-add-attributes.jpg

Para anular la edición de la geometría, hay que clicar en Cancel.

Si la geometría es correcta y se han introducido correctamente los datosalfanuméricos, se guardan haciendo clic en save. Así se añadirá el nuevo objeto.Para modificar este objeto habrá que seleccionarlo como veremos a continuación.

Para seleccionar un objeto para actualizarlo, debes seleccionarlo en el mapa y después pulsar el botón Edit.

../_images/user-guide-23-edition-select.jpg
  1. El objeto seleccionado aparece sobre el mapa y su geometría se puedrámodificar directamente.

  2. You can undo geometry changes and stop edition using the Cancel button.

  3. To validate your geometry modifications, you must click Save.

../_images/user-guide-26-edition-select-draw-undo-validate.jpg

If you want to remove a point on a geometry, you must hover it and type Del on your keyboard.

Digitizing button is displayed with line and polygon geometries, by clicking it, you’ll access those tools:

  1. Node tool (default). Move or delete the geom nodes (vertices) and also create new ones by dragging virtual nodes in the middle of the segments.

  2. Drag tool. Translate a geometry by dragging the displayed point at the center of the geometry.

  3. Rotate tool. Rotate a geometry by dragging the displayed point at bottom right of the geometry.

  4. Reshape tool.

  5. Split tool.

  6. Reverse geom (To be used with the node tool). Reverse nodes (vertices) order. Useful for streets when their circulation orientation is reversed for example.

../_images/user-guide-27-edition-digitizing.jpg

Copy existing geometry

When creating or editing a feature, you can copy the geometry of an existing feature from any visible layer that is published as WFS. This is useful when you need to create features with similar shapes to existing ones.

  1. Start editing a layer by clicking Add or selecting an existing feature to edit.

  2. Click the Copy and paste an existing geometry button in the digitizing toolbar. The draw tool is temporarily deactivated and the cursor changes to a crosshair.

  3. Click on the map at the location of the feature whose geometry you want to copy. Lizmap will query all visible WFS-enabled layers at that position.

  4. A popup appears listing the features found at the click location. Only features with a compatible geometry type are shown (e.g. when editing a polygon layer, only polygon features are listed).

  5. Hover over a row in the popup to highlight the corresponding feature on the map.

  6. Click on a row to copy that geometry into your current editing session.

  7. The copied geometry is applied and the draw tool is reactivated. You can continue to modify the geometry or save the feature directly.

To cancel the copy operation, click the Copy and paste an existing geometry button again to deactivate it.

Truco

Only layers that are visible, with the popup enabled and published as WFS can be queried. If a visible layer does not appear in the feature list, contact your administrator to ensure the layer has these capabilities enabled.