6.7. Update resource

In the group page press the pencil icon opposite the resource.

../../_images/ngw_update_resource_from_group_en.png

Alternatively, open the resource properties page and then select “Update” in the actions pane (see Pic. 6.98.).

../../_images/ngw_window_update_edit_resource_en.png

Pic. 6.98. Selection of “Update” action in the actions pane

In opened window “Update resource” (see Pic. 6.99.) you can edit parent of the selected resource, add description, metadata and attributes of the resource.

../../_images/ngw_window_update_resource1_eng_3.png

Pic. 6.99. “Update resource” window

On the first tab “Resource” you can edit the following fields:

  1. Display name (you can change the resource’s name)

  2. Parent (you can change the resource group through moving the resource)

  3. Owner

  4. Keyname

6.7.1. Move resource

You can move resources from one resource group to another.

There are two ways to do so.

6.7.2. Using resource update

This is a good way if you only need to move one resource.

  1. Open the Properties page of a resource you want to transfer;

  2. Select Action ‣ Update on the right side of Web GIS admin console;

  3. In the opened dialog window in the field Parent in Resource tab select Resource group you want to transfer your resource to;

  4. Press Save button. If a resource is transferred successfully its name will appear in the new Resource group and disappear from the previous Resource group.

../../_images/ngw_resource_selection_eng_3.png

Pic. 6.100. Selecting the target group

In the same way you can transfer Styles between parent resources (Vector layers, Raster layers, PostGIS layers).

6.7.3. Using multiple selection

This way allows you to move several resources at once.

Open the group containing the resources you’d like to move. In the Child Resources list click the three dots in the upper right corner and in the menu press “Select multiple resources”.

../../_images/select_multiple_enable_en1.png

Pic. 6.101. Enabling multiple selection

Boxes will appear to the right of the resource names in the list. Tick them to mark resources for transfer. If you tick the box by the “Display name” title, all resources in the list will be selected. After selecting the resources, open the menu again and press “Move”.

../../_images/move_selected_en1.png

Pic. 6.102. Selecting resources to be moved

A pop-up window of group selection will open. In this window you can use a search bar. Click the magnifying glass in the top left corner and start entering the name of the group you want to find. To go up in the resource tree, click the path indicated in the top panel of the window. To open a folder from the list, click the arrow icon on the right. If you want to return to the source group, click the icon |< in the top right corner.

To select the group as the destination, click the circle to the left of its name, a blue dot marker will appear. Then press “Move to selected group”. To move resources to the main group, click on the house icon in the top panel of the pop-up window and then press “Move to this group”.

../../_images/move_to_selected_group_en1.png

Pic. 6.103. Selecting the target group

If in the selected folder there are already resources with the same name as those you want to transfer, they will not be moved and the following message will appear:

../../_images/move_name_not_unique_en1.png

Pic. 6.104. Alert in case if the name is not unique

Close the alert window, change the name of one of the resources and try to move it again.

If a resource is transferred successfully its name will appear in the new Resource group and disappear from the previous Resource group.

See how it works in our video:

Watch on youtube.

6.7.4. Edit description and metadata

The “Description” tab allows to add text, links and images describing the resource.

../../_images/ngw_description_window_eng_3.png

Pic. 6.105. “Description” tab

The “Metadata” tab allows to add and delete metadata, and to display them in a table using Add and Remove operations:

../../_images/ngw_metadata_tab_eng_3.png

Pic. 6.106. “Metadata” tab

The table contains three columns:

  1. Key. It allows to describe metadata features (author, date, version etc.)

  2. Type: String, Numer, Boolean, Empty (if you select “Empty”, the value field will be cleared)

  3. Value. Value corresponds to the key type

6.7.5. Delete resource

Web GIS allows to delete uploaded data through deleting of the corresponding resources.

In the group page press the cross icon opposite the resource.

../../_images/ngw_delete_resource_from_group_en1.png

Pic. 6.107. Deleting resource from the group

A pop-up window for confirmation will appear. Click Delete to confirm.

../../_images/ngw_delete_from_group_confirmation_en1.png

Pic. 6.108. Confirmation to delete a resource

Alternatively, open the resource page and then select “Delete” in the actions pane (see Pic. 6.109.).

../../_images/ngw_window_update_delete_resource_2.png

Pic. 6.109. Selection of “Delete” action in the action pane

In the opened “Delete resource” window you need to tick “Confirm deletion of the resource” and press Delete button.

../../_images/ngw_delete_from_page_confirmation_en1.png

Pic. 6.110. “Delete resource” window

If the resource was deleted successfully, the information about it disappear from the corresponding resource group.

6.7.5.1. Deleting several resources at once

In the parent resource open the child resources list menu and enable multiple selection.

Tick the resources and select “Delete” from the same menu. Confirm the operation in the pop-up window.

../../_images/delete_selected_multiple_en1.png

Pic. 6.111. Deleting multiple resources