Articles and Tutorials
SmartFIND Reverse Geocoder Web Service V2
The Reverse Geocoding Web Service v2 allows users to find nearest-neighbour address points.
The web service can be accessed using any client software that supports standard HTTP GET requests and results are returned in JSON format.
The reverse-geocoder web service is a commercial service. If you would like to use the service but don't have a subscription, contact sales@geosmart.co.nz .
Sample usage
http://<username>:<password>@spatial.geosmart.co.nz/geocoder.json?c=2665167+6493818
or
http://<username>:<password>@spatial.geosmart.co.nz/geocoder.json?c=174.7328832+-36.7441100+WGS84
Request Parameters
The following request parameters are supported.
| Parameter | Value | Description |
|---|---|---|
| c | string | The coordinate in the format <x>+<y>+NZMG (eg. "2665167+6493818+NZMG") or <longitude>+<latitude>+WGS84. Adding the coordinate system is optional. Valid coordinate systems values are NZMG and WGS84 (default is NZMG). |
| limit | int | Max number of addresses retrieved. Default is 1. Upper limit is 30 |
Example Output
[
{
name: "29 Apollo Drive"
suburb: "Rosedale"
town: "North Shore"
district: "North Shore City"
region: "Auckland"
island: "North Island"
x: 2665166
y: 6493818
longitude: 174.7329
latitude: -36.7441
locality: "Rosedale, North Shore, North Shore City"
}
]

