Zip Code Radius Search question...

Posted by KnockKnockWhosThere on Stack Overflow See other posts from Stack Overflow or by KnockKnockWhosThere
Published on 2010-03-29T07:12:15Z Indexed on 2010/03/29 7:33 UTC
Read the original article Hit count: 369

Filed under:
|
|
|

I'm wondering if it's possible to find all points by longitude and latitude within X radius of one point?

So, if I provide a latitude/longitude of -76.0000, 38.0000, is it possible to simply find all the possible coordinates within (for example) a 10 mile radius of that?

I know that there's a way to calculate the distance between two points, which is why I'm not clear as to whether this is possible... Because, it seems like you need to know the center coordinates (-76 and 38 in this case) as well as the coordinates of every other point in order to determine whether it falls within the specified radius... Is that right?

© Stack Overflow or respective owner

Related posts about math

Related posts about radius