[gdal-dev] GDAL/OGR 1.7.2 Release Candidate

2010-04-20 Thread Frank Warmerdam
Folks, Today I updated the news file and prepared a 1.7.2 release candidate. The NEWS is available at: http://svn.osgeo.org/gdal/branches/1.7/gdal/NEWS The source files are at: http://download.osgeo.org/gdal/gdal-1.7.2RC1.tar.gz http://download.osgeo.org/gdal/gdal172RC1.zip I regenerat

Re: [gdal-dev] MapInfo TAB append issue

2010-04-20 Thread Simon O'Keefe
Thanks for your responses, Ross and Daniel. Looks like appending TABs is out of the question. I did some further testing but I can't recreate the exact issue I described that would generate a new SHP file (I swear it did it when I first wrote about it). It now just says "FAILURE: Unable to open e

[gdal-dev] Re: Compiling in Embarcadero's CBuilder

2010-04-20 Thread jcurru
Thanks for your answer, Philippe. I could make rasterio.cpp compile by making the following change (line 38): // For now, work around MSVC++ 6.0's broken template support. If this value // is not defined, the old GDALCopyWords implementation is used. #define USE_NEW_COPYWORDS 1 #endif #undef USE_

Re: [gdal-dev] about ReadAsArray

2010-04-20 Thread Christopher Barker
wrote: hi,everyone, now make use of the function"ReadAsArray",then error had happened,like this: D:\Program Files\Microsoft Visual Studio\MyProjects\test3\test.cpp(15) : error C2039: 'ReadAsArray' : is not a member of 'GDALDataset' c:\gdal\include\gdal_priv.h(195) : see dec

Re: [gdal-dev] seeking suggestions for pixel arithemtic programs

2010-04-20 Thread Jose Gomez-Dans
On 20 April 2010 17:34, Christopher Barker wrote: > It would be pretty easy to write a python program that used a pixel > function defined in its own file, so your colleagues would only have to make > a new one of those and run it again -- and python is about as easy a way to > express a function

Re: [gdal-dev] seeking suggestions for pixel arithemtic programs

2010-04-20 Thread Christopher Barker
Mark Phillips wrote: the corresponding pixels in the input files. For example, derived_file_pixel(i,j) = average of pixel(i,j) for each input file I'd like to set up a system for creating these derived files that makes it easy to change the particular function (for example, compute the sum

Re: [gdal-dev] Compiling in Embarcadero's CBuilder

2010-04-20 Thread Philippe Vachon
Hi, I'll have a look at this issue -- I've never tried compiling the updated GDALCopyWords with C++Builder. If it isn't too much trouble, could you please file a ticket on GDAL's trac (http://trac.osgeo.org/gdal) and assign it to me (pvachon). Thanks a lot! Phil On 2010-04-20, at 4:51 AM, jc

Re: [gdal-dev] how to add a unstandard tag

2010-04-20 Thread Frank Warmerdam
wrote: /Hello everyone, // i am new with gdal and i need someone help. now i want to create a new geotiff with GDALCreate(),then,i need to add some tags to geotiff,some of the tags such as createtime and createdate can add easily,but other information confused me very much. is there a

[gdal-dev] seeking suggestions for pixel arithemtic programs

2010-04-20 Thread Mark Phillips
Hi, I have a collection of MODIS imagery files (in Erdas Imagine .img format), and I need to to be able to derive new files from them, where the derived file has the same format and metadata as the input files, but each pixel in the derived file file is some arithmetic function of the correspondi

[gdal-dev] about ReadAsArray

2010-04-20 Thread 冯洋
hi,everyone, now make use of the function"ReadAsArray",then error had happened,like this: D:\Program Files\Microsoft Visual Studio\MyProjects\test3\test.cpp(15) : error C2039: 'ReadAsArray' : is not a member of 'GDALDataset' c:\gdal\include\gdal_priv.h(195) : see declaration of '

Re: [gdal-dev] MapInfo TAB append issue

2010-04-20 Thread Daniel Morissette
I can confirm that the MIF/TAB driver does not support append/update: it only supports read-only and write-only modes. I'm not sure why OGR ends up writing a shapefile though. I would expect it to produce an error instead. Daniel King, Ross wrote: I'd say that's because OGR will use the dr

[gdal-dev] Compiling in Embarcadero's CBuilder

2010-04-20 Thread jcurru
Hello. I'm trying to build gdal with Embarcadero's CBuilder++ 2010 (former Borland C++ Builder). I get this error in rasterio.cpp: [BCC32 Error] rasterio.cpp(869): E2335 Overloaded 'void CopyWord(const float,float &)' ambiguous in this context Full parser context rasterio.cpp(854): decisio