« Retrieving data using our programs | Main | "Enterprise" use of our programs »

Accessing Reverse Geocoder from an Application

To access the underlying program of the reverse geocoder from an application using a SOAP interface, the following syntax applies:

http://maps.huge.info/reverse.pl?SOAP=Y&POINT=(lat,lng)

Each IP is allowed 150 "hits" on this program for every 2 hours. Once the limit has been reached, 2 hours must pass before resuming or the lock will be extended another 2 hours. Adding the SOAP=Y parameter returns a more SOAP friendly format, omitting this parameter returns xml for use in the Google Maps API.

Example:

reverse.pl?SOAP=Y&POINT=(37.423655,-122.088431)

Returns:

<georf>
<info hitrem="139"/>
<address><![CDATA[1405 AMPHITHEATRE PKWY
MOUNTAIN VIEW, CA 94043-1352
Computed: 37.423659,-122.088431
Distance: 1 feet
]]></address>
<number>1405</number>
<street>AMPHITHEATRE PKWY</street>
<city>MOUNTAIN VIEW</city>
<state>CA</state>
<zip>94043</zip>
<zip4>1352</zip4>
<computed>37.423659,-122.088431</computed>
<distance>1 feet</distance>
</georf>

About

This page contains a single entry from the blog posted on October 15, 2006 10:30 AM.

The previous post in this blog was Retrieving data using our programs.

The next post in this blog is "Enterprise" use of our programs.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.31