Greetings,
Trying to use one Gdal dataset name to open multiple images (one at a time).
int main() {
GDALDataset *dataset;
GDALALLRegister();
for(int i=0;i<num_of_images;i++){
dataset = (GDALDataset *) GDALOpen(img_name(i),GA_ReadOnly);
.......;
delete dataset;
}
This is not working, the programs hangs.
Appreciate help. Thanks.
Xiaodong