2.2. Track Asset and Team Locations in Real Time

Availability

Cloud SaaS (all editions), On premise (Extended, Enterprise)

NextGIS Web is a data-centric server GIS that allows you to store, manage and publish spatial data in a flexible and effective way. It has an integrated mobile data collection subsystem, that you can use to organize collaborative field work and track assets and teams in real time as well as simply record your own movements.

In this step-by-step tutorial you will learn how to start collecting GPS tracks and monitor them on a real-time map!

An Android smartphone is required to work with mobile application.

Basic:

Advanced:

2.2.1. Step 1/4 Create free account and Web GIS

Go to my.nextgis.com, click the Create Account button and sign up using your email address.

After registration your account page would appear. Select the Web GIS menu on the left, come up with a name (ngw-quickstart.nextgis.com in this example) and select the nearest Data center location (DE Falkenstein in this example). Then click Create Web GIS.

../../_images/tutorial_create_wg_en.png

When the creation process is complete, the contents of the page will change. Direct link to your new Web GIS will appear.

../../_images/tutorial_my_wg_en.png

2.2.2. Step 2/4 Install and set up NextGIS Tracker on your Android device

Install NextGIS Tracker application on your Android device. It could be found in Google Play.

Run the application. Allow access to your device’s location.

You can start recording local tracks immediately and then share them as GPX files. But we want to sync the tracks with Web GIS.

Tap the synchronization switch in the top right corner of the interface:

../../_images/sync_turn_on_en.png

On the next screen enter your Web GIS name (created at step 1, in this example ngw-quickstart.nextgis.com), then the email and password you used to create NextGIS ID.

../../_images/webgis_creds_en.png

Tap on the green icon in the bottom corner to save the changes.

Active synchronization is indicated by the blue color of the switch as well as the circular arrows symbol next to it. Now the App sends all collected GPS tracks to the Web GIS.

../../_images/sync_active_en.png

2.2.3. Step 3/4 Start collecting locations as you go for a short walk

To start recording your first track, tap on the green “Start” button in the bottom right corner.

Tha application would ask you to allow allow the app to access location continuously even when the app is not in use. It is important for so that App is able to record tracks.

../../_images/start_track_en.png

Go to your device Settings and select “Allow all the time” for the Tracker app. The dialog may vary depending on Android version.

../../_images/allow_all_the_time_en.png

Now when you return to the app there’s a new status, “Collecting tracking data and syncing…”.

../../_images/status_synching_en.png

Take a short walk to collect some locations!

You monitor your movements in real time using Web Map.

2.2.4. Step 4/4 View the current tracker location and recorded track on a Web Map

Open your Web GIS in a browser by clicking on the highlighted link in your account or by typing it directly in the address bar. You’ll see the main interface of your Web GIS.

../../_images/webgis_main_interface_en.png

In NextGIS Web everything is a resource — directories, layers, Web Maps, connections to services and databases. Resources are organized as files at your computer — in a tree.

You already have a couple of resources:

  • Main Web Map - a default resource created with the new Web GIS;

  • “TrackersGroup” - a resource created by the NextGIS Tracker application when you set up the synchronization. You also can manage trackers manually.

Click on the map with a magnifying glass icon to open the “Main Web Map” resource in the display mode:

../../_images/open_main_webmap_en.png

This Web Map is empty - no layers, just a default basemap. But in the left panel a Trackers menu is available, activate it.

../../_images/activate_tracker_panel_en.png

By default, you can explore data collected by your Tracker app on every Web Map created in your Web GIS. It could be disabled in Web Map settings.

The Trackers panel lists all connected tracker devices. You have only one tracker connected to Web GIS right now, click the pointed shape with a dot “Last known point” button.

../../_images/tracker_last_point_en.png

Last recorded location would be shown on the Web Map. If the device with the tracker moves, you see it in real-time.

../../_images/tracker_current_location_en.png

By clicking other buttons you could view track line and track points recorded within the selected time range.

../../_images/track_line_points_en.png

Hover over track points to see detailed information on the date, time, speed, direction and other parameters.

../../_images/track_hover_details_en.png

After you’ve collected some tracks, you can analyze them by creating reports or export the tracks in GPX format to share and create backup.

If you have Premium subscription, you can have multiple devices connected to your Web GIS as trackers.

2.2.5. Create reports

On the Trackers panel click on the “Reports” icon:

../../_images/trackers_reports_en.png

Here you can create different types of reports.

In the “Report type” dropdown menu select Average speed. Then set the time range covering your today’s walk. In the “Group by” field select grouping by hours.

Tick the only available tracker, then click Create report button.

../../_images/report_average_speed_en.png

You’ve got a fast calculation of average speed.

2.2.6. Export GPX file

To export your track as file, go to the Reports page (see trackers_reports_pic).

Then in the “Report type” field select GPX file.

After clicking the Create report button you get the “Download GPX file” link. This GPX file could be used in QGIS or other applications.

2.2.7. Manage trackers

When you enable Web GIS syncing in NextGIS Tracker app, it sets up everything on the Web GIS side automatically, as shown in this tutorial.

But also you can create and manage trackers manually, creating a Trackers group resource and Tracker resources within it. It allows to have hundreds of trackers connected to Web GIS in a production environment.

See also

Other NextGIS mobile apps also support tracking and Web GIS synchronization. More details: