AGRI endpoints

Get The Stats From Majority Pra (Small Agricultural Region) From Epsg:4326 Geojson Input

Get stats form PRA (Small Agricultural Region). If a plot overlaps two PRA then the statistics of the majority PRA is returned. Returns the input Geojson in which each feature embeds cover information, as follows :

[
    {
        "year": 2020,
        "method": "original",
        "pra_stats": {
            "name": "praREGION_CENTRALE_comSAINT_GILLES",
            "ddc_meanp_pra_all": 325,
            "ddc_70qp_pra_all": 344,
            "ddc_70qp_pra_grd_culture": 326,
            "ddc_q3_pra_grd_culture": 341,
            "ddc_meanp_pra_grd_culture": 307,
            "ddc_meanp_pra_div": 317,
            "ddc_70qp_pra_div": 336,
            "ddc_q3_pra_div": 363
        }
    }
]

post/agri/pra-maj

Query parameters

year_frominteger

YEAR of the DDC/PRA dataset to query - defaults to last year of available dataset

YEAR of the DDC/PRA dataset to query - defaults to last year of available dataset

year_tointeger

YEAR of the DDC/PRA dataset to query - defaults to last year of available dataset

YEAR of the DDC/PRA 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/pra-maj: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.