Geofences
Sketchnote by Nitya Narasimhan. Click the image for a larger version.
This video gives an overview of geofences and how to use them in Azure Maps, topics that will be covered in this lesson:
🎥 Click the image above to watch a video
Pre-lecture quiz
Introduction
In the last 3 lessons, you have used IoT to locate the trucks carrying your produce from your farm to a processing hub. You've captured GPS data, sent it to the cloud to store, and visualized it on a map. The next step in increasing the efficiency of your supply chain is to get an alert when a truck is about to arrive at the processing hub, so that the crew needed to unload can be ready with forklifts and other equipment as soon as the vehicle arrives. This way they can unload quickly, and you are not paying for a truck and driver to wait.
In this lesson you will learn about geofences - defined geospatial regions such as an area within a 2km minute drive of a processing hub, and how to test if GPS coordinates are inside or outside a geofence, so you can see if your GPS sensor has arrived or left an area.
In this lesson we'll cover:
- What are geofences
- Define a geofence
- Test points against a geofence
- Use geofences from serverless code