GPS Collector (collector)

Introduction

The demonstration is based on GPS acquisition points, lines, surfaces and other geometric objects, including point type and trajectory type.

Operation effect

Figure: GPS Collector Operation effect

Location

Android Studio

  • Product package: Product package catalogue\SampleCode\SampleCode_AndroidStudio\AndroidStudioSampleCode\collector

ADT

  • Product package: Product package catalogue\SampleCode\SampleCode_ADT\Collector

Data

Storage location

  • Product package: Product package catalogue\SampleData\CollectorData

Deployment Location: mobile device internal storage\SampleData\CollectorData

License

Offline license, copy the license file to the "mobile device internal storage\SuperMap\License" folder.

Library

jar
com.supermap.data.jar, com.supermap.mapping.jar
so
libimb2d.so, libgnustl_shared.so, libQt5Core.so, libQt5Gui.so, libQt5Svg.so, libQt5Widgets.so(Note: Starting from version 11.1, the last five so libraries need to be added.)

Key types/members

Control/Class Method
Collector setDataset(), openGPS(), createElement(), setStyle(), setSingleTapEnable()
Enum Value
GPSData dAltitude(), dLongitude(), dLatitude(), dSpeed(), nYear(), nMonth(), nDay(), nHour(), nMinute(), nSecond()

Basic steps

  1. Run the program, click on the [select type] button, and select collector object type;
  2. Click on the [position collecting] button to collect;
  3. Click on the [edit set] button to set collector object name, introduction and style(The collector object name, introduction and style can be set before collecting, also can be set when the end of the collection has not been submitted);
  4. Click on the [go back] button to go back (valid before submission);
  5. Click on the [remake] button to remake (valid before submission);
  6. Click on the [dot screen] button to dot screen (the process of GPS collecting can be combined with dotting screen)
  7. Click on the [submit] button to submit the collected geometric objects;
  8. After completing to collect object, the collected geometric objects can be edited with the button bar on the right side of the screen.