
QGIS Python Programming Cookbook, Second Edition
By :

For decades, collecting field observation data from the field into a GIS required hours of manual data entry or, at best, loading data after a trip. Smartphones and laptops with cellular connections have revolutionized this process. In this recipe, we'll use a simple but interesting GeoJSON-based framework to enter information and a map location from any Internet-connected device with a web browser to update a map in QGIS. Note that this example will post the location of the device you are using to a publicly visible website. The information is anonymous but it is visible to anyone.
There is no preparation required for this recipe.
We will load a world boundaries layer and the field data layer onto a QGIS map. Go to the field data mobile website and create an entry, and then refresh the QGIS map to see the update. To do this, we need to perform the following steps: