Articles and Tutorials
SmartFIND Reverse Geocoder Web Service
The Reverse Geocoding Web Service 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>@ext1.geosmart.co.nz/geocoder/v2/ReverseGeocoder.aspx?c=2665167+6493818
Request Parameters
The following request parameters are supported.
| Parameter | Value | Description |
|---|---|---|
| c | string | The coordinate in the format <x>+<y>+<coordinate system> (eg. "2665167+6493818+NZMG"). 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 |
Examples
GET http://ext1.geosmart.co.nz/geocoder/v2/ReverseGeocoder.aspx?c=174.7328832+-36.7441100+WGS84
[{"name":"29 Apollo Drive","locality":"Windsor Park, Auckland","x":2665166,"y":6493818,"longitude":174.7328498,"latitude":-36.7440781}]
GET http://ext1.geosmart.co.nz/geocoder/v2/ReverseGeocoder.aspx?c=2665167+6493818
[{"name":"29 Apollo Drive","locality":"Windsor Park, Auckland","x":2665166,"y":6493818,"longitude":174.7328498,"latitude":-36.7440781}]

