ossimlabs / ossim

Core OSSIM (Open Source Software Image Map) package including C++ code for OSSIM library, command-line applications, tests, and build system
MIT License
299 stars 142 forks source link

Refactor of map projections to fully utilize 4x4 transform. #209

Closed oscarkramer closed 5 years ago

oscarkramer commented 5 years ago

Added capability to handle image coordinates rotated relative to map coordinates. GeoTIFF provides the tag 34264 (Image-to-Model Transformation Matrix): a 4x4 matrix that fully describes the image to model transformetaion, incuding scale (GSD), rotation, and offset (in image coordinates). This refactor fixes the projection of a rotated LandSat image that was being incorrectly projected. The test image is rotated about 7 deg (LS7_ETM_SYS_P31_GLS2000_073_073_20000227_b1.tif)