Caution
This is a WIP tool that is very unstable and not fully optimised, use at your own care! This README will also be reworked.
OverScry is a tool designed to simplify the process of generating Overpass queries from a YML structure file. By taking a structured YML input that defines specific geographical data and search parameters, OverScry automatically converts it into a valid Overpass query. Overall it makes it easier for both beginners and experts to leverage Overpass API capabilities without needing to understand how to write complex raw queries.
Installing the tool can currently only be done via Go and Docker.
You need to have Go installed. You can then install using:
go install github.com/kkrypt0nn/overscry@latest
You can then generate a query with the basic examples in the examples folder with
overscry gen --settings _examples/housenumber.yml
You can run the tool from the published Docker image using:
docker run -v .:/data -it kkrypt0nn/overscry gen --settings /data/_examples/housenumber.yml
After installing you can run the tool with
overscry --help
This will give you the list of commands and their respective flags.
The YML file for the settings of the query currently support only the following example structure
version: 0.0.1-dev
author: Krypton (@kkrypt0nn)
description: A query to get every house with number 1337
node:
addr:
housenumber:
value: 1337
match: equals
A lot of work is put into so that more arguments and features/tags are supported. Please be patient for upcoming changes.
If you encounter issues while using OverScry, consider the following:
- Ensure you are running the latest version
- Report issues: Use the GitHub issue tracker
People may contribute by following the Contributing Guidelines and
the Code of Conduct once the tool is out of pre-releases, so once v0.1.0
comes out.
This tool was made with π by Krypton and is under the MIT License.