| | 803 | } |
|---|
| | 804 | |
|---|
| | 805 | /* Bug #1750 */ |
|---|
| | 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 */ |
|---|
| | 809 | if( (psImage->chICORDS == 'G' || psImage->chICORDS == 'D') && |
|---|
| | 810 | (psImage->dfURX < psImage->dfULX && psImage->dfLRX < psImage->dfLLX)) |
|---|
| | 811 | { |
|---|
| | 812 | psImage->dfURX += 360; |
|---|
| | 813 | psImage->dfLRX += 360; |
|---|