Custom fence shapes
Decommission notice
Purpose
This is a list of supported custom fence shape types in addition to GeoJSON Polygons and MultiPolygons.
Custom fence shape parameters
Circle shape
Creates a circular fence with a specified radius and center point.
Required geometry object fields
"radius": radius_in_meters"type": "Point""shapeType": "Circle"
scheme
Circle shape type - JSON
"geometry": { "type": "Point", "radius": radius_in_meters, "shapeType": "Circle", "coordinates": [longitude, latitude]}example
Circle shape type - JSON
{ "name": "Rounded Circle", "type": "Feature", "geometry": { "type": "Point", "radius": 75, "shapeType": "Circle", "coordinates": [-67.137343, 45.137451] }}Corridor shape
Creates a border around a provided line that is distanced from that line in exactly the amount of meters described in the radius.
Required geometry object fields
"radius": radius_in_meters"type": "LineString""shapeType": "Corridor"
scheme
Corridor shape type - JSON
"geometry": { "type": "LineString", "radius": radius_in_meters, "shapeType": "Corridor", "coordinates": [[longitude_1, latitude_1], [longitude_2, latitude_2], ...]}example
Corridor shape type - JSON
{ "name": "Only Rectangle", "type": "Feature", "geometry": { "type": "LineString", "radius": 75, "shapeType": "Corridor", "coordinates": [ [-67.137343, 45.137451], [-68.137343, 46.137451] ] }}Rectangle shape
Creates a rectangle using two points.
- The first point is the bottom-left corner.
- The second point is the top-right corner.
Required geometry object fields
"type": "MultiPoint""shapeType": "Rectangle"
scheme
Rectangle shape type - JSON
"geometry": { "type": "MultiPoint", "shapeType": "Rectangle", "coordinates": [[longitude_1, latitude_1], [longitude_2, latitude_2]]}example
Rectangle shape type - JSON
{ "name": "Only Rectangle", "type": "Feature", "geometry": { "type": "MultiPoint", "shapeType": "Rectangle", "coordinates": [ [-67.137343, 45.137451], [-68.137343, 46.137451] ] }}