[gdal-dev] How to attach color tables to Tifs

2013-10-14 Thread Moses.Gone
Hallo List, In my tiling application am generating tiles with Gtiff as an output format. One of my inputs is of AIG format, however these inputs types comes with specific color tables, see sample below: 0 255 255 255 # No-Data 1 0 0 210 # Gewässer 5 0 0 200 #

[gdal-dev] GDAL 1.10.1 requirements

2013-10-14 Thread laura0
Hi all, I would like to know which versions of netcdf, hdf4, hdf5 libraries are supported by the new release of GDAL. I tried for instance 4.1.1 netcdf library but, after ./configure, I see netcdf supported NO . So I think that version is too old. With the latest versions (netcdf 4.3.0, hdf5

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

2013-10-14 Thread Even Rouault
Hi Markus, I am using GDAL (1.10.1) in a Java Servlet environment via JNI. I observed that Dataset objects cannot be shared between threads, even if they are not used in parallel, but strictly consecutively. For me, the VM crashes if a thread uses a Dataset that it didn't create. So

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

2013-10-14 Thread 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 experiencing this with ECW driver. I don't see any use of TLS on the Java side. There might be some use of TLS objects on the C side, for functions in

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

2013-10-14 Thread Even Rouault
Selon Markus Schneider schnei...@occamlabs.de: 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 experiencing this with ECW driver. Ah, well, anything can happen within the beast then... Which SDK

Re: [gdal-dev] GDAL 1.10.1 requirements

2013-10-14 Thread Even Rouault
Selon laura0 lauram...@iol.it: Hi all, I would like to know which versions of netcdf, hdf4, hdf5 libraries are supported by the new release of GDAL. I tried for instance 4.1.1 netcdf library but, after ./configure, I see netcdf supported NO . So I think that version is too old. With the

[gdal-dev] R: Re: GDAL 1.10.1 requirements

2013-10-14 Thread lauram...@iol.it
Hi Even, I had this error with a particular HDF5, it is strange because with the previous version everything works (but I did not try with HDF5 1.8.9 and GDAL 1.9) . Do you know that error message? First of all I would like to understand if it is a library version problem or not. I mean, I do

Re: [gdal-dev] R: Re: GDAL 1.10.1 requirements

2013-10-14 Thread Even Rouault
Selon lauram...@iol.it lauram...@iol.it: Hi Even, I had this error with a particular HDF5, it is strange because with the previous version everything works (but I did not try with HDF5 1.8.9 and GDAL 1.9) . Do you know that error message? First of all I would like to understand if it is a

[gdal-dev] Compile errors when including gdal.lib (trunk version)

2013-10-14 Thread Paul Meems
Hi all, We're using GDAL in our Open Source GIS application called MapWinGIS ( https://mapwingis.codeplex.com). MapWinGIS is build using Visual Studio 2008 Pro and its language is VC++. We've been using GDAL for years now. I'm currently in the process of update the external libraries, like GDAL,

Re: [gdal-dev] GDAL 1.10.1 requirements

2013-10-14 Thread Etienne Tourigny
gdal-1.10.1 makes use of the 'ncconfig' utility which is available since netcdf-4.1.3 (if I remember correctly). In any case, it works with older versions (e.g. 4,1,1, 3.6.x) but cannot detect netcdf-4 support as it falls back to the previous method for netcdf detection. As Even mentioned,

Re: [gdal-dev] Compile errors when including gdal.lib (trunk version)

2013-10-14 Thread Even Rouault
Le lundi 14 octobre 2013 18:33:05, Paul Meems a écrit : Hi all, We're using GDAL in our Open Source GIS application called MapWinGIS ( https://mapwingis.codeplex.com). MapWinGIS is build using Visual Studio 2008 Pro and its language is VC++. We've been using GDAL for years now. I'm

Re: [gdal-dev] Compile errors when including gdal.lib (trunk version)

2013-10-14 Thread Paul Meems
Thanks Even, I commented the DllMain() implementation and now my project compiles again. I would love to send a patch but I'm not a C++ developer and don't know how to fix this. I will now look into the ECW error. Thanks, Paul *Paul Meems * Release manager, configuration manager and forum