-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Climate change causes South Africa to mysteriously rise instead of sink. NASA helps find why
By hellowalkman,
- 9 replies
- 0 views
-
Google's Waze adds a new Minion-themed driving experience
By Aditya Tiwari,
- 4 replies
- 1 view
-
Google's Waze onboards Dashie to voice your daily commute
By Aditya Tiwari,
- 5 replies
- 3 views
-
Google Maps gets trending lists, customization options, and AI summaries for places
By Aditya Tiwari,
- google maps
- (and 4 more)
- 1 reply
- 14 views
-
Waze adds new Ghostbusters navigation experience to its app
By Aditya Tiwari,
- 3 replies
- 7 views
-
Question
tanjiajun_34
Hi! I am no good in programming so please excuse if I am saying anything stupid.
So yeah I am working on an Android application that allows the user to enter a location's lat and long coordinates and using the coordinates, it will search a database (Google firebase actually) containing many different location's coordinates and will return those locations that are of a certain radius.
My first idea was to "rip" all the locations in the database to the application and calculating all the coordinates' distance from the user entered coordinates one by one with the coordinates that the user entered. However, this is of course pretty resource demanding if the database gets large.
So I am asking, if given a lat and long coordinate and the radius, is there a formula or what to get the range of lat and long numbers that will fall inside the radius?
Link to comment
https://www.neowin.net/forum/topic/1312052-gps-coordinates-question/Share on other sites
0 answers to this question
Recommended Posts