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.

Add a layer (vector/raster) from Web GIS#

  1. Open Layers tree panel (item 1 in Fig. 892.).

  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

Fig. 982. Select how to add data#

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

../../_images/ngm_select_webgis_en.png

Fig. 983. 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

Fig. 984. 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

Fig. 985. 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 Fig. 986.).

../../_images/ngm_download_status_en.png

Fig. 986. Download status in the notification panel#

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

Upload layer to Web GIS#

Click on three dots next to the layer name to open the context menu and select “Send to NextGIS”.

../../_images/ngm_send_to_wg_en.png

Fig. 987. Layer context menu#

Select the Web GIS you wish to add the layer to from the list, see Fig. 983..

Next select the resource group and tap Add.

../../_images/ngm_add_to_wg_en.png

Fig. 988. Adding local layer to Web GIS”#

If the layer was uploaded successfully, you’ll see the sync symbol circular arrows next to the layer’s icon.

In Web GIS you’ll find the uploaded data, with no style.

Note

The number of layers you can upload to Web GIS is determined by your subscription plan. On Free you can upload up to 15 layers. If you need more, upgrade to Premium in your NextGIS ID account.

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 Fig. 892.).

  2. Select “Settings” (Fig. 995.).

  3. Select “Web GIS” (Fig. 996.).

  4. Select the Web GIS from the list.

../../_images/ngm_webgis_list_en.png

Fig. 989. 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

Fig. 990. 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

Fig. 991. Synchronized layers marked in the layer tree#

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 Fig. 892.).

  2. Then tap on “Add geodata” button (item 4 in Fig. 893.).

  3. Select “Add from Web GIS”.

../../_images/ngm_layer_tree_add_from_wg_en.png

Fig. 992. Add geodata dialog#

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

../../_images/ngm_add_webgis_en.png

Fig. 993. 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

Fig. 994. 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 Fig. 892.).

  2. Select “Settings”.

../../_images/ngm_menu_en.png

Fig. 995. Main menu#

  1. Select “Web GIS”.

../../_images/ngm_settings_webgis_en.png

Fig. 996. Settings menu#

  1. In the opened menu press Add Web GIS.

../../_images/ngm_nowebgis_en.png

Fig. 997. Web GIS menu#

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

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 Fig. 998.).

../../_images/ngm_webgis_switch_op_en.png

Fig. 998. 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

Fig. 999. 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.

Edit Web GIS connection#

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

  2. Select “Settings” (Fig. 995.).

  3. Select “Web GIS” in the opened menu (Fig. 996.).

  4. Select a Web GIS from the list (see Fig. 996.).

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

../../_images/ngm_webgis_edit_acc_en.png

Fig. 1000. Editing Web GIS connection#

6. In the opened window you can modify the following fields (see Fig. 1001.):

  1. Username;

  2. Password.

../../_images/ng_mobile_edit_account_eng.png

Fig. 1001. Editing a Web GIS connection#

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 Fig. 892.).

  2. Select “Settings” (Fig. 995.).

  3. Select “Web GIS” (Fig. 996.).

  4. Select a Web GIS from the list.

  5. Select “Delete account”.

../../_images/ngm_webgis_remove_acc_en.png

Fig. 1002. Delete Web GIS connection#

  1. Confirm deleting the account.

../../_images/ngm_webgis_remove_confirm_en.png

Fig. 1003. 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

Fig. 1004. Selecting accounts in OS settings#

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

../../_images/accounts_in_os_eng.png

Fig. 1005. NextGIS account in OS settings#

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

../../_images/remove_account_in_os_eng.png

Fig. 1006. 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

Fig. 1007. Deleting Web GIS account through the OS settings#