Commit 9d8a3e3
committed
Address review nits: base_ifd sidecar lookup + test invariant (#2315)
* `_geotags.py`: when a base IFD is also tracked in `sidecar_origin`
(uncommon: a file with no full-resolution IFD on the base side),
resolve its georef against the sidecar's bytes too. Mirrors the
lookup applied to the selected IFD.
* `test_sidecar_own_geokeys_2315.py`: assert the first existing IFD
tag id is > 254 before inserting the NewSubfileType entry at
position 0, so a future writer change cannot silently break the
fixture's "insert at front" assumption.
* `_cog_http.py`: leave a cross-reference comment noting that the
`sidecar_origin` routing added in #2315 is not threaded through
the HTTP / fsspec metadata path yet; that gap is tracked by the
separate HTTP sidecar-byte-order finding.1 parent 1924122 commit 9d8a3e3
3 files changed
Lines changed: 31 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
242 | 249 | | |
243 | 250 | | |
244 | 251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1225 | 1225 | | |
1226 | 1226 | | |
1227 | 1227 | | |
1228 | | - | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
1229 | 1241 | | |
1230 | 1242 | | |
1231 | 1243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
110 | 120 | | |
111 | 121 | | |
112 | 122 | | |
| |||
0 commit comments