[gdal-dev] Mapinfo TAB Files and DateTime

2008-11-04 Thread Dale Harris
I am using GDAL 1.6 Beta with VB.NET (through ogr_csharp) to read a TAB file with a Date or a Date Time field and I can't use the following to get the date values (they are all 0): .GetFeature(x).GetFieldAsDateTime(33, myyear, mymonth, myday, myhour, mymin, mysec, mytz) However if I use:

RE: [gdal-dev] GDAL 1.6.0 GDALValidateCreationOptions

2008-11-04 Thread Peng Gao
Even, Thanks for the fix. I use bStrict = 1 when calling CreateCopy(). This could be why I see the error. I think gdal_translate uses bStrict = FALSE by default. if( !bStrict ) { CPLPopErrorHandler(); CPLErrorReset(); } else

Re: [gdal-dev] GDAL 1.6.0 GDALValidateCreationOptions

2008-11-04 Thread Even Rouault
Gao, I've tried gdal_translate on a 3 band TIFF to a BMP image and it works. Well, I get the warning twice because the BMP driver doesn't implement the CreateCopy() method, but apart the warning, the resulting image is correct. I'd be interested if you could find some code snippet that reproduce

Re: [gdal-dev] gdal_merge

2008-11-04 Thread Matt Wilkie
By the way, to get the order of precidence you want you should also reverse the order of the input images so that image1.tif is last (overlayed to top of everything else). Thanks for clarifying this Frank. Is there way to do the same with gdalwarp? I ask because I sometimes need to stack image

Re: [gdal-dev] ogr2ogr

2008-11-04 Thread Even Rouault
Hi, My understanding about the WGS84 vs NAD83 issue is that for most practical usages they are pretty much the same, and I believe that PROJ.4 makes that assumption. So, there's no datum transformation. See http://www.mentorsoftwareinc.com/resource/Nad83.htm, http://www.geod.nrcan.gc.ca/faq_e.

[gdal-dev] data resampling at runtime

2008-11-04 Thread Michele Sanges
Is there a way to resampling at runtime (i.e., when the map is drawn) the data of a raster map from full resolution to an another fixed resolution without reopen the dataset (i.e. without using the rasterio method)? Thanks. ___ gdal-dev mailing list gdal-