roam-qgis / Roam

Simple data collection built using QGIS.
http://roam-docs.readthedocs.org/en/latest/
GNU General Public License v2.0
171 stars 61 forks source link

GPS logging saving hundreds of features per tick #181

Closed bzeeb closed 6 years ago

bzeeb commented 10 years ago

Went for a five minute stroll and came back with 50 thousand features, surprisingly Roam was running fine with no lag, good sign it can handle extended logging at least.

bzeeb commented 10 years ago

Logging appears to save the current point and every other point recorded in that session. If you take 50 readings it will save 50^2 points.

NathanW2 commented 9 years ago

Is this still the case. I don't get that here when testing.

bzeeb commented 9 years ago

I'll test again when I get a chance, haven't tried the function since last October.

rjwillson commented 8 years ago

I tried the gps_log functionality in 2.4.2 with 2 different external GPS units and I also experienced the extremely high logging of points in a short time period. I thought I would get around this by using the setting to record points by map unit as per setting shown below. I tried setting this to 10 and 20 and assumed that because the map units should be in metres (CRS = UTM) that this would correspond to 10 and 20 m. This setting didn't seem to change the rate of logging as I accumulated almost 750 pts in approximately 1 minute and after walking no more than 20 m. I am recording into a SpatiaLite/sqlite file. My settings in the roam.config file are as follows: camera: 0 configmanager: qgislocation: !!python/unicode 'C:/OSGeo4W/bin/qgis.bat' fullscreen: false gps: tracking: distance: 20 gpscenter: true gpslogging: true gpsport: !!python/unicode 'scan' iconswithtext: true keyboard: true projectpaths: []

rjwillson commented 7 years ago

I tried the GPS logging again using the recent 2.5 release but was unsuccessful in trying to get Roam's GPS logging to limit the number of records recorded

Similar to my tests from last time using 2.4.2 I tried restricting the number of records recorded using both the distance and time setting and I also tried two different coordinate reference systems (i.e., EPSG 4326—WGS 84 geographic and my preferred CRS for my location in Canada: EPSG 3162, a projected CRS based on NAD83).

I also tried two different file formats (GeoPackage and SpatiaLite) for the container file

Same results in all instances: that is regardless of settings individual records are recorded 11 to 12 times per second and this rate of data collection soon becomes unmanageable if out in the field for any length of time.

Are there any workarounds out there to make use of the GPS logging feature in Roam?

Right now I can use Roam for all of our field data collection needs except for recording a tracklog which I have to do in QGIS using the built-in GPS information panel to record tracklogs.

Would prefer to just use Roam because it is much faster, smoother and more finger friendly on a tablet

see clips

image

bzeeb commented 7 years ago

good grief I opened this in 2014, how time flies!

Thanks for the all the testing information, unfortunately no workarounds I am aware of.

Definitely a feature would be good to get working again, will be on the 2.6 list.

rjwillson commented 7 years ago

thanks bzeeb, time does indeed go by too quickly!

Is it possible to elevate the issue to a high priority because taking a track log is often a core capability that users ask about to replace their existing GPS/GNSS units.

bzeeb commented 6 years ago

Added new shapefile layer with name gps_log, fields id int, x string, y string Enabled gps logging under settings

Tested, working fine now

rjwillson commented 6 years ago

I tried a gps log on two different tablets in the last 2 months using vers. 2.6 and it still recorded 1 or more points (usually more) per second and ignored the settings to restrict point collection by number of seconds (i.e., record a point only every 20 seconds). I am still using the gps_log (tracklog) for short duration projects but after more than 5 hours in the field walking around I think that the 1000s of points will start to bog down even a fast windows tablet.

thanks Nathan for trying to fix. Roam is still the best GPS tablet software with dropdown picklists I have ever used in my 10+ years of working with multiple products.