Editing Data

<< Click to Display Table of Contents >>

Navigation:  Map Layers > Editable Layers >

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.

Editing data with the Edition extension

The JMap administrator included this extension in the JMap Pro application. The user manual, 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.

Graphical user interface of the Edition extension

Graphical user interface of the Edition extension

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

When you bring changes (add, modify, delete) to a personal layer, JMap stores the transactions that should be saved.

Press to save the layer transactions on the JMap server.

Press to reject the transactions and cancel all changes on the layer.

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.

When the geometry is created, the attribute entry form displays. Here you can enter attribute values. Some attributes are required. The form can only be closed once all required attributes have been entered.

Example of a form for entering attribute values

Example of a form for entering attribute values

The attribute entry form can also be opened by right-clicking on a map element.

Pop-up menu displaying the attribute entry form

Pop-up menu displaying the attribute entry form

You can edit some of the metadata of photos of elements that was entered using a JMap Survey application or uploaded as a file in the JMap Pro and JMap Web application forms. 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.Edit the photo Title.

4.Press Enter to save the new title.

5.Press OK to close the metadata interface of the photo.

6.Press OK to close the form.

7.Save the changes in the interface of the Edit extension. You can see the new title in the element form.

The pop-up menu offers other editing tools. If you have a selection of map elements, you can delete them or duplicate them on another editable layer.

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.

Batch editing the attributes of a set of elements

You can 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 a subform in batches, for a set of elements you have selected.

The following figure illustrates this process.

1.Select elements from a layer.

2.Open the attributes form of the selected elements using the pop-up menu. In the following example, the Permis subform displays the attributes of the selected elements.

3.Select the records you wish to modify and press Edit.... In the example the Permis subform displays.

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

Editing Elements in the Elements Explorer

Element attribute values can be entered or modified directly in the elements explorer of an editable layer. Edit mode must be enabled by pressing .

1

Press to enable edit mode. In this mode, all modifiable attribute values can be entered or changed. Afterward, click on a field to change its value. Date fields display a calendar to facilitate data entry. Values that are entered are validated in order to ensure their compatibility with the attribute type.

For more information on how to use the elements explorer, refer to Elements Explorer.

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.