Commit Graph

8 Commits

Author SHA1 Message Date
7c18f4442b async tile fetcher
we use cqueues, which is the async framework that lua-http is built
on. we integrate it into the glib event loop rather hackily by calling
the cqueues event stepper ever 20ms from a glib timeout function

overpass has very low rate limits so we handle a 429 response by
sleeping for a random length of time and retrying. This is, also,
a bit of a hack
2025-06-03 22:18:05 +01:00
d5e82d3427 replace in-memory cache with a persistent json cache
we just store the raw response from overpass
2025-06-03 22:18:05 +01:00
ab4e4857f3 fetch enough tiles to cover the display 2025-06-03 22:18:01 +01:00
398693bc07 hook the ui up to the overpass data 2025-05-28 18:50:12 +01:00
dc95c2252e convert lat/lon to tile x/y and back 2025-05-27 23:48:32 +01:00
184ba482f9 and decode 2025-05-27 13:34:09 +01:00
26ebbe21b5 hack in rxi-json 2025-05-27 13:31:54 +01:00
a2906f5150 http request to overpass 2025-05-27 13:12:12 +01:00