Edit Data

You can edit data in map layers. You must have the relevant permissions for the different types of editing:

  • Create a new element

  • Modify the geometry of an element

  • Modify the values of the attributes of one or more elements

  • Delete one or more elements

Creating an element

To create a new element:

  1. Click on the layer of your choice to select it and click Next. The Create geometry panel is displayed.

  2. Create the geometry of the element. The following table details the procedure for creating each type of geometry.

Point

1. Click where you want to draw a point.

2. To modify the location of the point, click on it, the point turns yellow, and move it to the desired position.

Line

1. Click where you want to draw the first point of the line. 2. Click to draw the vertices of the line. 3. Double-click to end the line. 4. To modify the line, click on a vertex, which turns yellow, and drag it to the desired location. 5. Repeat until you get the desired geometry.

Polygon

1. Click where you want to draw the first vertex of the polygon. 2. Click to draw the vertices of the polygon. 3. Double click to draw the last vertex and finish the polygon. 4. To modify the polygon, click on a vertex, which turns yellow, and drag it to the desired location. 5. Repeat until you get the desired geometry.

  1. Click Next to open the form in which to enter the attributes of the element.

  2. Enter the values for each of the form fields. You can upload photos, if the form allows it. To delete a photo, click on the x that appears on the photo when the pointer passes.

    Some fields are affected by data validation rules. These rules are configured by the JMap administrator to ensure the quality of the data collected with the form.

    Two examples of validation rules:

    a) If I select certain values in field A, field B becomes mandatory.

    b) I select a value in field A and the field B value is calculated automatically.

    You cannot save the form if the values you enter do not meet the validation rules.

    Some forms contain subforms to record information related to the element, such as inspections over time. Subforms are a separate section in the form.

    To complete a subform you must first create the element.

    Subforms are accessible when you want to modify an element. The Modify Attributes sections provide details about that.

  3. Click Create to create the element. This is displayed in the map. The Select type of feature to create panel closes automatically.

Modifying an element

You can modify an element of an editable layer, if you have the relevant permissions:

  1. Select the type of editing you want to perform.

Modifying an element’s geometry

  1. Click on Change Geometry to display the panel Update geometry. The geometry of the element is colored yellow.

  2. Click on the element to select it. Lines and polygons display vertices.

  3. If you want to change its position, drag the element and drop it to the desired location.

  4. If you want to change its shape, click on a vertex to select it and drag it. New vertices are created between 2 existing vertices to allow you to modify the shape of the geometry.

  5. Click on Save to save the changes.

Modifying the value of an element’s attributes

  1. Click on Edit info to edit the attribute value of the element. The form is displayed.

  2. Modify the value of the attributes. To delete a photo, click on the x that appears on the photo when the pointer passes.

  3. Click on a photo. An interface displays:

    3.3. You can write or edit comments.

  4. Complete the fields of the subform.

  5. Click on Create to create a new entry. The subform closes, and the form displays the entry.

  6. Click on Update to save the changes. The form closes automatically.

Removing an element

  1. Click on Delete if you want to delete the element. A validation message is displayed.

  2. Click on OK. The element is removed from the layer.

Modifying a set of elements

You can edit a set of elements you have selected through an attribute-based search or through interactive selection in the map.

To batch modify the set of elements:

Modifying the value of attributes

  1. Click on Edit info to modify the value of the attributes. The form is displayed.

  2. Modify the value of the attributes. To delete a photo, click on the x that appears on the photo when the pointer passes.

  3. Click on a photo. An interface displays:

    3.3. You can write or edit comments.

  4. You can modify the entries of the subforms.

    4.2. Complete the fields of the subform.

    4.3. Click on Create to create the new entry.

    4.5. Edit the field values.

    4.6. Click on Update to save the new values.

  5. Click on Update to save the changes. If the form values are correct, the form closes automatically. If the values you entered do not meet the validation rules of the form, an error message is displayed and you cannot update it.

Removing elements

  1. Click on Delete if you want to delete the set of elements. A validation message is displayed.

  2. Click on OK. The elements are removed from the layer.

Dernière mise à jour

K2 Geospatial 2022