Re: [gdal-dev] loading many files with C API

2008-11-24 Thread Yann Chemin
Hi again, the first problem was an input output argv[] confusion. I can load 350 files and it is OK. I may have another problem at the pixel level, but in case i'll start a new thread. Thank you Ivan for your suggestion, it would be meaningful indeed to do that. void usage() { printf( "

Re: [gdal-dev] loading many files with C API

2008-11-23 Thread Frank Warmerdam
Yann Chemin wrote: Hello, I need to load about 400 files with the C API to work on each pixel temporal dimension. I would like to make a look to load them but fail so far... GDALDatasetH hDataset[MAXFILES]; GDALAllRegister(); GDALDriverH hDriver[MAXFILES]; GDALRasterBandH hBand[MAXFILES]; floa

[gdal-dev] loading many files with C API

2008-11-23 Thread Yann Chemin
Hello, I need to load about 400 files with the C API to work on each pixel temporal dimension. I would like to make a look to load them but fail so far... GDALDatasetH hDataset[MAXFILES]; GDALAllRegister(); GDALDriverH hDriver[MAXFILES]; GDALRasterBandH hBand[MAXFILES]; float *pafScanline[MAXFIL