5.7. Layer settings

5.7.1. Introduction

Layers settings become available after a layer creation.

To edit a layer you need to navigate to a child resource group (see item 4 in Pic. 5.5.), where would be displayed resource types. Then select from child resources a resource with type vector layer and press the “Pencil” icon opposite the resource or select the layer and then select an action called “Update” in actions pane (see Pic. 5.17.). The window “Update resource” will open, where you can edit the layer.

5.7.2. Edit attribute values

NextGIS Web software allows to edit attributes for geographical features. Editing could be launched from administrator interface or from a map display.

  • Editing of attributes from administrator interface:

    • Click the “Table” icon opposite the resource or select an action for a vector layer called “Feature table” in actions pane (see Pic. 5.11.).

    • A feature table for the layer will open. Click a radio

    button at the left side of a row you want to edit. - Click “Edit” button (see Pic. 5.110.).


Pic. 5.110. Editing of attributes from administrator interface.

  • Editing of attributes from a map display:

    • Open a web-map.

    • Click on a map with identify tool active.

    • Click edit button in identify window (the last tab, see Pic. 5.111.).


Pic. 5.111. Editing of attributes from a map display.

You can change attribute values in opened window. Description made on “Description” tab will be visible on a map display in indentify window.

In the editing of attributes window there are the next tabs:


Pic. 5.112. “Attributes” tab.


Pic. 5.113. “Description” tab.


Pic. 5.114. “Attachments” tab.

When editing a PostGIS layer attribute changes are saved to PostGIS database and descriptions are saved to a local database. When editing a layer based on a Shapefile attribute changes are saved to a local database.

Geodata with changed attributes could be downloaded by link Download as GeoJSON or published as WFS service. Download of descriptions is currently unavailable.

5.7.3. Adding photos to geodata

NextGIS Web software support adding photos to feature records. If a feature has attached photos they will be shown with a description and attributes in identify window (see Pic. 5.115.).


Pic. 5.115. Identify window with an identify result with attached photos.

You can add photos in a map display. To do it:

  1. Click on a feature on a map with active Identify tool.

  2. Click edit button in Identify window (see Pic. 5.111.).

  3. In the edit tab navigate to “Attachments” tab (see Pic. 5.114.).

  4. Upload photos. JPEG and PNG formats are supported. GIF format is not supported (see. Pic. 5.116.).


Pic. 5.116. Attachments tab of edit feature window for upload of photos.

  1. Enter Description and click “Save”.

After upload of photos you can see previews of photos on “Attachments” tab if identify window (see Pic. 5.115.).

After a click on a photo preview a lightbox window is open (a javascript powered window in browser). Photo size is adjusted to fit the window. Photos have descriptions and user can navigate through photos using left and right arrow keys on a keyboard (see Pic. 5.117.).


Pic. 5.117. A lightbox with uploaded photos for an identified feature.


By default photos could be added by any user but there is an option to limit number of users who can upload photos (see Access management).

To delete a photo select it on “Attachments” tab of editting attributes window and click “Delete”, and then click “Save” button.