11.11. Integration with NextGIS Web

You can learn more about the main features of Web GIS in Web GIS.

NextGIS Mobile can be connected to a Web GIS created on the NextGIS Web platform. This integration allows to exchange data with a Web GIS: upload local layers to the server, download data from the server, edit the data, view tracks recorded with the app on a Web Map.

To add a connection to a Web GIS, you need to be logged in.

If the NextGIS ID already has a Web GIS associated with it, it will be automatically added to the app. All the Web GIS where the user is a team member will also be added.

If you don’t have a Web GIS yet, create it from your account.

You can add more connections to cloud-based Web GIS as well as on-premise Web GIS.

You can edit or delete a Web GIS connection.

11.11.1. Add a layer (vector/raster) from Web GIS

  1. Open Layers tree panel (item 1 in Pic. 11.4.).

  2. Then tap “Add geodata” button.

  3. Select “Add from Web GIS” in the opened menu.

../../_images/ngm_layer_tree_add_from_wg_en.png

Pic. 11.86. Select how to add data

  1. If you have multiple Web GIS connections added to the app, select the one you need (see Pic. 11.87.).

../../_images/ngm_select_webgis_en.png

Pic. 11.87. Selecting Web GIS

Note

How to add a Web GIS connection Add Web GIS connection.

In the opened window you can see the list of internal resources and layers (vector and raster) for the selected Web GIS account. Select a group of Web GIS resources, then tick a layer and tap “Add”. A vector layer can be added both as vector and as raster.

../../_images/ngm_add_layer_select_en.png

Pic. 11.88. Selecting a layer in the Web GIS resource group

Note

If you need to select several layers in different groups of the same Web GIS, the ticked layers stay selected while you switch between groups.

  1. A pop-up window of layer processing progress will appear.

../../_images/ngm_processing_layer_en.png

Pic. 11.89. Layer processing pop-up

If you need to stop downloading the layer, press Cancel. To continue using the app as the layer is being processed, press Hide. The progress bar will be moved to the notification panel (see Pic. 11.90.).

../../_images/ngm_download_status_en.png

Pic. 11.90. Download status in the notification panel

If you want to stop downloading the layer, open the notification panel and press Stop.

11.11.2. Parameters for synchronization with Web GIS

NextGIS Mobile application can access the server at set intervals to share edits and keep layers on the device and in the Web GIS up to date.

To enable synchronization:

  1. Open the menu by tapping the three dots in the top right corner (item 5 in Pic. 11.4.).

  2. Select “Settings” (Pic. 11.97.).

  3. Select “Web GIS” (Pic. 11.98.).

  4. Select the Web GIS from the list.

../../_images/ngm_webgis_list_en.png

Pic. 11.91. List of added Web GIS connections

  1. On the Web GIS settings screen you can:

    • Turn on automatic synchronization;

    • Set up sync interval (between 5 min and 2 hours);

    • Turn on/off synchronization for a particular Web GIS layer.

../../_images/ngm_webgis_sync_param_en.png

Pic. 11.92. Settings of a Web GIS account

Synchronized layers are marked with the circular arrows icon. The same icon appears by the layer name in the layer tree.

../../_images/ngm_layers_tree_sync_en.png

Pic. 11.93. Synchronized layers marked in the layer tree

11.11.3. Add Web GIS connection

There are two ways to connect your NextGIS Mobile app to a Web GIS.

Via layer tree

  1. Open Layers tree panel (item 1 in Pic. 11.4.).

  2. Then tap on “Add geodata” button (item 4 in Pic. 11.5.).

  3. Select “Add from Web GIS”.

../../_images/ngm_layer_tree_add_from_wg_en.png

Pic. 11.94. Add geodata dialog

  1. In the opened dialog select “Add Web GIS”.

../../_images/ngm_add_webgis_en.png

Pic. 11.95. Web GIS dialog

  1. On the next screen enter the Web GIS name, username and password of your NextGIS ID and press Sign in.

../../_images/ngm_webgis_login_en.png

Pic. 11.96. Adding new Web GIS connection

If you don’t have a Web GIS, tap create on this screen. Your account page will be opened in a browser. From that page you can create a Web GIS.

From the Settings

  1. Open Layers tree panel (item 1 in Pic. 11.4.).

  2. Select “Settings”.

../../_images/ngm_menu_en.png

Pic. 11.97. Main menu

  1. Select “Web GIS”.

../../_images/ngm_settings_webgis_en.png

Pic. 11.98. Settings menu

  1. In the opened menu press Add Web GIS.

../../_images/ngm_nowebgis_en.png

Pic. 11.99. Web GIS menu

On the next screen enter the Web GIS name, username and password of your NextGIS ID and press Sign in (see Pic. 11.96.).

11.11.4. Add connection to NextGIS Web on-premise

You can learn more about main features of NextGIS Web on-premise in Key features of NextGIS Web.

If you keep your data on your own NextGIS Web server, tap “Add Web GIS” using either of the ways to add a new Web GIS connection (see above), then tap the link at the bottom of the screen (see Pic. 11.100.).

../../_images/ngm_webgis_switch_op_en.png

Pic. 11.100. Add Web GIS dialog

In the opened dialog fill in the connection details: Web GIS URL, username and password, then press Sign in.

../../_images/ngm_webgis_login_op_en.png

Pic. 11.101. Web GIS connection parameters

Note

Many devices automatically add a space at the end of a text field when using

auto-complete or pasting from a clipboard. In this case you need to delete the space manually. For NextGIS Web an additional character makes it a different username / password, so you won’t be able to log in.

11.11.5. Edit Web GIS connection

  1. Open the menu by tapping the three dots in the top right corner (item 5 in Pic. 11.4.).

  2. Select “Settings” (Pic. 11.97.).

  3. Select “Web GIS” in the opened menu (Pic. 11.98.).

  4. Select a Web GIS from the list (see Pic. 11.98.).

  5. On the next screen select “Edit account”.

../../_images/ngm_webgis_edit_acc_en.png

Pic. 11.102. Editing Web GIS connection

6. In the opened window you can modify the following fields (see Pic. 11.103.):

  1. Username;

  2. Password.

../../_images/ng_mobile_edit_account_eng.png

Pic. 11.103. Editing a Web GIS connection

11.11.6. Delete Web GIS connection

There are two ways to delete a connection to a Web GIS.

You can delete the connection in the app settings.

  1. Open the menu by tapping the three dots in the top right corner (item 5 in Pic. 11.4.).

  2. Select “Settings” (Pic. 11.97.).

  3. Select “Web GIS” (Pic. 11.98.).

  4. Select a Web GIS from the list.

  5. Select “Delete account”.

../../_images/ngm_webgis_remove_acc_en.png

Pic. 11.104. Delete Web GIS connection

  1. Confirm deleting the account.

../../_images/ngm_webgis_remove_confirm_en.png

Pic. 11.105. Delete Web GIS connection

You can also delete a connection to a Web GIS in your device settings.

  1. Go to the Settings of your phone or tablet.

  2. Go to Accounts section of the settings.

../../_images/settings_in_os_eng.png

Pic. 11.106. Selecting accounts in OS settings

  1. Select the “NextGIS” account from the list.

../../_images/accounts_in_os_eng.png

Pic. 11.107. NextGIS account in OS settings

  1. Select the Web GIS connection you want to delete.

../../_images/remove_account_in_os_eng.png

Pic. 11.108. Selecting Web GIS account in OS settings

Tap Delete (it can be on the same page or in a context menu).

../../_images/remove_account1_in_os_eng.png

Pic. 11.109. Deleting Web GIS account through the OS settings