K
Ken Fine
I have a database of lat/long positions. What I want to be able to do is to
be able to filter that database based on a selection by the user. In other
words the user picks point X and I want to know all the locations in my DB
that are within say, 50 feet or 500 feet of that point.
I am told there are several ways to do this. One way is to use a database
with spatial query support and write spatial queries. I'm told the other,
Old Skool way to do this is to use something called "haversign functions" --
sorry if I'm mangling the spelling -- and loop through your dataset (or
filter it in some more efficient way).
I will be using a spatially aware DB in the future. I would like to know how
to do this "manually", in programming, using the Haversign functions. I am
competent with working with C# and VS.NET. Can someone point me to a port of
these functions for C#?
Thanks,
-KF
be able to filter that database based on a selection by the user. In other
words the user picks point X and I want to know all the locations in my DB
that are within say, 50 feet or 500 feet of that point.
I am told there are several ways to do this. One way is to use a database
with spatial query support and write spatial queries. I'm told the other,
Old Skool way to do this is to use something called "haversign functions" --
sorry if I'm mangling the spelling -- and loop through your dataset (or
filter it in some more efficient way).
I will be using a spatially aware DB in the future. I would like to know how
to do this "manually", in programming, using the Haversign functions. I am
competent with working with C# and VS.NET. Can someone point me to a port of
these functions for C#?
Thanks,
-KF