Changeset 14258
- Timestamp:
- 04/11/08 10:47:22 (3 months ago)
- Files:
-
- branches/1.4/gdal/frmts/nitf/nitfimage.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.4/gdal/frmts/nitf/nitfimage.c
r11905 r14258 805 805 /* Bug #1750 */ 806 806 /* Fix for cjnc/cjncz01/000k1023.jn1 (and similar) from NIMA GNCJNCN CDROM: */ 807 /* this product is crossing meridian 180deg and the upper and lower right longitudes are negative */ 808 /* which causes problems in OpenEV, etc... So we are adjusting their value by setting them above +180 */ 807 /* this product is crossing meridian 180deg and the upper and lower right longitudes are negative (<-170) */ 808 /* while the upper and lower left longitudes are positive (> 170) which causes problems in OpenEV, etc... */ 809 /* So we are adjusting the upper and lower right longitudes by setting them above +180 */ 809 810 if( (psImage->chICORDS == 'G' || psImage->chICORDS == 'D') && 810 (psImage->dfURX < psImage->dfULX && psImage->dfLRX < psImage->dfLLX)) 811 (psImage->dfULX > 170 && psImage->dfLLX > 170 && psImage->dfURX < -170 && psImage->dfLRX < -170 && 812 psImage->dfULY > psImage->dfLLY && psImage->dfURY > psImage->dfLRY) ) 811 813 { 812 814 psImage->dfURX += 360;
