Skip to contents

A step-by-step tutorial to do a spatial sampling supervised by building zone identification followed

Before starting you need to check the following:

  • you have access to GeoSampler (online or offline with a capsule)
  • you have a modern smartphone with OsmAnd and/or a GPS device (i.e. Garmin eTrex)

Overview

This method consists in combining the analysis of a satellite image for the identification of building zone, followed by a supervised spatial sampling. This has been allowed by the GeoSampler app.

This is done in 4 steps:

  1. Delimit: Using the GeoSampler app, you will define a polygone corresponding to the area of interest

  2. Shrink: After, you will scan a recent satellite image and manually click on each zone which seems to be a residential building. In the polygon of interest, this should end up in an “exhaustive” building zones

  3. Sample: From this ensemble, GeoSampler can randomly generate a unique sample and give you the choice to keep the sample or not, and this spatial sample of GPS coordinates can then be exported to a GPS device for field data collection in each of the household living under the sampled building zones

  4. Plan: At the office, plan your survey work with the generated sample

Step-by-Step Guide

How to do a supervised spatial sample of Masai Lodge

Open GeoSampler

  1. Launch GeoSampler which has been installed on your computer.

    Two options:

    • Use the desktop shortcut.



    • Use the launch.bat file in the GeoSampler folder root.



  2. A DOS window opens at the center of the screen, asking you to choose a command.



  3. Choose GeoSampler (1 [ENTER]). After a few seconds, GeoSampler is displayed in your browser. Select spatial sample.

Interface

  • Tabs: 4 tabs corresponding of the main steps to follow in the procedure. They will be used sequentially 1, 2, 3, then 4.
  • Guide: Provide basic information on what is expected to be done in the page displayed..
  • Sidebar: …

Step 1: Delimit

In this page, you will define the area of interest (the masai lodge).

Steps

There are 2 options :

  • Drawing a polygon directly, or
  • Uploading an existing polygone from an external file (here we practice the 2nd option).
Drawing a polygon directly

A. Find the Masai Lodge

  1. Click on the button Search () on the bottom-left. You can now type a location.
    >>

  2. Type in “Masai Lodge”. You find two proposals.

  3. Click on the first proposal (Masai Lodga … Kenya). Map move to the Masai Lodge (On the south-east of the map).

  4. Click on the map to finish.

B. Draw the Masai Lodge delimitation

  1. Use the mouse to place the Masai Lodge in the centre of the app window

  2. Click on the button Draw a polygon ().

  3. Click on the map to draw the polygon

    • Move the pointer to the image and left-click on the image just outside the refugee camp to mark the first vertex of the polygon
    • By moving the mouse clockwise (or anticlockwise) a dashed line is drawn between the first vertex and the mouse pointer
    • Mark the second vertex with the aim to surround all camp dwellings and exclude non inhabited zones. With the mark of the second vertex, the dashed line turns into a solid one (see image below)

  4. Click on the polygon to select it.

  5. Click on the button Save (). Confirm with OK.

  6. Now, you can go to the next step Identify

Uploading an existing polygone

  1. Click on the button Add a polygon layer… (). This dialog box popup.

  2. Click on the button Upload… and in the file dialog, navigate in your folders and select the appropriate file (masai-lodge.kmz).

  3. Click on the button Add a polygon layer… when the upload is complete.

  4. Click on the polygon to select it.

  5. Click on the button Save (). Confirm with OK.

  6. Now, you can go to the next step Identify

As in the other method above, do not forget to validate to be able to proceed to step 2 (tab “Identify”) !

Step 2: Shrink

In this step, the objective is to inspect the satellite and mark building zone by clicking everywhere there seem to contain building. In this process, the app will divide the polygon into ‘tiles’ and 9 ‘zones’.

The polygon has been divided into “tiles” by the GeoSampler app (these are virtual squares of 150m side ) with a white, semi-transparent border. For each tile, use the following procedure :

Before identifying building zones, activate your polygon by clicking in it !

Steps

  1. To inspect a tile, you can:

    • Click on the button Search and identify ().
    • Click on the map inside the polygon.
    • Use the arrows keys

    Map zoom and the tile of interest appears at center of the screen with a white border.

  2. Click to mark every urban zone.

  3. When all urban zones have been marked in a tile, you can

    • Click on the button Check ().
    • Type [SPACE]

    in this state the tile changes to a yellow border, see picture below on the bottom-right. By clicking a second time on SPACE , the satellite image moves to the second tile which appears with a white border, ready for marking building zones.

  4. For each tile, continue the same way …

  5. When all tiles of the polygone have been done : click on the button Valid All () to validate the pointing of building zones.

Notes:

  • In case of mistakes : re-clicking on a building zone allows to remove it.
  • It is possible to change the size and color of marks by clicking the button Settings ().
  • For the next tile, if some contiguous shelters were already pointed previously, their point is highlighted so that the user does not identify (click on it) again.

Step 3: Sample

In this page, you will randomly select a sample of waypoints from the ensemble of points from the previous step (“Identify”). It will then be possible to export the geographic coordinates of these sampled points to various devices (and at different formats).

Steps

  1. Select the polygon to sample

  2. Click the button New Sample… (). The map zoom to the random sample point with a radius zone.

  3. Click on the button Save () if you choose to keep the point.

  4. Repeat.

  5. Click on the button Save (). Confirm with OK.

  6. Now, you can go to the last step Result

Notes:

The precision of the estimate will be increased by increasing the sample size : as much as the sampling units (here, the households) are numerous in the sample, the precision will increase. Outside of these exercises where we do not have enough time to go for a big sample, in real situation, a sample size that would allow sufficient accuracy would rather be around 300-400 households.

To be allowed to proceed to the next step, after points have been randomly sampled (by any of the two methods above), click on the icon

These sampled points (and coordinates) will be exported in the next section (tab “Results”).

Step 4: Results

Steps

  1. Select the polygon. You can also observe that the table of results appears in the right window.

  2. Export the file of sampled points from GeoSampler:

    Offline with a GPS device (Garmin eTrex):

    1. Click on the button GPX () and save the file in your computer’s disk.
    2. Connect the GPS device to the computer with the adapted USB cable. The GPS device should appear an an accessory/peripheric of the computer in the file explorer of the computer.
    3. Using Windows Explorer (file explorer) ago to the roots of the computer ( C: or D:) and open the Garmin eTrex folder, up to the …/GPX/… folder.
    4. Copy and paste the .gpx from the hard disk to the folder …/GPX/… folder in Garmin eTrex
    5. Eject the GPS device from the computer and unplug it.

    Online with a smartphone without camera:

    1. Click on the button GPX () and save the file in your computer’s disk.
    2. Sent the .gpx file from the computer to an email address which can be accessed from the smarphone.
    3. Open the e-mail app in the smartphone and download the file.
    4. Go to the downloads folder of the smartphone and share the .gpx file with Osmand app.

    Online with a smartphone with camera:

    1. Click on the button GPX (). A window opens with a QR code
    2. Scan this QR code with the smartphone and accept the download.
    3. Go to the downloads folder of the smartphone and share the .gpx file with Osmand app.
  3. Field survey

    Once the GPS waypoints of the sample is on the smartphone or device, you can perform your survey / RNA and collect data : retrieve these in the field (see separate procedure if needed) and interview household members

References

  • GPS device and smartphone (Osmand) : Rapid Mapping & Handling of GPS points