Register  |  Login   Search
ThinkGeo - GPS Tracking and Mapping Solutions  |  Home  |  Cygnus Track  |  Developer Community
 
LivePerson Chat

Discussion Forums

The online community for users of Map Suite GIS components

Return addresses within specified distance
Last Post 01-31-2008 06:36 PM by rob. 6 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
robUser is Offline
Level 1
Level 1
Posts:4

--
01-22-2008 04:59 PM

Can I use Geocode USA to return all addresses from a list or database which are within a specified distance (5 miles for example) of a given address?

guoxinUser is Offline
Level 1
Level 1
Posts:15

--
01-22-2008 09:31 PM

Now, the Geocode only sopport batch query from a list, and the list must be some given address.

robUser is Offline
Level 1
Level 1
Posts:4

--
01-23-2008 09:57 AM
Hello Guo,

I'm sorry but I'm having trouble understanding your response to my question.
"only supports batch queries from a list" - I want to query all addresses from list within 5 miles of a specific address.
"the list must be some given address" - ???

Is the first word Now, like present time, or are you saying No?

guoxinUser is Offline
Level 1
Level 1
Posts:15

--
01-30-2008 04:28 AM
I mean that: if you want to use the batch query Function, you must store all the addresses which you want to query in a list. And the Geocode doesn’t care the related in those addresses.
robUser is Offline
Level 1
Level 1
Posts:4

--
01-30-2008 09:53 AM
Yes, I will store all addresses I want to query in a list. I find that storing them in a paper bag or in a ruby encrusted treasure-chest doesn't work as well when running a query.

"And the Geocode doesn't care the related in those addresses" - I appreciate that you're trying to help, but I don't know what this means. Geocode doesn't care about how fields in the list are related? something else?

I have all the addresses I want to query stored in a list. (fields defined as: "Address, Zip" for example)..
Can I use the batch query, or some other Geocode function, to return any and all addresses stored in the list which are within 5 miles of a seperate address (Address, Zip) which I use in the query.

In other words, can Geocode tell me the distance, in miles, between 2 addresses, and can it do this in batch mode, quickly?

ValUser is Online
MVP
MVP
Posts:71
Avatar

--
01-31-2008 06:21 PM
If you have a list of addresses and you want to know if they are within a certain distance of an other adress, you can do that quickly in a batch mode. Each address that you batch geocode, you will get an object as a result that has information such as Long and Lat (X andY). From that, you can get the distance from the given adress (That you would have previously geocoded as well with the Long and Lat result). That would be the euclidean distance (on a straight line). If this is what you want, you can do that. You can give you the formula for finding the distance between two points. It is pretty simple.

On the other hand, if you need to find all the addresses in the Geocode USA within a certain distance from a point, this is going to be a little bit more complicated and we would have to add this as a new feature to Geocode USA. But from reading your posts, it seems that you are in the first case.

I hope we have answered your question this time.
robUser is Offline
Level 1
Level 1
Posts:4

--
01-31-2008 06:36 PM
We would typically have a list of store locations, and would want to return the addresses of stores within a given radius of a customer address. Sounds like we would be able to do this, so this is exactly what I was looking for.

Thank you both!

You are not authorized to post a reply.

Active Forums 4.1