Hi, in fact with the Java binding there's no method to get a BufferedImage from a Dataset.
You can warp your image and get a Dataset You have to create a (Java)Raster and fill it with the raster or a part of the raster of the warped Dataset. But be carefull because when you create a Raster you must create a correct SampleModel and the right DataBuffer generally Byte or Int, it depends of the type of the raster in the Dataset. Florent 2013/9/5 Markus Schneider <[email protected]> > Hi again, > > I would like to try using the Warp API from Java. It seems that there > are currently no Java bindings available. > > - Did anbody work on Java bindings for the Warp API? > - How hard would it be to define them? I may be able to invest some time > here. > > Best regards, > Markus > > -- > Markus Schneider > CEO > > Occam Labs UG (haftungsbeschränkt) > Godesberger Allee 139 > 53175 Bonn, Germany > > +49 228 93798874 > > http://www.occamlabs.de > > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
