QField – Mobile QGIS Data Collection

May 6, 2018 | QGIS

Last QGIS class I taught somone asked “WHAT ABOUT DATA COLLECTION IN QGIS IN THE FIELD?”. My default answer most days are Fulcrum. Well – about all days. Fulcrum is my favorite but I do enjoy playing around with different software.

If you have an android phone you are in luck because you can test out QField. You can go to the Google Play Store OR Here. As far as I can tell there is no IOS install – probably because of the Apple App Store or whatever it’s called. I’ve heard rumors it can be a pain to publish an app. Given that I’m not a mobile developer – I will accept the rumors.

So what is Qfield? QField is based on QGIS. It is not a rebuild of QGIS it really does use QGIS libraries. The rendering engine is exactly the same as in QGIS for desktop and your project will therefore look exactly the same on your mobile device as it does on your computer.

After halfway reading the Documentation once, I decided to build a project for Qfield. I’m running QGIS 3.0 on my laptop. I downloaded a NAIP image from the NRCS of Chattanooga. I built three vector data layers. I ran with the suggestion to do all this in Geopackage.  Which I will admit was a bit fun in QGIS.

You can save an image to Geopackage in QGIS.  The first thing you must make sure the image data type is byte and you accomplish that with Raster -> Conversion -> Translate. Once you have it in Byte you can Save the raster to Geopackage.

From there you can either import some existing vector layers or create new ones. The one problem I did have was building pyramids. Since this is on a mobile device the more pyramid layers the better. QGIS didn’t like doing that with a Geopackage and complained so I pulled out some command line magic: gdaladdo -r cubic -oo TILE_FORMAT=JPEG chatt_test.gpkg 2 4 8 16

From there it’s just a matter of moving the QGS file and the Geopackage to your phone. Once it is there:

Qfield on my Samsung 8

It’s a minimal setup – but what you set up with QGIS on your desktop transfers over as far as colors and attributes. You can edit. You can save the edits. You can build drop down lists using widgets for data collection. Once you are done it’s just a matter of moving the geopackage back to your desktop and pulling the edits over.  It appears that opengis.ch has set up a sync plugin but I couldn’t get it to work. Granted I didn’t spend a ton of time working on it.

Over all with a little bit of work you could have a pretty decent mobile QGIS experience.

 

You may also like

TNGIC 2024

TNGIC 2024

So - if you're coming to the 2024 TNGIC (TN Geographic Information Council) meeting (April 9-11 2024) to talk about how no one understands what you do......I'm doing a workshop. What workshop? It's a new workshop. QGIS and LIDAR data. As to what I do with the class...

iNaturalist and QGIS

I am probably the worst for being able to properly name "things". There are big trees and little trees. There are the annoying bugs and the not so annoying bugs. There are ducks, birds, bigger birds, and the birds that hang out at my bird feeder. As much time as I...

Mergin Maps and DB Sync

Mergin Maps and DB Sync

I don't know if I would label this exercise as fun but I've learned alot. I don't do a ton of data collection these days. At one time a few years ago I was out in the field with Fulcrum, a laptop, and sketchy internet for days at a time. These days I'm hardly ever...