Repository navigation
Releases: happyman/twmap_gen_py
Releases · happyman/twmap_gen_py
Release list
v0.3.1 — KMZ 疊圖修復
What's New
KMZ 疊圖修復(fixes #1)
- 修正
doc.kml結構:所有 3km 圖磚的<GroundOverlay>直接平鋪寫入(對齊 PHPGarminKmz原始行為) - 舊版將所有 tile 放在單一不合法的
<NetworkLink>(小寫<link>)中,檢視器只會載入第一塊 3×3 km 圖磚,造成「downloaded kmz only shows 3x3 area」 - KMZ 寫入時記錄格數與涵蓋範圍(例:3×4 km 範圍 → 1×2 塊、涵蓋 3×4 km)
- 新增
tests/test_kmz.py:固定 tile 數(ceil(寬/3) × ceil(高/3))、doc.kml 結構(無 NetworkLink)與完整覆蓋範圍 - README 說明 KMZ 圖磚固定 3×3 km、與列印頁面尺寸(dim)無關
English
- Fix KMZ
doc.kml: every 3 km tile's<GroundOverlay>is now written inline, matching the PHPGarminKmzoriginal - Previously all tiles were routed through a single malformed
<NetworkLink>(lowercase<link>children), so viewers loaded only the first 3×3 km tile - KMZ export now logs the tile grid and covered extent
- New tests pinning tile counts, doc.kml structure and full-region coverage
- README documents that KMZ tiles are a fixed 3×3 km grid, independent of the print page dimension
v0.3.0 — GPX File Picker
What's New
GPX 檔案選擇器
- TUI 內建 GPX 檔案選擇器(DirectoryTree),點選「從 GPX 檔案」按鈕即可開啟
- 選擇
*.gpx後自動套用範圍、標題與設定,與--from-gpx相同效果 - 軌跡/航點標記選項可勾選控制
Other Changes
- Fix SIGBREAK cleanup on Windows
- Clean temp workdir on abnormal exit; add
--keep-tmp - Bilingual README (Chinese + English)
v0.2.2
Changes
- Exit code 3 for permanent input errors (region out of bounds, bad format, missing GPX, unknown source)
- Backend worker should NOT retry on exit code 3
- Exit code convention: 0=ok, 1=transient(retry), 3=permanent(no retry), 80=keyboard interrupt
v0.2.0
Full Changelog: https://github.com/happyman/twmap_gen_py/commits/v0.2.0