RPG endpoints

Get Field Info By Id Field

Returns information about a field (by its RPG ID_PARCEL), in GEOJSON EPSG:4326 format

get/rpg/field/@id/{id_field}

Path parameters

id_fieldstring required

ID_PARCEL from RPG dataset identifying a unique field, eg. 8088579

ID_PARCEL from RPG dataset identifying a unique field, eg. 8088579

Query parameters

year_frominteger

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

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

year_tointeger

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

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

Response

OK

type'FeatureCollection'

FeatureCollection

Example response

{
  "crs": {
    "properties": {
      "name": "EPSG:4326"
    },
    "type": "name"
  },
  "features": [
    {
      "geometry": {
        "coordinates": [
          [
            [
              335786.297287427,
              6283183.734934869
            ],
            []
          ]
        ],
        "type": "Polygon"
      },
      "properties": {
        "year": "2019",
        "id_parcel": "8088579",
        "surf_parc": 24.08,
        "code_cultu": "BTH",
        "code_group": "1",
        "culture_d1": "DMD",
        "culture_d2": "DVS",
        "libelle_cultu": "Blé tendre d’hiver",
        "libelle_code_group": "Blé tendre",
        "libelle_culture_d1": "Moutarde",
        "libelle_culture_d2": "Vesce"
      },
      "type": "Feature"
    }
  ],
  "type": "FeatureCollection"
}

Changes

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