Commit Graph

179 Commits

Author SHA1 Message Date
Stream
dcc7a6aec2 auto-sync: 2026-05-04 22:50:01 2026-05-04 22:50:01 +03:00
Stream
265b364445 auto-sync: 2026-05-04 17:10:01 2026-05-04 17:10:05 +03:00
Stream
698cd6af80 auto-sync: 2026-05-04 14:30:01 2026-05-04 14:30:01 +03:00
Stream
f19f741ed8 auto-sync: 2026-05-04 12:40:01 2026-05-04 12:40:01 +03:00
Stream
25255986f4 auto-sync: 2026-05-04 12:30:01 2026-05-04 12:30:01 +03:00
Stream
4836421910 auto-sync: 2026-05-04 12:20:01 2026-05-04 12:20:17 +03:00
Stream
73f213b7a4 auto-sync: 2026-05-04 12:00:01 2026-05-04 12:00:01 +03:00
Stream
ab569eae10 auto-sync: 2026-05-04 11:40:01 2026-05-04 11:40:01 +03:00
Stream
8ebc01ea2b auto-sync: 2026-05-04 11:30:01 2026-05-04 11:30:01 +03:00
Stream
d1e0267184 auto-sync: 2026-05-04 11:20:01 2026-05-04 11:20:01 +03:00
Stream
ff7d301fc4 auto-sync: 2026-05-04 11:10:01 2026-05-04 11:10:01 +03:00
Stream
6477326eda auto-sync: 2026-05-04 10:40:01 2026-05-04 10:40:01 +03:00
Stream
32c6939ef9 auto-sync: 2026-05-04 10:20:01 2026-05-04 10:20:01 +03:00
Stream
4b9ca58cbd auto-sync: 2026-05-04 10:10:01 2026-05-04 10:10:31 +03:00
Stream
ff6c156a29 auto-sync: 2026-05-04 09:40:01 2026-05-04 09:40:01 +03:00
Stream
3867eda080 auto-sync: 2026-05-04 08:00:01 2026-05-04 08:00:02 +03:00
Stream
00d638f2da auto-sync: 2026-05-04 01:10:01 2026-05-04 01:10:02 +03:00
Stream
5e7a362b24 auto-sync: 2026-05-04 01:00:01 2026-05-04 01:00:01 +03:00
Stream
eb802831a5 auto-sync: 2026-05-04 00:50:01 2026-05-04 00:50:02 +03:00
Stream
5c81fedd59 auto-sync: 2026-05-04 00:40:01 2026-05-04 00:40:02 +03:00
Stream
c07835b255 auto-sync: 2026-05-04 00:30:01 2026-05-04 00:30:01 +03:00
Stream
0a46b5347a auto-sync: 2026-05-04 00:20:02 2026-05-04 00:20:02 +03:00
Stream
989fc3537a auto-sync: 2026-05-04 00:10:01 2026-05-04 00:10:01 +03:00
Stream
d58c82fc3f auto-sync: 2026-05-04 00:00:01 2026-05-04 00:00:01 +03:00
Stream
bccd75767a auto-sync: 2026-05-03 23:40:01 2026-05-03 23:40:01 +03:00
Stream
ad168fef47 auto-sync: 2026-05-03 22:40:01 2026-05-03 22:40:10 +03:00
Stream
316db8e824 auto-sync: 2026-05-03 20:10:01 2026-05-03 20:10:02 +03:00
Stream
fb889f84ee auto-sync: 2026-05-03 20:00:01 2026-05-03 20:00:01 +03:00
Stream
da67ad1615 auto-sync: 2026-05-03 19:50:01 2026-05-03 19:50:01 +03:00
Stream
9427193f38 auto-sync: 2026-05-03 19:40:01 2026-05-03 19:40:01 +03:00
Stream
e376689a9b auto-sync: 2026-05-03 19:30:01 2026-05-03 19:30:01 +03:00
Stream
fce78dd2b5 auto-sync: 2026-05-03 19:20:01 2026-05-03 19:20:01 +03:00
Stream
af496380bf auto-sync: 2026-05-03 13:50:01 2026-05-03 13:50:01 +03:00
Stream
6184976174 perf(tiles): filter trails by length_m per zoom level
- z<=7: min 2000m, limit 3000
- z==8: min 500m,  limit 8000
- z==9: min 200m,  limit 8000
- z==10: min 50m,  limit 15000
- z>=11: no filter, limit 25000

Reduces row count from 25k to ~hundreds on z8 tiles.
2026-05-03 10:34:58 +00:00
Stream
af52f4890d auto-sync: 2026-05-03 09:20:01 2026-05-03 09:20:01 +03:00
Stream
d5ec250c97 feat(tiles): add LRU-cached tile endpoint with zoom-based geometry simplification
- /api/tiles/tracks/<z>/<x>/<y>.geojson — GeoJSON tile endpoint для MapLibre
- LRU-кэш тайлов по ключу (z, x, y) с лимитом 512 тайлов
- Упрощение геометрии треков через Shapely.simplify по зуму:
  - z < 5: tol=0.08 (очень сильное ~95% reduction)
  - z 5-6: tol=0.01-0.04
  - z 7-9: tol=0.002-0.004 (умеренное)
  - z >= 10: tol=0.0005 (почти как есть)
- Отдельный кэш упрощения по (z, track_id) на 4096 записей
- Cache-Control: public, max-age=3600 для HTTP-кэширования
- Gzip-сжатие ответов
- Удалены неиспользуемые импорты (shapely.ops.transform, shapely.wkt)
2026-05-03 04:52:06 +00:00
Stream
6fc5c8cf36 auto-sync: 2026-05-03 07:50:01 2026-05-03 07:50:01 +03:00
Stream
14844be1e6 auto-sync: 2026-05-03 00:20:01 2026-05-03 00:20:01 +03:00
Stream
cc7c306045 auto-sync: 2026-05-02 23:20:01 2026-05-02 23:20:01 +03:00
Stream
547796444a auto-sync: 2026-05-02 17:50:01 2026-05-02 17:50:02 +03:00
Stream
1541e4eb7d auto-sync: 2026-05-02 17:40:01 2026-05-02 17:40:01 +03:00
Stream
18bc60c7d9 auto-sync: 2026-05-02 17:30:01 2026-05-02 17:30:01 +03:00
Stream
08c633f3da auto-sync: 2026-05-02 17:10:01 2026-05-02 17:10:02 +03:00
Stream
b3c8a05fac auto-sync: 2026-05-02 16:20:01 2026-05-02 16:20:01 +03:00
Stream
7e205cef5f auto-sync: 2026-05-02 14:40:01 2026-05-02 14:40:01 +03:00
Stream
7606915ca9 auto-sync: 2026-05-02 13:00:01 2026-05-02 13:00:01 +03:00
Stream
fa27f66c2c auto-sync: 2026-05-02 12:50:01 2026-05-02 12:50:01 +03:00
Stream
494678191b auto-sync: 2026-05-02 12:40:01 2026-05-02 12:40:01 +03:00
Stream
bfcf5a51f2 auto-sync: 2026-05-02 12:30:01 2026-05-02 12:30:01 +03:00
Stream
87e3195c13 auto-sync: 2026-05-02 10:00:01 2026-05-02 10:00:01 +03:00