[gdal-dev] GDALOpen crash on large GRIB files

2009-12-09 Thread Sjur Kolberg
Hello, list: I have problems reading some large GRIB files from ECMWF. I have several files, 29MB and 50MB works fine, 141 MB and above crashes. The crash is within the first GDALOpen() function, and I track it through GRIBDataset::Open() to GDALDataset::Setband(). The error arises in the last

Re: [Gdal-dev] Programming with GDAL in Windows XP using DEV-C++ or CodeBlocks

2009-12-09 Thread Zack Stauber
I've programmed against the binary FWTools installs under Windows using Visual Studio 2005. It's a bit easier for me than linking against the GDAL source because I couldn't manage to find and configure the correct versions of all the extra stuff that's in FWTools that I use, like the MrSID SDK, B

Re: [gdal-dev] gdal-grass fail to build

2009-12-09 Thread Even Rouault
I'm pretty sure that the gdal-grass-1.4.3 package is likely not recent enough to be compatible with recent GRASS. You probably need the version of the grass driver from the GDAL SVN trunk where there were changes a few months ago to build against newer GRASS. Alfredo Alessandrini a écrit :

Re: [gdal-dev] gdal-grass fail to build

2009-12-09 Thread Frank Warmerdam
Alfredo Alessandrini wrote: Hi, The build failed when I try to compile gdal-grass. alfr...@astore:~/alfredo/grass_install/gdal-grass-1.4.3$ ./configure --with-gdal=/usr/local/bin/gdal-config --with-grass=/usr/local/grass-7.0.svn checking for gcc... gcc checking for C compiler default output fil

[gdal-dev] gdal-grass fail to build

2009-12-09 Thread Alfredo Alessandrini
Hi, The build failed when I try to compile gdal-grass. alfr...@astore:~/alfredo/grass_install/gdal-grass-1.4.3$ ./configure --with-gdal=/usr/local/bin/gdal-config --with-grass=/usr/local/grass-7.0.svn checking for gcc... gcc checking for C compiler default output file name... a.out checking wheth

[gdal-dev] merge ground and elevation image

2009-12-09 Thread Jan Tappenbeck
Hi ! i have two black/white images with ground and elevation - and the background is white. when i merge this two with gdal_merge i see in the result only one of this informations ground or elevation. did anybody now a way to merge both informations with a white background in the result?

Re: [gdal-dev] merge two black/white image -> result only black

2009-12-09 Thread Frank Warmerdam
Jan Tappenbeck wrote: hallo ! i had two tif-image and want to merge them: ... Center ( 3586999.875, 5923000.125) Band 1 Block=8000x1 Type=Byte, ColorInterp=Palette Image Structure Metadata: NBITS=1 Color Table (RGB with 2 entries) 0: 255,255,255,255 1: 0,0,0,255 i merge with g

Re: [gdal-dev] merge two black/white image -> result only black

2009-12-09 Thread Even Rouault
Jan, I see 2 issues : 1) your 2 images have the same spatial extent ! So gdal_merge has nothing to merge really... It will just copy the data from the second image on top of the data from the first image I think. 2) the images have a color table. But by default, gdal_merge doesn't copy it to t

[gdal-dev] merge two black/white image -> result only black

2009-12-09 Thread Jan Tappenbeck
hallo ! i had two tif-image and want to merge them: d:\cad\FWTools2.4.6>gdalinfo c:\temp\geesthacht\586922g.tif Driver: GTiff/GeoTIFF Files: c:\temp\geesthacht\586922g.tif c:\temp\geesthacht\586922g.tfw Size is 8000, 8000 Coordinate System is `' Origin = (3585999.875,5924000.12

Re: [gdal-dev] Changing CURL options

2009-12-09 Thread Frank Warmerdam
Joel Odom wrote: Is there a good way to change CURL options at run-time? We're using the pre-built GDAL binaries, and I need to change the CURL behavior when I call into GDAL from FalconView. Specifically, I want to disable SSL certificate verification. Thanks for any help on this. Joel,

[gdal-dev] Changing CURL options

2009-12-09 Thread Joel Odom
Is there a good way to change CURL options at run-time? We're using the pre-built GDAL binaries, and I need to change the CURL behavior when I call into GDAL from FalconView. Specifically, I want to disable SSL certificate verification. Thanks for any help on this. -- http://giscoder.blogspot

Re: [gdal-dev] get_Area() Python

2009-12-09 Thread Frank Warmerdam
Travis Kirstine wrote: Hi all, I'm trying a simple python script to calculate the polygon areas. Are the swig bindings for python working because is returning the geometry type as -2147483645 the dimension and 2 for a 3d feature and the get_Area returns a error? ... area = geom.get_Area()