Re: [gdal-dev] How proceed with GDAL GeoTIFF files with multiply subdataset

2023-03-08 Thread Brad Hards
On Wednesday, 8 March 2023 11:54:39 PM AEDT Raivo Rebane wrote: > Hi > > I found from documentation following about subdataset: > > > Subdatasets > > Multi-page TIFF files are exposed as subdatasets. On opening, a > subdataset name

Re: [gdal-dev] How proceed with GDAL GeoTIFF files with multiply subdataset

2023-03-08 Thread Raivo Rebane
Hi now I am using following c++ commands to read pages from multisubdatasets Geotiff file :    dataset = static_cast(GDALOpen(TiffFullName.c_str(), GA_ReadOnly));    if (dataset == NULL) {        std::cout << "Failed to open subdataset nr = " << subsets << " Read command =  "

Re: [gdal-dev] How proceed with GDAL GeoTIFF files with multiply subdataset

2023-03-08 Thread Rahkonen Jukka
Raivo Rebane Lähetetty: keskiviikko 8. maaliskuuta 2023 14.55 Vastaanottaja: GDAL Aihe: [gdal-dev] How proceed with GDAL GeoTIFF files with multiply subdataset Hi I found from documentation following about subdataset: Subdatasets•<https://eur06.safelinks.protection.outlook.com/?url=https%3A

[gdal-dev] How proceed with GDAL GeoTIFF files with multiply subdataset

2023-03-08 Thread Raivo Rebane
Hi I found from documentation following about subdataset: Subdatasets Multi-page TIFF files are exposed as subdatasets. On opening, a subdataset name is GTIFF_DIR:{index}:filename.tif, where {index} starts at 1. I am using foll