Import geofence polygons using KML files
It's possible to import geofences polygons in KML in standard format. It's also possible to import KMZ files.
Before importing your KML/KMZ files you should know:
- Geofences should be polygons without holes.
- KML do not support circle geofences.
- Polygons with holes are not supported. In that case only the outer boundary will be imported and the inner boundary, holes, ignored.
- Self intersecting polygons will be skipped. Self-intersenting polygons look like:
- Importing circular geofences using CSV is deprecated (see the deprecation list).
- To import circlular geofences, use REST method.
Setting up Import Geofence
1. In Site Admin, access the application Privileges and Features.
2. Enable _ImportGeofence privilege.
3. Save your application properties.
Importing polygon geofences
To import polygon geofences, you could use the KML import functionality.
1. Select the Import option located in the Geofence panel
2. Select the option Select file option:
2. Select the KML/KMZ file from your hard drive.
3. After selecting the file, the following options will show up:
- Group: this option allows including your KML import into an existent geofence or the possibility to create a new one.
- Create a group based on document name: this option will generate a new geofence Group based on the filename.
- Create a group for each named fence: this option will generate a new group for each geofence included in the KML file (this option may create too manu groups depending on your file content).
- Default radius for Route geofence: this option will generate a radius if the file to import meets the requirement of a route geofence.
4. Select Upload.
- You can find a KML polygon sample here.
- Read the formatting help for more information