Changeset 14009
- Timestamp:
- 03/14/08 10:16:01 (4 months ago)
- Files:
-
- branches/1.5/gdal/frmts/ecw/ecwdataset.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.5/gdal/frmts/ecw/ecwdataset.cpp
r13431 r14009 1369 1369 /* -------------------------------------------------------------------- */ 1370 1370 /* Capture Geotransform. */ 1371 /* -------------------------------------------------------------------- */ 1372 1371 /* */ 1372 /* We will try to ignore the provided file information if it is */ 1373 /* origin (0,0) and pixel size (1,1). I think sometimes I have */ 1374 /* also seen pixel increments of 0 on invalid datasets. */ 1375 /* -------------------------------------------------------------------- */ 1373 1376 if( psFileInfo->fOriginX != 0.0 1374 1377 || psFileInfo->fOriginY != 0.0 1375 && (psFileInfo->fCellIncrementX != 0.0 &&1376 psFileInfo->fCellIncrementX != 1.0)1377 && (psFileInfo->fCellIncrementY != 0.0 &&1378 psFileInfo->fCellIncrementY != 1.0) )1378 || (psFileInfo->fCellIncrementX != 0.0 1379 && psFileInfo->fCellIncrementX != 1.0) 1380 || (psFileInfo->fCellIncrementY != 0.0 1381 && psFileInfo->fCellIncrementY != 1.0) ) 1379 1382 { 1380 1383 bGeoTransformValid = TRUE;
