Assignment 6

Build and test a geofence

Create a simple geofence workflow in ArcGIS Field Maps. Your geofence can represent any small local area that is easy and appropriate for you to visit, such as part of campus, a park, a bus stop area, etc.

Table of Contents

Data

The dataset will start empty. You will create a new polygon layer and then add one polygon feature to it. That polygon will serve as the geofence boundary.

Steps

The basic steps in this process are to create a layer, draw a polygon as the geofence area, configure a geofence action, and then test it on your phone by entering or exiting the area.

Part 1: Create a map and polygon layer

  1. Sign into your ArcGIS Online account.
  2. Open Field Maps Designer from the app launcher.
    Launch field maps designer
  3. Click + New map.
  4. Choose Start with new layers and click Next.
  5. Create one layer with a descriptive name for the polygon area, e.g., Howe-Russell Building Footprint
  6. Set the layer type to Polygon layer.
  7. Continue through the map creation steps with defaults and give the map a clear title.
  8. Click Create map to finish.

Part 2: Draw the geofence polygon

  1. You should now see Field Maps Designer, but no map yet.
  2. Click Open (bottom left), then choose Open in Map Viewer.
  3. Pan and zoom to the local place you chose for this assignment.
  4. Click the Edit icon on the right side of the Map Viewer.
    Edit layer
  5. Click New Feature and draw one polygon around the area you want to use as the geofence.
  6. Save the feature by clicking Create.
  7. Save the map.

Part 3: Configure the geofence

  1. Return to Field Maps Designer.
  2. Click Geofences.
  3. Click Add geofence.
  4. Give the geofence a clear name.
  5. In the Layers menu, select your polygon layer.
  6. Leave the filter blank, but note it is possible to a polygon layer with multiple features that could be filtered out according to your needs.
  7. Leave the buffer at 0.
  8. In the Type menu, choose Location alert.
  9. Check one of the following:
    • On enter, or
    • On exit
  10. In the message box, enter the custom alert message that should appear on the phone.
  11. Save the geofence.

Part 4: Test the geofence in the Field Maps mobile app

  1. On your phone, install ArcGIS Field Maps from your app store.
  2. Sign into the app with the same ArcGIS Online account you used to create the map.
  3. Open your map in the Field Maps mobile app.
  4. When prompted, enable location alerts.
  5. Make sure Field Maps is allowed to use your location and notifications on your phone. If your device asks for physical activity permission, allow that as well. Depending on what you choose here, the action might only be triggered when you have the Field Maps app open on your phone.
  6. You are now ready to try out the geofence.

If you change the geofence polygon after the map has already been opened on your phone, reload the map in Field Maps before testing again.

Try it

  1. Travel to your geofence area.
  2. Cross your geofence boundary to trigger your alert, whether On enter or On exit.
  3. If your first test does not trigger when expected, adjust the polygon or add a small buffer in the geofence settings, check that you allowed all permissions, and test again.
  4. Take a screenshot of the alert triggered at the geofence boundary.
  5. Optional: Now that you’ve gone through the steps of creating a geofence, feel free to optionally play around with the settings and capabilities of Field Maps Designer, find a new polygon layer with multiple polygons, create multiple geofences, or use variables to show feature layer attribute data in the alert text.

Submit

  1. One screenshot of the alert shown on your device by the Field Maps app after you tested the geofence in the field.
  2. A short note stating the place you used for the geofence.


↑ Top
← Back to Assignments