You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Overpass API won't allow me to retrieve the nearest two elements, but some random ones, this could be useful for people that would like to go to those places instead of using the Detector feature.
For this to happen we need to replace the query so it returns more than 2 values (all maybe?) and then with the full data do some geolocation pre-processing to sort the points by closeness to the center we have. Then feed those two nearest of each type to nominatim instead. This should return closer addresses than what we currently return.
The text was updated successfully, but these errors were encountered:
Currently, Overpass API won't allow me to retrieve the nearest two elements, but some random ones, this could be useful for people that would like to go to those places instead of using the Detector feature.
For this to happen we need to replace the query so it returns more than 2 values (all maybe?) and then with the full data do some geolocation pre-processing to sort the points by closeness to the center we have. Then feed those two nearest of each type to nominatim instead. This should return closer addresses than what we currently return.
The text was updated successfully, but these errors were encountered: