Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stefanocudini/overpass-query-cache

Bounding boxes caching system for Overpass API requests
https://github.com/stefanocudini/overpass-query-cache

openstreetmap osm overpass overpass-turbo

Last synced: 2 months ago
JSON representation

Bounding boxes caching system for Overpass API requests

Awesome Lists containing this project

README

        

# Overpass Query Cache

*...PROJECT WORK IN PROGRESS...*

Bounding boxes caching system for Overpass API requests

## Scope

Building a Nodejs library that with algorithms helps to optimize and manage a level of cache between a client and a server [overpass bees](http://overpass-ati.de/) or [Overpass Turbo](https://Overpass-turbo.eu/) in particular search for objects within a specific [Bounding Box](https://dev.overpass-api.de/overpass-doc/en/full_data/bbix.html).

Demo page to test algoritm:
https://stefanocudini.github.io/overpass-query-cache/test/

### How does it work

In BBOX's first request, some additional data is requested (see fixed tile) and subsequent requests in case they cover a nearby area no longer weigh on the overpass server because the cache contained in the tiles is used

![test page](test/test.gif)