Editing Data

Two tools allow you to create, modify or delete elements on an editable layer:

  • JMap's Edition extension allows you to create new elements directly in a map-based interface and modify or delete them.

  • The elements explorer allows you modify attributes of existing elements or delete existing elements in the personal layers.

Editing data with the Edition extension

The JMap administrator included this extension in the JMap Pro application. The user manual of Edition extension, which can be accessed via your application's help menu, provides more details about this extension's functions.

If the edition tools are not visible, you can display them by selecting Edition in the View menu. The graphical user interface of the Edition extension is as follows:

1

Select the type of geometry you wish to create. Your selection must not be incompatible with the type of layer (e.g. you cannot create polygons on a layer of points).

2

Select the layer on which you wish to create elements. If several editable layers have been added to the project (including personal layers), they will all appear in this list. Note: The layer named Annotations is not a personal layer. It is a generic layer on which you can draw freely but it does not allow you to define attributes.

3

4

All editing operations can be canceled individually if they have not been saved. You can also restore canceled actions by clicking on the Redo arrow.

Creating cartographic elements

To create new elements you must select the editable layer in the extension Edition window and then the type of geometry of the layer, as indicated in the previous table.

You can create the geometry of each element using the editing tools directly by clicking on the map at the desired position. This section of the user manual of Edition provides details on the subject.

When the geometry is created, the attribute entry form is displayed. You can enter the values of the attributes here. Some attributes are required. The form can only be closed when all the required attributes have been completed.

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

Two examples of validation rules:

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

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

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

The following section provides more details on the forms.

Editing elements

You can change the location, geometry, or attributes of cartographic elements.

To modify the attributes of an element you must click on the element in the map with the right button in order to display the pop-up menu. Select the Edit attributes function and select the element you want to edit. Notice that all the elements of the editable layers that are in the place where you clicked are displayed.

The element attributes form displays and you can edit the editable fields.

If the form contains a relevant field, you can add photos (standard and 360 degrees) from your computer's file system. You can also add a title and comments to photos that were entered using a JMap Survey application, or to photos that were uploaded as files in the forms of JMap Pro and JMap Web applications. To do this:

  1. Open the form of the element you want to edit using the Edit attributes function in the pop-up menu. When the pointer moves over a photo, its name is displayed.

  2. Double-click on a photo to open the metadata interface of the photo.

  3. Add or edit the Title of the photo.

  4. Add or edit a Comment. Your comment can contain up to 255 characters.

  5. Metadata of the photo can be included and you can modify its presentation format.

  6. Press OK to close the data interface of the photo.

  7. Press OK to close the form.

  8. Save the changes in the interface of the Edition extension. You can see the new title in the element form.

  9. You can view the changes in the element's form and also in the mouseover bubble, if it has been configured to display the photo. To do so, double-click on the photo of your choice in the mouseover bubble to open the photo viewer. Note that the amount of photos to display in the mouseover bubble and their size can cause a delay in the display of the mouseover bubble. As 360 degree photos are large the delay in the display can be pronounced.

Forms can contain nested subforms. These may be used, for example, to enter information on the inspections performed for an element over time, as shown in the following image.

Duplicating and deleting elements

The pop-up menu offers editing tools for individual elements or for a selection of elements that you have made using the selection tools: you can delete the elements or you can duplicate them to another editable layer.

You must always save or cancel the transactions made in the extension Edition window for the changes to be saved.

Batch editing the attributes of a set of elements

You can also batch edit the attributes of a selection of elements from certain layers. Indeed, when a layer contains forms with subforms, you can edit the attributes of the form or of a subform in batches, for a set of elements you have selected. In the case of subforms, editing includes adding new records as well as modifying or deleting existing records.

The following figure illustrates this process.

  1. In the extension Edition window, select the layer you want to edit.

  2. Select elements from the layer using the interactive selection tools.

  3. Open the attributes form of the selected elements using the pop-up menu.

  4. Select the subform records you wish to modify and press Edit.... The subform interface displays.

  5. Modify the attribute values for the set of selected elements.

  6. Press OK to close the subform.

  7. Press Add to add a new record to the subform. The procedure is similar to that of editing existing records.

  8. To delete recordings, select them and press Delete.

  9. Save the transactions made in the extension Edition window. The number of transactions is equal to the number of modifications made (edition, addition or deletion) times the number of elements of the layer selected.

Editing elements in WKT format

The Edition extension also allows you to edit WKT elements. You can add WKT elements from Tools -> Add WKT geometry in the menu bar. A window opens, allowing you to enter the coordinates of the elements you want to add.

The elements are added in the Annotations layer. They can be saved in a context, where they can be selected and duplicated in other editable layers using the pop-up menu. This menu also allows you to delete elements and modify their vertical position.

The pop-up menu also allows you to edit WKT elements. The Edit WKT geometry function displays the elements of the layers found at the map point where the context menu is open. Select one of the elements to open the window containing the element's coordinates and data. If you have the appropriate permissions, you can edit this data.

Editing Elements in the Elements Explorer

1

2

Click on a field to enter or modify the attribute value.

3

Some of the attributes that are displayed cannot be edited (Author, Creation Time, Modification Time, ID JMap). These are system attributes and their values are automatically set by JMap.

Layer elements can also be deleted if Edit mode is enabled.

1

Select the element you want to delete. Press Delete on your computer keyboard.

2

The element disappears from the elements explorer.

3

The transaction must be saved in the Edition extension's window.

Dernière mise à jour

K2 Geospatial 2022