Re: Finding an Address
| From: | Floyd Resler | Date: | Thu, 28 Feb 2013 19:42:38 +0000 |
| Subject: | Re: Finding an Address | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320323@lists.php.net to get a copy of this message | ||
On Feb 28, 2013, at 1:04 PM, kenrbnsn@rbnsn.com wrote:
> On 28.02.2013 12:36, Floyd Resler wrote:
>> I have a project where my client would like to find the nearest
>> street address from where he current is. Getting the longitude and
>> latitude is easy enough but I'm having a hard time finding out how to
>> get the nearest house. I have found a lot of solutions for addresses
>> maintained in a database but these addresses won't be in a database.
>> I thought about just querying Google for each longitude and latitude
>> within in a small circle but my math skills are nowhere near good
>> enough to accomplish that. Anyone have any ideas?
>>
>> Thanks!
>> Floyd
>
>
> Have you tried Google Maps reverse geocoding?
> https://developers.google.com/maps/documentation/geocoding/#ReverseGeocoding
>
> Ken
>
That's what I'm doing but I need to find the closest say five houses to the current
latitude and longitude coordinates.
Thanks!
Floyd