{"id":18899914,"url":"https://github.com/jake-low/overpass-cli","last_synced_at":"2025-08-30T06:32:37.963Z","repository":{"id":256907249,"uuid":"856778339","full_name":"jake-low/overpass-cli","owner":"jake-low","description":"Command line tool for querying OpenStreetMap data using the Overpass API","archived":false,"fork":false,"pushed_at":"2024-09-13T07:48:04.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-13T20:18:50.176Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jake-low.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-13T07:29:19.000Z","updated_at":"2024-09-13T07:48:37.000Z","dependencies_parsed_at":"2024-09-13T20:29:21.946Z","dependency_job_id":null,"html_url":"https://github.com/jake-low/overpass-cli","commit_stats":null,"previous_names":["jake-low/overpass-cli"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jake-low%2Foverpass-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jake-low%2Foverpass-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jake-low%2Foverpass-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jake-low%2Foverpass-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jake-low","download_url":"https://codeload.github.com/jake-low/overpass-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239879307,"owners_count":19712176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T08:47:58.882Z","updated_at":"2025-08-30T06:32:37.951Z","avatar_url":"https://github.com/jake-low.png","language":"Rust","readme":"# overpass-cli\n\nA command line tool for querying OpenStreetMap data using the Overpass API.\n\n\u003e [!IMPORTANT]\n\u003e By default, this tool makes requests to [overpass-api.de](https://overpass-api.de/), which is a public server generously offered to the OpenStreetMap community free of charge. It is intended primarily for running manual queries and other low-volume use. Please do not abuse this service by making excessive requests or downloading enormous amounts of data. [See the usage policy for more info](https://dev.overpass-api.de/overpass-doc/en/preface/commons.html).\n\n## Example\n\nThis invocation finds nodes tagged `natural=arch` in Utah, and returns them as JSON.\n\n```\n$ overpass --area 'Utah' --format json 'node[natural = arch]'\n{\n  \"version\": 0.6,\n  \"generator\": \"Overpass API 0.7.62.1 084b4234\",\n  \"osm3s\": {\n    \"timestamp_osm_base\": \"2024-09-13T07:18:29Z\",\n    \"copyright\": \"The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.\"\n  },\n  \"elements\": [\n    {\n      \"type\": \"node\",\n      \"id\": 759250908,\n      \"lat\": 38.7911745,\n      \"lon\": -109.6089896,\n      \"tags\": {\n        \"name\": \"Navajo Arch\",\n        \"natural\": \"arch\"\n      }\n    },\n    ...\n  ]\n}\n```\n\n## Installation\n\nThis tool is written in Rust and is published to [crates.io](https://crates.io/crates/overpass-cli). If you have a Rust toolchain installed, you can download and build it by running:\n\n```\n$ cargo install overpass-cli\n```\n\nYou can also clone this repository and run `cargo install --path .` in it.\n\n## Usage\n\n```\nUsage: overpass [OPTIONS] [QUERY]\n\nArguments:\n  [QUERY]  OverpassQL query string (when omitted, query is read from STDIN)\n\nOptions:\n  -f, --format \u003cFORMAT\u003e\n          Output format [possible values: xml, json]\n  -o, --out \u003cOUTPUT\u003e\n          Output type [possible values: ids, skel, body, tags, meta, center, geom]\n      --area \u003cSEARCH_STRING\u003e\n          Area name to geocode with Nominatim (available as 'area' in the query)\n      --bbox \u003cMIN_LON\u003e \u003cMIN_LAT\u003e \u003cMAX_LON\u003e \u003cMAX_LAT\u003e\n          Global bounding box (implicitly applies to all statements)\n      --timeout \u003cTIMEOUT\u003e\n          Timeout in seconds\n      --mem \u003cMEM\u003e\n          Max memory for query (accepts SI suffixes e.g. 512MB, 2GiB)\n      --date \u003cDATE\u003e\n          Return results for a time in the past (ISO 8601 format)\n      --diff \u003cFROM\u003e \u003cTO\u003e\n          Compare results at two different times (ISO 8601 format)\n      --adiff \u003cFROM\u003e \u003cTO\u003e\n          Like --diff, but returns augmented diff with extra information\n      --server \u003cURL\u003e\n          Overpass server [default: https://overpass-api.de]\n      --nominatim-server \u003cURL\u003e\n          Nominatim server (queried when --area is used) [default: https://nominatim.openstreetmap.org]\n      --dry-run\n          Construct and print query but do not send to server\n````\n\n## Maturity\n\nThis tool is an early (v0.x) draft. Please feel free to report bugs or request missing features.\n\n## License\n\nCode for this tool is available under the terms of the ISC License. See the LICENSE file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjake-low%2Foverpass-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjake-low%2Foverpass-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjake-low%2Foverpass-cli/lists"}