Repository navigation
feat: sync camera coordinates and VietMap addresses - #7
Conversation
|
ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Mục tiêu
Bổ sung tọa độ gốc cho camera và tự động reverse-geocode địa chỉ bằng VietMap mà không lộ API key ra frontend.
Thay đổi
Latitude/LongitudetừLocation.Shapecho 796/797 camera hiện có.TTH 190không có tọa độ vì camera này không còn xuất hiện trong response nguồn hiện tại.scripts/sync-cameras.mjs:Publish:truedisplay_type=6Sync camera datachạy mỗi 6 giờ và hỗ trợ chạy tay / force geocode.data/auto-sync-cameraskhi dataset thực sự thay đổi.VIETMAP_API_KEY;HCM_TRAFFIC_COOKIElà tùy chọn nếu nguồn yêu cầu session.Lưu ý API key
Không commit API key vào repository. Thêm tại:
Settings → Secrets and variables → Actions →
VIETMAP_API_KEY