Plants
This API returns the detected individual plants or trees within a specified parcel of land. Here's a breakdown of how the API works and what the response structure means:
features
: An array of feature objects, where each feature represents a detected plant or tree. The structure of a feature includes:type
: Defines the object as a feature.geometry
: Contains geometric data about the feature. Here, it's aPoint
, indicating the location of the plant with latitude and longitude coordinates.properties
: A set of additional properties for the feature. In this context, it contains:shape
: Detailed geometric shape of the detected plant area, described as a polygon with coordinates that outline the plant's spatial extent.parcel
: An identifier for the parcel of land where the plant is located. This is useful for associating detected plants with specific parcels in large areas or farms.crop
: An identifier that associates the crop rotation to plant detected. This could be used to distinguish between different types of crops, trees, or other vegetation.
GET /api/parcels/{id}/plants/ HTTP/1.1
Host:
Accept: */*
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": 1,
"geometry": {
"type": "Point",
"coordinates": [
12.9721,
77.5933
]
},
"properties": {
"area": "text",
"key": "123e4567-e89b-12d3-a456-426614174000",
"shape": {
"type": "Polygon",
"coordinates": [
[
[
0,
0
],
[
0,
50
],
[
50,
50
],
[
50,
0
],
[
0,
0
]
]
]
},
"info": null,
"created": "2025-07-02T02:39:56.895Z",
"modified": "2025-07-02T02:39:56.895Z",
"parcel": 1,
"crop": 1
}
}
]
}
Last updated