

#Creating a geotag update
You can update your geofencing data at any time. For more information on the GeoJSON format, see Geofencing GeoJSON data. The second can only be queried against during business hours (9:00 AM-5:00 PM in the Pacific Time zone), and will no longer be valid after January 1, 2022. The first geofence has no time expiration or restrictions. The FeatureCollection contains two geofences that define polygonal areas within the construction site. In this tutorial, you''ll upload geofencing GeoJSON data that contains a FeatureCollection.

The Azure CLI command az maps account create doesn’t have a location property, but defaults to “global”, making it useful for creating an Azure Maps account with a global region setting for use with the Geofence API async event. Use Azure CLI to create an Azure Maps account with a global region Use PowerShell to create an Azure Maps account with a global region New-AzMapsAccount -ResourceGroupName your-Resource-Group -Name name-of-maps-account -SkuName g2 -Location global You will need to Create your Azure Maps account using an ARM template, making sure to set location to global in the resources section of the ARM template. Use an ARM template to create an Azure Maps account with a global region The location property in both the ARM template and PowerShell New-AzMapsAccount command refer to the same property as the Region field in the Azure portal. This section lists the three methods that can be used to create an Azure Maps account with the region set to global. This isn't given as an option when creating an Azure Maps account in the Azure portal, however you do have several other options for creating a new Azure Maps account with the global region setting. The Geofence API async event requires the region property of your Azure Maps account be set to Global. This tutorial uses the Postman application, but you can use a different API development environment.Ĭreate an Azure Maps account with a global region.Use Search Geofence Get API to receive notifications when a piece of equipment exits and enters the geofence areas.The logic apps then send the appropriate email notifications of equipment moving beyond or entering the geofence. You set up two webhook event subscriptions that call the HTTP endpoints defined in your two logic apps. Use Azure Event Grid to subscribe to enter and exit events for your Azure Maps geofence.Set up two logic apps that, when triggered, send email notifications to the construction site operations manager when equipment enters and exits the geofence area.You'll use the Data Upload API to upload geofences as polygon coordinates to your Azure Maps account. Upload Geofencing GeoJSON data that defines the construction site areas you want to monitor.Create an Azure Maps account with a global region.
