RPG endpoints

Get Field Info By Lat Lon

Returns information about a field from a Point Of Interest, in GEOJSON EPSG:4326 format

get/rpg/field/@/{lat},{lon}

Path parameters

latnumber required

Latitude (Y axis) as EPSG:4326, e.g. 48.455791

Latitude (Y axis) as EPSG:4326, e.g. 48.455791

lonnumber required

Longitude (X axis) as EPSG:4326, e.g. 2.218618

Longitude (X axis) as EPSG:4326, e.g. 2.218618

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.