5.4. Administrator interface¶
5.4.1. Home page¶
After login to administrative interface the user is taken to the home page shown on Pic. 5.2.
The numbers indicate: 1 - Main menu; 2 - User settings (Exit and Change language); 3 - Resource search bar in Web GIS 4 – Main resource group description; 5 - Child resources; 6 - User permissions for main resource group; 7 - Types of items that could be added to the main resource group; 8 - Actions that could be performed with main resource group
Description pane (see item 4 in Pic. 5.2.) displays a main group description (if available).
Child resources pane (see item 5 in Pic. 5.2.) contains a list of all resources placed in a main group. In the form of a table, the parameters such as name, type and owner of the resource are available. At the same time there are buttons of different actions over resources (edit, delete, preview, open the attribute table).
User permissions pane (see item 6 in Pic. 5.2.) displays list of permissions the current user granted for the current group. Green and red marks indicate that user has/don’t have corresponding permission.
A - allow
D - deny
M - mask (indirectly deny)
E - empty (actually deny)
Possible permissions are the following:
Actions pane (see items 7 and 8 in Pic. 5.2.) contains tools for adding data and executing operations with root group.
In current version it is possible to add the following types of data (see item 6 in Pic. 5.2.):
Depending on your NGW version may also be connected:
SVG marker library
Possible operations are (see item 7 in Pic. 5.2.):
5.4.2. Control panel¶
Control panel allows to execute the following actions:
Manage NextGIS Web groups and users
Display information about the system
Set the name of your Web GIS
Set CSS styles
Specify NGW start page (home path)
Set Logo (in the upper left corner)
Customize a type of users who have permission to export data
Create user accounts for Collector projects
Customize web map
For more information about creation of user groups and users and granting permissions see topic Administrative tasks.
5.4.3. Resource view¶
After login to administrative interface the user is taken to home page shown on Pic. 5.5..
The content of resource group is displayed after a click on resource name in a child resources pane of main resource group (see item 4 in Pic. 5.2.). On resource group page there is a pane with a list of resources in a main group and user permissions pane. Layer properties are displayed after a click on a name of a layer in child resources pane. E.g. user can click on a resource of type vector layer.
After a click on layer in child resources pane user is taken to a vector layer properties and attributes page (see Pic. 5.6.).
5.4.4. Feature table¶
To view feature table after login navigate to a child resource group (see item 4 in Pic. 5.2.) where would be displayed resource types. Then select from child resources a resource with type vector layer and press the “Table” icon opposite the resource or select an action for a vector layer called “Feature table” in actions pane (see Pic. 5.7.).
Feature table allows to perform the following operations with a selected record (see Pic. 5.8.):
Use Search Box
There is another way to open Feature table. In the adminitrative interface navigate to a child resource group where would be displayed resource types and select a resource with a type web map. In actions pane click a web map action called Display (see Pic. 5.9.):
A web map will be opened with a layer tree (left) and a map (right). To view a feature table select required layer in layer tree and then select “Feature table” command in Layer drop down menu at the top of layer tree Pic. 5.10.:
A table will be displayed in a new tab. Table allows to perform the following operations with a selected record Pic. 5.11.:
Go to (after a click the selected feature will be displayed on the map)
Use Search Box
5.4.5. Update resource¶
To edit a resource after login navigate to a child resource group (see item 5 in Pic. 5.2.), 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.12.).
In opened window “Update resource” (see Pic. 5.13.) you can edit parent of the selected resource, add description, metadata and attributes of the resource.
On the first tab “Resource” you can edit the next fields:
Display name (you can change the resource’s name)
Parent (you can change the resource group through moving the resource)
You can move resources from one resource group to another after their creation too. To do it press Parent drop down menu and select resource group to move the resource to in “Select resource” window (see Pic. 5.14.). Then press OK and “Save” button.
If the resource is moved successfully, the information about it appears in a new resource group and is replaced from the previous one.
The tab “Description” allows to edit or delete a text or to add a new text and to save it after pressing “Save” button:
The tab “Metadata” allows to add and delete metadata, and to display them in a table using “Add” (Text, Integer, Float) and “Remove” operations:
The table contains three columns:
Key. It allows to describe metadata features (author, date, version etc.)
Type: Text, Integer, Float
Value. Value corresponds key type
The tab “Attributes” contains a table with vector layer attributes (see Pic. 5.17.).
Tick in “FT” column means that the attribute is displayed in the identification window.
Tick in “LA” column means that the attribute gives its name during the identification and forming of the tabs list.
For each field name you can set the corresponding pseudonym to use it for display in the identification window instead of the name.
5.4.6. Delete resource¶
Web GIS allows to delete uploaded data through deleting of the corresponding resources.
To delete the resource after login navigate to a child resource group (see item 5 in Pic. 5.2.), where would be displayed resource types. Then select from child resources a resource with type vector layer and press the “Cross” icon opposite the resource or select the layer and then select an action called “Delete” in actions pane (see Pic. 5.19.).
In the opened “Delete resource” window (see Pic. 5.20.) you need to tick “Confirm deletion of the resource” and press “Delete” button.
If the resource was deleted successfully, the information about it disappear in the corresponding resource group.
5.4.7. Data export to CSV and GeoJSON formats¶
Web GIS allows to download/export data in CSV and GeoJSON formats.
To download data after login navigate to a child resource group (see item 5 in Pic. 5.2.), where would be displayed resource types. Then select from child resources a resource with type vector layer or PostGIS layer you need to export and select an action called “Download as GeoJSON” or “Download as CSV” in actions pane “Vector layer” (see Pic. 5.21.).
NextGIS Web allows you to export data in the following formats:
While exporting to some formats additional files are created, for example CSVT (field description) and PRJ (projection description) for CSV, CPG (code page) for ESRI Shapefile.
To export data:
Open a Vector or PostGIS layer, the data of which you want to export;
Select the item: menuselection: Features -> Save As on the right pane: ref:` web interface <ngw_admin_interface> `;
Specify the format and encoding of the data;
If necessary, you can compress the result into a ZIP archive (for a number of formats this is the default setting)
Save the file to your device