Revision 12087
branches/v10/libraries/libCq_CMS_praster/src/org/cresques/io/GdalWriter.java | ||
---|---|---|
780 | 780 |
dos.writeBytes((gdalFile.getExtent().getMax().getX() - gdalFile.getExtent().getMin().getX())/gdalFile.getWidth()+"\n"); |
781 | 781 |
dos.writeBytes("0.0\n"); |
782 | 782 |
dos.writeBytes("0.0\n"); |
783 |
dos.writeBytes((gdalFile.getExtent().getMax().getY() - gdalFile.getExtent().getMin().getY())/gdalFile.getHeight()+"\n");
|
|
783 |
dos.writeBytes("-"+Math.abs((gdalFile.getExtent().getMax().getY() - gdalFile.getExtent().getMin().getY())/gdalFile.getHeight())+"\n");
|
|
784 | 784 |
dos.writeBytes(""+gdalFile.getExtent().getMin().getX()+"\n"); |
785 | 785 |
dos.writeBytes(""+gdalFile.getExtent().getMin().getY()+"\n"); |
786 | 786 |
dos.close(); |
Also available in: Unified diff