Commit 5cf802e
authored
fix: preserve parent coordinate dtype in overview levels (#47)
TiTiler requires coordinate dtypes to match between parent and child
groups. Previously np.linspace() always returned float64, causing
alignment errors when parent coordinates were int64.
Now reads parent dtype and casts overview coordinates accordingly.
Fixes: group /measurements/reflectance/r10m/1 is not aligned error1 parent 882e917 commit 5cf802e
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
935 | 935 | | |
936 | 936 | | |
937 | 937 | | |
938 | | - | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
939 | 943 | | |
940 | | - | |
941 | | - | |
| 944 | + | |
| 945 | + | |
942 | 946 | | |
943 | 947 | | |
944 | 948 | | |
| |||
0 commit comments