API - Description - Geocoding / Reverse Geo - Response

Support DQE
Support DQE
  • Updated

Geocoding

Success

The JSON response is a dictionary whose keys are the numbers from 1 to n and where each element is itself a dictionary containing the following keys:

KeyDescriptionAll countries ?Format
LatitudeLatitude of the addressYesDecimal
LongitudeLongitude of the addressYesDecimal
LibelleQualiteGeoLabel of the type of geocodingNoString
CodeQualiteGeoCode of the type of geocodingNoString

 

Details of the return codes for the « LibelleQualiteGeo » « CodeQualiteGeo » keys :

CodeQualiteGeo LibelleQualiteGeoDescription
1ENTREEMain access point to an open or closed enclosure, to a group of buildings or to a piece of land (address plate)
2BATIMENTBuilding or part of a building
3ESCALIERSStairwell, normally inside a building
4LOGEMENTHousing or room inside a building.
5PARCELLE CADASTRALECadastral parcel
6SEGMENT DE VOIEPosition derived from the segment of the connecting street. (Modification of some BAN data because located outside the city polygon, but on the same street)
7POINT D ACCESS TECHNIQUETechnical access point (e.g., room with water, electricity, gas shut offs, etc.)
8POINT DELIVRANCE POSTALEPostal delivery point (mailbox)
9ZONE D ADRESSAGEPoint placed in the dependent locality
10CENTRE VILLECenter of the city
0CENTRE DE LA VOIEPoint in the center of the street
90A CONTROLERTo check
99NON PRESENTENot available

 

Example :

{
"1": {
"Latitude": "48.836069",
"LibelleQualiteGeo": "ENTREE",
"Longitude": "2.235501",
"CodeQualiteGeo": "1"
}
}

 

Error

Error typeRequestResponse type
Missing “Licence” parameter https://{SERVER_ADDRESS}/LATLG/?IDVoie=1456244&Num=22&Taille=38&Pays=FRA
{
  "1": {
    "Latitude": "0.00",
    "Longitude": "0.00"
  }
}
Empty “Licence” parameterhttps://{SERVER_ADDRESS}/LATLG/?IDVoie=1456244&Num=22&Taille=38&Pays=FRA&Licence=
{
  "1": {
    "Latitude": "0.00",
    "Longitude": "0.00"
  }
}
Incorrect licence numberhttps://{SERVER_ADDRESS}/LATLG/?IDVoie=1456244&Num=22&Taille=38&Pays=FRA&Licence={INCORRECT_LICENCE_CODE}
{
  "1": {
    "Latitude": "0.00",
    "Longitude": "0.00"
  }
}
Missing “IDVoie” parameterhttps://{SERVER_ADDRESS}/LATLG/?Num=22&Taille=38&Pays=FRA&Licence={LICENCE_CODE}500 Internal Server Error
Missing “IDNum” parameterhttps://{SERVER_ADDRESS}/LATLG/?IDVoie=1456244&Taille=38&Pays=FRA&Licence={LICENCE_CODE}500 Internal Server Error
Missing “Pays” parameterhttps://{SERVER_ADDRESS}/LATLG/?IDVoie=1456244&Num=22&Taille=38&Licence={LICENCE_CODE}500 Internal Server Error
Error on a parameterhttps://{SERVER_ADDRESS}/LATLG/?IDVie=1456244&Num=22&Taille=38&Pays=FRA&Licence={LICENCE_CODE}500 Internal Server Error

 

Reverse Geocoding

Success

The JSON response is a dictionary whose keys are the numbers from 1 to n and where each element is itself a dictionary containing the following keys:

KeyValueFranceInternational
IDLocaliteUnique code for each city (INSEE code for France)STRING(10)STRING(10)
SaisieEmpty  
PaysISO country codeSTRING(3)STRING(3)
CodePostalPostal code of the cityINTEGER(5)STRING(10)
LocaliteName of the citySTRING(38)STRING(50)
RoudisRoudis code for France onlyINTEGER(5)Non disponible
Instance

Number passed as a parameter during the call

and returned to us with the answer

INTEGER(1)INTEGER(1)
IDVoieUnique number to designate the channelINTEGER(8)STRING(10)
VoiePort NameSTRING(38)STRING(50)

Numero Ou

Num

Number of numbers in the portINTEGER(4)INTEGER(4)

Nbnumero ou

NbNumero

Number of numbers in the portINTEGER(4)INTEGER(4)
ListeNumeroEmpty  

Example :

{
"1" : {
"IDLocalite": "92044", "Saisie": "",
"Nbnumero": "1",
"Pays": "FRA",
"IDVoie": "1749869", "Voie": "RUE VICTOR HUGO",
"Numero": "104",
"Instance": "",
"ListeNumero": "",
"Num": "104",
"CodePostal": "92300",
"NbNumero": "1",
"Localite": "LEVALLOIS PERRET", "CodeVoie": "1749869"
}
}

Related to

Was this article helpful?

0 out of 0 found this helpful