Re: [gdal-dev] GDAL Warp API Java bindings

2013-09-05 Thread Florent JITIAUX
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 m

Re: [gdal-dev] GDAL Warp API Java bindings

2013-09-05 Thread Kyle Shannon
On Thu, Sep 5, 2013 at 10:30 AM, Markus Schneider wrote: > kss, > > thanks. gdal.ReprojectImage(..) looks like what I will be using then. :-) > > My use case: > > - My huge (ECW) dataset is in EPSG:28992 > - I want to extract a defined region in EPSG:4326 as a (Java) BufferedImage > > How can I ge

[gdal-dev] GDAL Warp API Java bindings

2013-09-05 Thread Markus Schneider
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

Re: [gdal-dev] GDAL Warp API Java bindings

2013-09-05 Thread Markus Schneider
kss, thanks. gdal.ReprojectImage(..) looks like what I will be using then. :-) My use case: - My huge (ECW) dataset is in EPSG:28992 - I want to extract a defined region in EPSG:4326 as a (Java) BufferedImage How can I get hold of a suitable destination dataset so I can use ReprojectImage(...)?

Re: [gdal-dev] Extracting (arbitrary?) overviews from ECW file

2013-09-05 Thread Markus Schneider
Frank, thanks for your reply. Could you (or somebody else) give me a few more details how to get hold of a raster region with a resolution that is not defined by an overview? Currently, I am able to extract regions from an overview using the following steps (in Java): ... Dataset dataset = gda

Re: [gdal-dev] GDAL Warp API Java bindings

2013-09-05 Thread Kyle Shannon
On Thu, Sep 5, 2013 at 10:05 AM, Markus Schneider wrote: > 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