feat: 新增武汉江夏区雷达站
This commit is contained in:
parent
63e484870d
commit
4696a46c8c
@ -364,13 +364,13 @@ func runTilesFromNMC(ctx context.Context, opts Options) error {
|
||||
dateStr := local.Format("20060102")
|
||||
hh := local.Format("15")
|
||||
mm := local.Format("04")
|
||||
// Prepare tile list: primary (opts or default Nanning) + Guangzhou (7/40/104)
|
||||
// Prepare tile list: primary (opts or default Nanning) + Guangzhou (7/40/104) + Wuhan (7/42/104)
|
||||
z, y, x := opts.Z, opts.Y, opts.X
|
||||
if z == 0 && y == 0 && x == 0 {
|
||||
z, y, x = 7, 40, 102
|
||||
}
|
||||
type tcoord struct{ z, y, x int }
|
||||
tiles := []tcoord{{z, y, x}, {7, 40, 104}}
|
||||
tiles := []tcoord{{z, y, x}, {7, 40, 104}, {7, 42, 104}}
|
||||
// de-duplicate if same
|
||||
seen := map[string]bool{}
|
||||
for _, tc := range tiles {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user