Changeset 19520


Ignore:
Timestamp:
Apr 24, 2010 11:07:30 AM (6 years ago)
Author:
rouault
Message:

Test reading geotransform when opening with GTIFF_DIR prefix (#3478)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autotest/gcore/tiff_read.py

    r19395 r19520  
    8080        return 'fail'
    8181
     82    # Check that georeferencing is read properly when accessing "GTIFF_DIR" subdatasets (#3478)
     83    gt = ds.GetGeoTransform()
     84    if gt != (440720.0, 60.0, 0.0, 3751320.0, 0.0, -60.0):
     85        gdaltest.post_reason('did not get expected geotransform')
     86        print(gt)
     87        return 'fail'
     88
    8289    return 'success'
    8390
Note: See TracChangeset for help on using the changeset viewer.