[gdal-dev] GeoTiff writing with Java Bindings (signed data types)
Collins, Benjamin
collinsb at mitre.org
Fri Jan 11 08:33:38 EST 2008
>-----Original Message-----
>From: St.Mietke at gmx.de
>
>I need a signed integer coverage.
http://java.sun.com/j2se/1.5.0/docs/api/java/nio/ByteBuffer.html
Use ByteBuffer's putInt(int value)
- or -
Use ByteBuffer's asIntBuffer() and then IntBuffer's put(int i)
Either way, use ByteBuffer.allocateDirect(int capacity) to initially
create the Buffer.
--
Ben
More information about the gdal-dev
mailing list