Fandom

Resighting Wiki

Address Object

71pages on
this wiki
Add New Page
Comments0 Share

The Address object encapsulates a locality (usually a city) and a country.

The reverse-geocoding process that populates these address objects happens in the background and can take some time (potentially hours but usually more quickly). If the status attribute is “waiting” then the reverse geocoding hasn’t happened yet. If it is “ok” then it has happened. Note that if it is “ok” there still may not be a locality or a country if no matching address could be found.

AttributesEdit

Name Type Mandatory Description
status String(7) Yes

If the status is waiting then the reverse geocoding hasn’t happened yet. If it is ok then it has happened. Note that if it is ok there still may not be a locality or a country if no matching address could be found.

locality String No

A locality name (usually a city).

country String No

A country name.

street_address String No

The street address.

Not populated for addresses on Centre objects.

place String No

The place - for example the name of an airport.

Not populated for addresses on Centre objects.

ExampleEdit

{
       "status": "ok",
       "country": "France",
       "locality": "Paris",
       "street_address": "164 rue de Rivoli, 75001 Paris, France",
       "place": "The Louvre"
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.