Revision 5185 trunk/libraries/libCq CMS for java.old/src/org/cresques/io/GeoRasterFile.java
GeoRasterFile.java | ||
---|---|---|
361 | 361 |
parser.require(KXmlParser.END_DOCUMENT, null, null); |
362 | 362 |
} |
363 | 363 |
|
364 |
//extentTransform.setLocation(originX - extent.minX(), originY - extent.maxY()); |
|
365 |
//extent = new Extent(minX, minY, maxX, maxY); |
|
364 |
rmfExists = true; |
|
366 | 365 |
setExtentTransform(originX, originY, w, h, pixelSizeX, pixelSizeY); |
367 |
//extent = new Extent(originX, originY, originX + w, originY + h); |
|
368 | 366 |
extent = new Extent(originX, originY, originX + (pixelSizeX * imageWidth), originY + (pixelSizeY * imageHeight)); |
369 | 367 |
|
370 |
|
|
371 | 368 |
} catch (FileNotFoundException fnfEx) { |
372 | 369 |
} catch (XmlPullParserException xmlEx) { |
373 | 370 |
xmlEx.printStackTrace(); |
Also available in: Unified diff