- install the requirements using pip3, e.g.
pip3 install -r requirements.txt
- go to the online map and zoom into an area of interest
- click "Export" to get a `map.osm`` file
- cat the json file into the
osm-xml-to-jsonl.py
tool, e.g.cat map-2023-09-27-London-UK-Soho.osm | python3 osm-xml-to-jsonl.py > map-2023-09-27-London-UK-Soho.jsonl
- use the output for whatever, probably via the clipboard, e.g. using
cat map-2023-09-27-London-UK-Soho.jsonl | pbcopy