AGRI endpoints

Get Field Data From Epsg:4326 Geojson Input

Get crop information for each feature (boundaries) in the EPSG:4326 Geojson request body (could be a collection of points, polygons, etc.)

Returns the input Geojson in which each feature embeds a year by year crop information, as follows :

"properties": {
    "data": [
        {
            "year": 2020,
            "crop": "MAIS",
            "code_cultu": "MIS",
            "stats": {
                "count": 524,
                "sum": 1048,
                "mean": 2,
                "stddev": 0,
                "min": 2,
                "max": 2
            }
        }
    ]
},
post/agri/field/data

Query parameters

year_frominteger

YEAR of the dataset to query - defaults to last year of available dataset

YEAR of the dataset to query - defaults to last year of available dataset

year_tointeger

YEAR of the dataset to query - defaults to last year of available dataset

YEAR of the dataset to query - defaults to last year of available dataset

Request body

object required

EPSG:4326 Geojson FeatureCollection request body

Response

Successful Response

{"stackTrail":"paths:/agri/field/data:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.