Skip to content

Cache Overpass results

nic547 requested to merge nic547/osmybiz:merge_cache into develop

Currently the application sends queries to overpass on every move. Due to rate limiting by the used overpass instances, these many request will end up throttled rather soon-ish, resulting in errors.

This MR splits the map into 10 millidegree tiles that get cached by the application. Before sending request to overpass, the application now checks this cache and determines whether it needs to request anything from overpass at all or tries to only load new segments. It also tries to prevent requests for the same areas getting sent in short succession because no result has been returned yet.

Additionally the MR adjusts the URL of the used Overpass-Instance, as the lz4 one is no longer online.

Merge request reports