Revision 10146 branches/v10+Piloto/libraries/libCq_CMS_praster/src/org/cresques/io/GdalFile.java
GdalFile.java | ||
---|---|---|
262 | 262 |
aBandNr = i + 1; |
263 | 263 |
} |
264 | 264 |
|
265 |
double ox=0D, oy=0D, resx=0D, resy=0D; |
|
266 | 265 |
try{ |
267 | 266 |
trans = getGeoTransform(); |
268 |
|
|
267 |
|
|
268 |
boolean isCorrect = false; |
|
269 |
for(int i = 0; i < trans.adfgeotransform.length; i++) |
|
270 |
if(trans.adfgeotransform[i] != 0) |
|
271 |
isCorrect = true; |
|
272 |
if(!isCorrect) |
|
273 |
throw new GdalException(""); |
|
274 |
|
|
269 | 275 |
boundingBoxWithoutRotation(); |
270 | 276 |
boundingBoxFromGeoTransform(); |
271 | 277 |
|
Also available in: Unified diff