I’d like to be able to put in a GPS coordinate (latitude and longitude) into a python function and have it return the range of latitudes and longitudes which will fall within a certain distance from the original point.
What I ultimately want to do is to take a GPS coordinate and be able to go into my database of GPS coordinates using SQLAlchemy and return the coordinates which fall within a certain range, for example within 1 mile.
Is there any framework that does that or do you have any advice for going about solving this problem?
An answer from the link in the comment that Carl left was actually the solution I went with:
MySQL Great Circle Distance (Haversine formula)