Graniot API
  • Welcome!
  • Quick Start
  • Embedded Maps
  • Reference
    • API Reference
      • Accounts
      • Farms
        • Farm Managers
      • Parcels
        • Satellite Data
        • Plants
        • Crops
        • Weather Forecast
        • Historical weather data
      • Crops Families
      • Notes
  • Satellite Sources
    • Satellite Data Overview
    • Available Data Sources
      • Sentinel-2
      • PlanetScope
      • SkySat
      • Pleiades
      • Pléiades Neo
      • Maxar
Powered by GitBook
On this page
  1. Reference
  2. API Reference
  3. Parcels

Plants

PreviousSatellite DataNextCrops

Last updated 1 year ago

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 a Point, 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
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /api/parcels/{id}/plants/ HTTP/1.1
Host: 
Accept: */*
200Success
{
  "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-06-13T22:39:02.008Z",
        "modified": "2025-06-13T22:39:02.008Z",
        "parcel": 1,
        "crop": 1
      }
    }
  ]
}