mapping-geojson-osm/update_scripts/query-overpass.sh
2023-08-30 11:38:36 +02:00

11 lines
302 B
Bash
Executable File

#!/bin/bash
# Query Overpass API (https://wiki.openstreetmap.org/wiki/Overpass_API)
# Usage:
# ```sh
# echo "[out:json];(way(109849152); node(1985407312);); out;" | ./query-overpass.sh
# ```
curl -d @- -X POST http://overpass-api.de/api/interpreter
#> data_other/output_query_irve_from_overpass.json