Parcel Metadata
What is Metadata?
{
"metadata": {
"Supplier ID": "CPS-000111",
"region": "North",
"contract_year": "2024",
"crop_type": "Wheat",
"certification": "Organic"
}
}Creating Parcels with Metadata
curl https://app.graniot.com/api/farms/ \
-X POST \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Graniot-Account: acc-52a220de-73e9-11ee-8cc3-0242ac130002' \
-d '{
"farm": {"name": "Customer Farm"},
"parcels": [{
"name": "Field A",
"metadata": {
"Supplier ID": "CPS-000111",
"region": "North"
},
"geom": {
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [[[-1.101, 38.139], [-1.100, 38.139], [-1.100, 38.138], [-1.101, 38.138], [-1.101, 38.139]]]
}
}
}]
}'Updating Metadata
Viewing Metadata in Embedded Maps
1. Parcel Tooltips
2. Parcel Detail Panel
Filtering by Metadata in Embedded Maps
URL Parameter Format
Encoding Spaces
Key
URL Parameter
Examples
Use Cases
Supply Chain Traceability
Compliance Reporting
Regional Management
Best Practices
Last updated