Commit e2228f8
authored
### Motivation
Input TIFFs should be automatically tiled using their GSD and imagery
type to determe the appropriate output scale. It avoids data managers to
know what the supplied tile size is, what should be the output tile
size, and whether or not a "retiling" (output tile made of several input
TIFFs) is needed.
Validation of perfect alignment and duplicates does not make sense at
this stage as the tiling will always occurs when `--scale=auto`. This
validation feature has been removed and will be part of a visual QA
feature next.
### Modifications
- ⚠️ **BREAKING CHANGE** `--retile` and `--validate` flags has
been removed
- Add an `auto` mode to the `--scale` flag
- Always validate inputs have consistent `GSD`
<!-- TODO: Say what changes you made. -->
<!-- TODO: Attach screenshots if you changed the UI. -->
### Verification
Automated and manual tests
<!-- TODO: Say how you tested your changes. -->
1 parent 73361b5 commit e2228f8
File tree
5 files changed
+151
-424
lines changed- src/commands/tileindex-validate
- __test__
5 files changed
+151
-424
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
| 269 | + | |
275 | 270 | | |
276 | | - | |
277 | | - | |
| 271 | + | |
278 | 272 | | |
279 | | - | |
280 | | - | |
281 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
282 | 276 | | |
283 | 277 | | |
284 | 278 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
35 | 33 | | |
36 | 34 | | |
0 commit comments