apoc.spatial.reverseGeocode
Syntax |
|
||
Description |
Returns a textual address from the given geographic location (latitude, longitude) using a geocoding service (default: OpenStreetMap). This procedure returns at most one result. |
||
Input arguments |
Name |
Type |
Description |
|
|
The latitude of the location. |
|
|
|
The longitude of the location. |
|
|
|
Whether or not to throw an exception when the maximum request quota is reached. The default is: |
|
|
|
|
|
Return arguments |
Name |
Type |
Description |
|
|
A detailed map of information on the found location. |
|
|
|
A map of returned data from the given provider. |
|
|
|
The latitude of the found location. |
|
|
|
The longitude of the found location. |
|
|
|
A description of the found location. |
Usage Examples
CALL apoc.spatial.reverseGeocode(51.5074, 0.1277);
location | data | latitude | longitude | description |
---|---|---|---|---|
{description: "Crossway, London Borough of Bexley, London, Greater London, England, SE28 8NH, United Kingdom", latitude: 51.50743369498096, longitud e: 0.1274535888695359} |
{country: "United Kingdom", country_code: "gb", road: "Crossway", city: "London", state_district: "Greater London", postcode: "SE28 8NH", state: "England", city_district: "London Borough of Bexley"} |
51.50743369498096 |
0.1274535888695359 |
"Crossway, London Borough of Bexl ey, London, Greater London, England, SE28 8NH, United Kingdom" |