Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu_24.04/expected_gdalinfo_formats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ Supported Formats: (ro:read-only, rw:read-write, +:write from scratch, u:update,
USGSDEM -raster- (rov): USGS Optional ASCII DEM (and CDED) (*.dem)
GXF -raster- (rov): GeoSoft Grid Exchange Format (*.gxf)
BAG -raster,multidimensional raster,vector- (rw+v): Bathymetry Attributed Grid (*.bag)
S102 -raster,multidimensional raster- (rovs): S-102 Bathymetric Surface Product (*.h5)
S104 -raster,multidimensional raster- (rovs): S-104 Water Level Information for Surface Navigation Product (*.h5)
S102 -raster,multidimensional raster- (rwvs): S-102 Bathymetric Surface Product (*.h5)
S104 -raster,multidimensional raster- (rwvs): S-104 Water Level Information for Surface Navigation Product (*.h5)
S111 -raster,multidimensional raster- (rovs): S-111 Surface Currents Product (*.h5)
HDF5 -raster,multidimensional raster- (rovs): Hierarchical Data Format Release 5 (*.h5, *.hdf5)
HDF5Image -raster- (rov): HDF5 Dataset
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows_conda_expected_gdalinfo_formats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ Supported Formats: (ro:read-only, rw:read-write, +:write from scratch, u:update,
GXF -raster- (rov): GeoSoft Grid Exchange Format (*.gxf)
KEA -raster- (rw+uv): KEA Image Format (.kea) (*.kea)
BAG -raster,multidimensional raster,vector- (rw+v): Bathymetry Attributed Grid (*.bag)
S102 -raster,multidimensional raster- (rovs): S-102 Bathymetric Surface Product (*.h5)
S104 -raster,multidimensional raster- (rovs): S-104 Water Level Information for Surface Navigation Product (*.h5)
S102 -raster,multidimensional raster- (rwvs): S-102 Bathymetric Surface Product (*.h5)
S104 -raster,multidimensional raster- (rwvs): S-104 Water Level Information for Surface Navigation Product (*.h5)
S111 -raster,multidimensional raster- (rovs): S-111 Surface Currents Product (*.h5)
HDF5 -raster,multidimensional raster- (rovs): Hierarchical Data Format Release 5 (*.h5, *.hdf5)
HDF5Image -raster- (rov): HDF5 Dataset
Expand Down
5 changes: 4 additions & 1 deletion apps/gdal_translate_bin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ MAIN_START(argc, argv)
/* -------------------------------------------------------------------- */
if (!sOptionsForBinary.bCopySubDatasets &&
GDALGetRasterCount(hDataset) == 0 &&
CSLCount(GDALGetMetadata(hDataset, "SUBDATASETS")) > 0)
CSLCount(GDALGetMetadata(hDataset, "SUBDATASETS")) > 0 &&
// S104 driver knows how to handle a source dataset with subdatasets
// and no input bands.
!EQUAL(sOptionsForBinary.osFormat.c_str(), "S104"))
{
fprintf(stderr, "Input file contains subdatasets. Please, select one "
"of them for reading.\n");
Expand Down
Loading
Loading