Re: [gdal-dev] Sharing GDAL Dataset objects between threads (JNI)

2013-10-18 Thread Markus Schneider
13:27, schrieb Even Rouault: > Selon Markus Schneider : > >> Hi Even, >> >> thanks for you help so far. >> >> I now observed that handing around a (ECW) Dataset between threads works >> fine, as long as I open it using: >> >> -

Re: [gdal-dev] Sharing GDAL Dataset objects between threads (JNI)

2013-10-17 Thread Markus Schneider
14.10.2013 13:26, schrieb Even Rouault: > Selon Markus Schneider : > >> Hi Even, >> >> Am 14.10.2013 13:10, schrieb Even Rouault: >>> This is surprising. Are you seeing that with a particular driver or all >> drivers >>> ? >> >> I am ex

Re: [gdal-dev] Sharing GDAL Dataset objects between threads (JNI)

2013-10-14 Thread Markus Schneider
uce that by running under Valgrind ? If so, that might > help understanding what is going wrong. I never used Valgrind, but with some help, I may be able to check behaviour and report. Best regards, Markus -- Markus Schneider CEO Occam Labs UG (haftungsbeschränkt) Godesberger Allee 13

[gdal-dev] Sharing GDAL Dataset objects between threads (JNI)

2013-10-14 Thread Markus Schneider
taset objects (on the Java or on the C side) seem to be using ThreadLocal information. Is this correct? Would it be hard to eliminate this behaviour (as it would make pooling Dataset objects much easier and more efficient)? Thanks for any pointers or remarks, Markus -- Markus Schneider CEO Occam La

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

2013-09-10 Thread Markus Schneider
> 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 <mailto:schnei...@occamlabs.de>> > > Hi again, > > I would like to try

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

2013-09-10 Thread Markus Schneider
Ok, I just tried it out with an example GeoTIFF, and the mentioned methods seem to benefit from overviews in the file, so it seems to automatically do the right thing. Best regards, Markus Am 10.09.2013 11:20, schrieb Markus Schneider: > There's one question remaining: > > Will

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

2013-09-10 Thread Markus Schneider
h as GeoTIFF), right? Best regards, Markus Am 10.09.2013 11:13, schrieb Markus Schneider: > I believe I learned how to do this, so to answer my own question: > > Some of the Band.ReadRaster(...) methods allow to explictly specify the > buffer width and height, e.g. [1]. This allows to ex

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

2013-09-10 Thread Markus Schneider
://gdal.org/java/org/gdal/gdal/Band.html#ReadRaster(int, int, int, int, int, int, int, byte[]) Am 05.09.2013 18:01, schrieb 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 resolu

[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

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

2013-09-05 Thread Markus Schneider
(...)? Thanks, Markus Am 05.09.2013 18:19, schrieb 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. >> &

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

2013-09-05 Thread Markus Schneider
the > advertized power-of-two overviews exposed from GDAL and no loss of quality. > > Best regards, > Frank > > > On Wed, Sep 4, 2013 at 6:52 AM, Markus Schneider <mailto:schnei...@occamlabs.de>> wrote: > > Dear list, > > I am new to programmi

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

2013-09-04 Thread Markus Schneider
question: Is it possible to efficiently retrieve (regions of) overviews at self-defined scales using the GDAL API? Or do I have to use the ECW SDK for that? Keep up the good work. Thanks for any pointers. Best regards, Markus -- Markus Schneider CEO Occam Labs UG (haftungsbeschränkt