The Editing Tools button of the Layer Page (see Layer Information) opens a panel like the one shown in the picture below.
In that panel you can see many options grouped by four categories:
In this section you will learn how to edit a Layer, how to replace and edit its data. See Layers Metadata to learn how to explore the layer Metadata, how to upload and edit them. The Styles will be covered in a dedicated section, see Layer Styling.
Setting the Layer Thumbnail¶
It is also possible to manually upload a thumbnail by using the Upload button of the Layer Editing panel. Using the “Upload Thumbnail” page it is possible to enable the automatically generated thumbnail or upload an image to be used in place of it.
Replacing the Layer¶
From the Layer Editing panel click on Replace to change the layer source dataset. You will be driven to the Replace Layer page in which Choose Files button allows you to select files from your disk.
Once the Charset selected the upload process can be triggered by clicking on Replace Layer. If no errors occur you will see a message like the one in the picture below.
We have replaced the roads dataset with the railways one. You can see the differences in the Layer Preview.
Append Data to Layer¶
From the Layer Editing panel click on Append to append data to the layer source dataset. You will be driven to the Append Layer page in which Choose Files button allows you to select files from your disk.
Once the Charset selected the upload process can be triggered by clicking on Append to Layer. If no errors occur you will see a message like the one in the picture below.
We have append the layer_name dataset to the existing one. You can see the differences in the Layer Preview.
Editing the Layer Data¶
The Edit data button of the Layer Editing panel opens the Layer within a Map.
The Attribute Table panel of the Layer will automatically appear at the bottom of the Map. In that panel all the features are listed. For each feature you can zoom to its extent by clicking on the corresponding magnifying glass icon at the beginning of the row, you can also observe which values the feature assumes for each attribute.
Now you can:
Add new Features
Through the Add New Feature button it is possible to set up a new feature for your layer. Fill the attributes fields and click to save your change. Your new feature doesn’t have a shape yet, click on to draw its shape directly on the Map then click on to save it.
When your new feature has a multi-vertex shape you have to double-click the last vertex to finish the drawing.
Change the Feature Shape
You can edit the shape of an existing geometry dragging its vertices with the mouse. A blue circle lets you know what vertex you are moving.
Features can have multipart shapes. You can add parts to the shape when editing it.
Change the Feature Attributes
When you are in Edit Mode you can also edit the attributes values changing them directly in the corresponding text fields.