class Geocoder::Result::BanDataGouvFr
def properties
For up to date doc (in french only) : https://adresse.data.gouv.fr/api/
:population => [float] number of inhabitants with a 1000 factor
the city
:adm_weight => [string] administrative weight (importance) of
CITIES ONLY PROPERTIES
and country code
:label => [string] full address without state, country name
region code
:context => [string] department code, department name and
:city => [string] city name
consider it as a french institutional UUID)
:citycode => [string] city code (INSEE reference,
beware many cities got severeal postcodes)
:postcode => [string] city post code (used for mails by La Poste,
:name => [string] housenumber and street name
:street => [string] street name
(bis, ter, A, B)
:housenumber => [string] street number and extra information
relevancy
:score => [float] value between 0 and 1 giving result's
town, village, locality)
:type => [string] result type (housenumber, street, city,
l'information géographique et forestière)
atm, based on IGN reference (Institut national de
:id => [string] UUID of the result, said to be not stable
List of raw attrbutes returned by BAN data gouv fr API:
def properties result['properties'] if result end