1 | | I managed to change the geotransform (t[5] specifically) of a geotiff from 2 to -2, but changing it back did not work. Need to investigate. |
| 1 | An attempt to update a GeoTIFF with a tiepoint+scale (normal geotransform) with one that requires ModelTransformationTag results in no apparent change because the tiepoint+scale values are not (and really cannot be) removed the way the libtiff api works. |
| 2 | |
| 3 | For instance, if we do so we can end up with a file like: |
| 4 | {{{ |
| 5 | Tagged_Information: |
| 6 | ModelTiepointTag (2,3): |
| 7 | 0 0 0 |
| 8 | 440720 3751320 0 |
| 9 | ModelPixelScaleTag (1,3): |
| 10 | 60 60 0 |
| 11 | ModelTransformationTag (4,4): |
| 12 | 2 0 0 0 |
| 13 | 0 3 0 0 |
| 14 | 0 0 0 0 |
| 15 | 0 0 0 1 |
| 16 | }}} |
| 17 | Then the GTiff driver just ignores the modeltransformtag since the tiepoint+pixelscale is still present. |
| 18 | |