Skip to content

kkrypt0nn/OverScry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

OverScry Logo

OverScry

Version Badge Docker Badge CI Badge Go Report Card Last Commit Badge

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.

πŸ” The magic lens for Overpass queries

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.

Getting Started

Installation

Installing the tool can currently only be done via Go and Docker.

Go

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

Docker

You can run the tool from the published Docker image using:

docker run -v .:/data -it kkrypt0nn/overscry gen --settings /data/_examples/housenumber.yml

Example Usage

After installing you can run the tool with

overscry --help

This will give you the list of commands and their respective flags.

Settings YML File

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.

Troubleshooting

If you encounter issues while using OverScry, consider the following:

Contributing

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.

License

This tool was made with πŸ’œ by Krypton and is under the MIT License.