7.13. Vector layer settings
To edit a layer log in to the Web GIS.
To modify layer settings, open the group containing the layer (see Pic. 7.5., item 5), find the layer in the list and click on the pencil icon next to it.
It opens the Update resource page. On this page you can edit the settings standard for all types of resources (parent, description, metadata, access permission) and specific for vector layers:
edit fields and their aliases;
enable editing for vector features and annotations on the map.
Web GIS interface allows to edit geometries on the map and feature attribute values, add description and attachments (photos etc) to features of Vector layers and PostGIS layers.
7.13.1. Edit vector layer attributes table
“Fields” tab contains a table with vector layer attributes (see Pic. 7.145.).
On this tab you can:
Delete a field by pressing the
symbol at the end of the row;
Edit a field. Click on a table row to open the properties of the field.

Pic. 7.145. “Fields” tab
The table contains the following columns:
Display name that is used in the identification window instead of the keyname;
Keyname - technical name of the attribute, can be comprised only of plain latin symbols;

Pic. 7.146. Display name with superscript symbol and keyname of the field

Pic. 7.147. The identification window. Names of the fields are displayed with superscript symbols
Type - defines what data can be stored in the fiels:
INTEGER - numbers between -2147483647 and 2147483647, no decimals;
BIGINT - long numbers without decimals, between -9223372036854775807 and 9223372036854775807;
REAL - floating-point numbers, e.g. 44.4444;
STRING - a text of any length;
DATE - date;
TIME - time;
DATETIME - date and time.
For the next three parameters a dark symbol means “on” and a light symbol means “off”.
Feature table - the attribute is displayed in the identification window.
Text search - you can disable text search in the values of the attribute.
You can also add a Lookup table. It allows to select values of the attribute when you add or edit features. To add a lookup table, click on the field in the form, then select the lookup table resource in the pop-up window .

Pic. 7.148. Adding lookup table to a field
To go back to the table view, click Hide details in the top row of the form.
After all edits are made, click Save.
7.13.2. Delete or replace all features
NextGIS Web software allows to delete all features of a layer or replace them by uploading a new file.
Click on the pencil icon next to the layer.
In the “Vector layer” tab select the action from the dropdown menu.

Pic. 7.149. Options to edit the layer file
You can delete all the features. This will result in an empty layer of the same structure that you can add new features to. To do so, select “Delete all features from layer”, tick to confirm and press Save.

Pic. 7.150. Deleting all features from the layer
You can replace all the features by uploading a previously prepared file. Select “Replace layer features from file”. Open the file or drag and drop it into the frame.

Pic. 7.151. Replacing layer file
If the file has multiple layers, select the one you need in the “Source layer” field. You can also set up other properties, as while creating a new vector layer.
If you replace the file, not only the features, but the structure of the attributes and other properties will be changed to match the new file.