Osmf: A simple command-line tool to explore OSM data (2020)
github.com
github.com
osmf <lat> <long> <radius_meter> [way_area<<value>] [way_area><value>] [<tag>=<value>]...
Cool, but I often start my with a place name, as opposed to lat/long. osmf $(oslatlong "Berlin, Germany") <radius_meter> [way_area<<value>] [way_area><value>] [<tag>=<value>]...
Unfortunately, oslatlong doesn't exist, but maybe something else does the job? $ curl -s 'https://nominatim.openstreetmap.org/search?q=36%20Quai%20des%20Orfevres%20Paris&format=json' | jq .
[
{
"place_id": 5797794,
"licence": "Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright",
"osm_type": "node",
"osm_id": 676748219,
...
"lat": "48.8554631",
"lon": "2.3430218",
...
}
]Fortunately the ban wasn't that long and the next day I managed to get the list I wanted, after putting a one-second delay between each API call.
CLOSM - might be better as a horror movie