Re: [gdal-dev] MUTEX_NONE question

2012-09-11 Thread Frank Warmerdam
On Tue, Sep 11, 2012 at 1:08 PM, Martin Chapman wrote: > If I don’t want to use GDAL in thread safe mode on Windows can just define > MUTEX_NONE in the nmake.opt file? If not, is there a way I can do it. Martin, I believe so, yes. > Also, I want to avoid caching. Can I just define the env var

Re: [gdal-dev] How to get a working version of gdal_retile.py?

2012-09-11 Thread Paul Meems
Hi Eli I managed to complete the task thanks to the help of Even. I have used gdal v1.9 without the tag. I had a 4GB ecw file which resulted in about 11GB of tiled TIFF files. It took about 15 hours. Tomorrow I am going to try to get it working in geoserver. -- Paul Meems send from my Android Op

[gdal-dev] MUTEX_NONE question

2012-09-11 Thread Martin Chapman
If I don't want to use GDAL in thread safe mode on Windows can just define MUTEX_NONE in the nmake.opt file? If not, is there a way I can do it. Also, I want to avoid caching. Can I just define the env var GDAL_FORCE_CACHING and set it to NO? Will that also avoid any thread synchronization?

Re: [gdal-dev] How to cut a Raster map with a KML file

2012-09-11 Thread Eli Adam
Luis, On Tue, Sep 11, 2012 at 11:14 AM, Luis Lisboa wrote: > Hi Eli > Probably I was not clear: When I use this it outputs a geotiff with two > bands: 1 with the real data and another one with the mask of the pixels that > fall inside each polygon. I just want to have an output file with one band

Re: [gdal-dev] How to cut a Raster map with a KML file

2012-09-11 Thread Luis Lisboa
Hi Eli Probably I was not clear: When I use this it outputs a geotiff with two bands: 1 with the real data and another one with the mask of the pixels that fall inside each polygon. I just want to have an output file with one band (band 1) and without the mask. Is it possible? Thanks Luis On Thu

Re: [gdal-dev] ECW support on Fedora Linux - error

2012-09-11 Thread lanufabi
In reply to this post by jkadlec Hey, I compiled libecwj2 and gdal 1.9.1 on arch linux like "jkadlec" did and get the same error when i use gdalinfo for ecw files: terminate called after throwing an instance of 'std::length_error' what(): basic_string::_S_create gdalinfo --formats puts out that

[gdal-dev] '-mask' option of gdal_translate doesn't work

2012-09-11 Thread Peter Zhang
Hello, I tried command line below that is copied from http://www.gdal.org/gdal_translate.html: gdal_translate rgba.tif withmask.tif -b 1 -b 2 -b 3 -mask 4 -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR --config GDAL_TIFF_INTERNAL_MASK YES It doesn’t generate transparency channel in output. But if I re