On Oct 21, 6:45 pm, DanMPP <[email protected]> wrote:
> - is there an effective way to do this without running thousands of
> reverse geolocation queries, looping through all possible coordinates
> contained within the polygon?

Define "all possible coordinates contained within the polygon".
Hint: There's an infinite number of points inside a polygon.

What is your intended area of coverage? A city? A country? The world?
Those are very different scenarios.

You might want to think about using predefined polygons, like
zipcodes, or counties. That would simplify the problem a lot.
Aside from that, what do you need "all addresses" for?
If you save your polygons to a database, then you can lookup what
polygon a given address belongs in, only if the address is relevant
for a delivery. You don't need information about the neighbours'
address.


> I wouldn't be storing any
> of this information, just displaying it for immediate use.

It is recommended that you do store it.
Addresses don't change latitude/longitude, so there is no need to look
up any given address more than once.


--
Marcelo - http://maps.forum.nu
--



>
> Any help you guys could provide would be great.  Thanks.
> --Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to