[gdal-dev] regarding GDALDriver::Create

2009-08-13 Thread Srikanth
Dear All, I am reading and writing raster images using GDAL. Below is the code which I am using for writing a raster. At times the code is working fine. But many a time , it is getting crashed in the *GetRasterBand.* I have debugged the code several times and the variables passed seems to be perfe

Re: [gdal-dev] Stack Overflow in gdal with HDF5 using VC2008

2009-08-13 Thread Mateusz Loskot
atubar wrote: > Today, I find a computer with VS2005 installed on it. And I build > gdal 1.6.1 with pre-built dlls supplied as package named > win42r4-VS2005-IVF101, hdf5_183_xp32_vs2005_ivf91 from HDFGroup > website. While building, warnings can be ignored, and no error > occurs. > > I copy dlls

RE: [gdal-dev] autotest 1.6 errors - need help

2009-08-13 Thread Ethan Alpert
I'm running on a RHEL5.2 linux box. -Original Message- From: William Kyngesburye [mailto:wokl...@kyngchaos.com] Sent: Thursday, August 13, 2009 5:07 PM To: Ethan Alpert Cc: Even Rouault; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] autotest 1.6 errors - need help I haven't tried sin

Re: [gdal-dev] autotest 1.6 errors - need help

2009-08-13 Thread William Kyngesburye
I haven't tried since then. Are you also using OSX? Maybe I should try again, after 2 GDAL updates and a Xerces 3 update... On Aug 13, 2009, at 5:50 PM, Ethan Alpert wrote: Was there ever any resolution to this problem? I'm using 1.6 and xerces 3.0. When I try to read GML created with GDA

RE: [gdal-dev] autotest 1.6 errors - need help

2009-08-13 Thread Ethan Alpert
Was there ever any resolution to this problem? I'm using 1.6 and xerces 3.0. When I try to read GML created with GDAL I get the following error: ERROR 1: element missing value -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behal

[gdal-dev] old autotest http/dods issue - fix

2009-08-13 Thread William Kyngesburye
I keep having this problem in the autotests where the gdalhttp test ends up using the DODS driver. I finally fixed it by adding this after the initial HTTP driver load test, much like the various JP2 tests: try: drv = gdal.GetDriverByName( 'DODS' ) drv.Deregister();

[gdal-dev] Re: Problem: Convert to netCDF using gdal_translate

2009-08-13 Thread Frank Warmerdam
Tracey, I don't know what is going wrong here. The cdfid is a file descriptor used with libnetcdf. This might possibly be a file error (disk full?) but more likely it is some sort of build problem. I tried some similar simple stuff with the netcdf driver from trunk and had no problems. I've be

[gdal-dev] Problem: Convert to netCDF using gdal_translate

2009-08-13 Thread chen cui
Hello, dear all, I would like to use gdal_translate to convert .tif file and Grass raster file to netCDF file. On my computer system, the libgdal version is 1.3.2 and the libnetcdf version is 3. I have used the following command: gdal_translate -of netCDF -b 1 test.tif test.nc but it showed

Re:Re: [gdal-dev] Stack Overflow in gdal with HDF5 using VC2008

2009-08-13 Thread atubar
Today, I find a computer with VS2005 installed on it. And I build gdal 1.6.1 with pre-built dlls supplied as package named win42r4-VS2005-IVF101, hdf5_183_xp32_vs2005_ivf91 from HDFGroup website. While building, warnings can be ignored, and no error occurs. I copy dlls such as gdal16.dll, hd42