Answer the question
In order to leave comments, you need to log in
How to correctly match the user's current coordinates with the list of Russian and CIS regions from the database?
The first thing that comes to mind is geocoding by coordinates and getting the name of the region and comparing it with the existing database. Confuses that that it is comparison of lines.
Answer the question
In order to leave comments, you need to log in
Well, convert the strings to float or double there and compare ... Your confusion is incomprehensible. Show at least an example of the data that you have.
You can also compare them by checksum, but this does not solve the problem that geocoding can give me a region in one spelling, but in the database I have a different form. Now, if the geocode code for the region's ISO returned, it would be possible to become attached to the iron.
Of course, there are third-party services for example
https://github.com/InfiniteLoopDK/ILGeoNames/tree/master
but it seems like there is a limit of 15,000 requests per day for a free license.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question