mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-22 23:16:46 +00:00
371083ed47
The trail grades under a tour (BIK-05, MAP-03, MAP-04, RUN-02) and the horse routes around a map view (HOR-01) asked the public Overpass mirrors. The places host now serves both from its own planet build: GET /v1/ways for the tags of ways by id and GET /v1/routes for route relations per box, each in Overpass element form. trek-places.client gains trekPlacesWays (batches of 500, one after another) and trekPlacesRoutes, both through getJson with its off switch, breaker, timeout, size cap and instance header, each element validated on its own. TrekPlacesLayersService in the maps domain hands their answers to the tours services, or why there is none (switched off, layer not built, failed), and logs that once per layer until it answers again. Both tours services ask the layer first and fall back to the existing Overpass path; the responses TREK sends its clients are unchanged.