Given a database that contains three fields:
Latitude Longitude Proximity
Where Lat and Long are GPS coordinates, and Proximity is (some unit - feet? Seconds? Minutes?)
And given the user's current GPS lat/long...
I want to write a SQL query that will retrieve all rows where the user is within "Proximity" of those rows.
And the trick: This has to work in SQLite, which only supports fairly primitive data types. No cheating and relying on SQL Server (or some other product that provides better geospace functions).
Any suggestions?