geocoding-api icon indicating copy to clipboard operation
geocoding-api copied to clipboard

Proximity search

Open patrick-zippenfenig opened this issue 2 years ago • 2 comments

From @woheller69

A nice thing would be a geocoding api which returns the n largest cities around a location inside radius r

https://geocoding-api.open-meteo.com/v1/search?lat=45.0&lon=10.6&radius=50000&num=10

which returns city name, lat, lon for each city

patrick-zippenfenig avatar Apr 05 '23 10:04 patrick-zippenfenig

Is this related to the /proximity endpoint?

I tried that endpoint using https://geocoding-api.open-meteo.com/v1/ as the base and it was throwing 502 errors (I've intentionally left out the full path so other users don't try it per the next comment). I noticed that after hitting that endpoint, other parts of the geocoding-api.open-meteo.com would start throwing 502 errors for a brief period of time, so I've stopped testing as I didn't want cause any issues with your service.

joshualyon avatar Nov 13 '23 22:11 joshualyon

Here is a (reference) API for reverse geocoding: https://openweathermap.org/api/geocoding-api#reverse

Leftium avatar Apr 23 '24 17:04 Leftium