Closed rossoe closed 4 years ago
@rossoe maybe is a problem in GDAL 3?
In my linux box with GDAL 2.2.3
gdalinfo H12656_MB_50cm_MLLW_27of31.bag
ERROR 1: projection = not recognised by ISO 19115 parser.
Driver: BAG/Bathymetry Attributed Grid
Files: H12656_MB_50cm_MLLW_27of31.bag
Size is 1435, 382
Coordinate System is:
PROJCS["UTM Zone 16, Northern Hemisphere",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9108"]],
AUTHORITY["EPSG","4326"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-87],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["Meter",1]]
Origin = (406260.737960783473682,3328796.789747148752213)
Pixel Size = (0.500348675034867,-0.501312335958005)
Metadata:
BagVersion=1.5.1
BAG_DATETIME=
Corner Coordinates:
Upper Left ( 406260.738, 3328796.790) ( 87d58'21.87"W, 30d 5'12.29"N)
Lower Left ( 406260.738, 3328605.288) ( 87d58'21.81"W, 30d 5' 6.07"N)
Upper Right ( 406978.738, 3328796.790) ( 87d57'55.05"W, 30d 5'12.49"N)
Lower Right ( 406978.738, 3328605.288) ( 87d57'54.99"W, 30d 5' 6.27"N)
Center ( 406619.738, 3328701.039) ( 87d58' 8.43"W, 30d 5' 9.28"N)
Band 1 Block=1435x1 Type=Float32, ColorInterp=Undefined
Description = elevation
Min=-19.315 Max=-17.532
NoData Value=1000000
Band 2 Block=1435x1 Type=Float32, ColorInterp=Undefined
Description = uncertainty
Min=0.470 Max=1.079
NoData Value=1000000
and it loads fine in QGIS.
Hi Gioman, Yes a few people on GDAL github thread noted that it's fine on Linux, this problem only hits QGIS running under good old Windows!
this problem only hits QGIS running under good old Windows!
I would say it affects GDAL on Windows, not QGIS.
this problem only hits QGIS running under good old Windows!
I would say it affects GDAL on Windows, not QGIS.
It is not a problem of GDAL on Windows or GDAL 3. I have a separate installation of GDAL 3 on Windows and it works fine.
On the other hand, GDAL installation that comes with QGIS is not able to open hdf5 files. This situation is tested with QGIS 3.4(GDAL 2.x) , QGIS 3.8(GDAL 2.x) and QGIS 3.10(GDAL 3).
On the other hand, GDAL installation that comes with QGIS is not able to open hdf5 files. This situation is tested with QGIS 3.4(GDAL 2.x) , QGIS 3.8(GDAL 2.x) and QGIS 3.10(GDAL 3).
3.8 is EOL. 3.10.1 and 3.4.14?
On the other hand, GDAL installation that comes with QGIS is not able to open hdf5 files. This situation is tested with QGIS 3.4(GDAL 2.x) , QGIS 3.8(GDAL 2.x) and QGIS 3.10(GDAL 3).
3.8 is EOL. 3.10.1 and 3.4.14?
3.4.14(LTR) and 3.10.0-2
Describe the bug This was initially posted against GDAL ticket - https://github.com/OSGeo/gdal/issues/1428
But posting here in case it's an issue of the version of HDF5 that is currently compiled and baked into more recent QGIS releases? Quick fixes on the GDAL github point to recompile getting around the issue, but at my company we can't carry out recompile due to security restrictions.
How to Reproduce
Example .bag file to test: https://data.ngdc.noaa.gov/platforms/ocean/nos/coast/H12001-H14000/H12656/BAG/H12656_MB_50cm_MLLW_27of31.bag
Start QGIS - Top Menu > Layer > Data Source Manager Add layer via Raster selection
Fails with following error:
Invalid Layer: GDAL provider Cannot open GDAL dataset
Also attempted by running command via python console:
But that fails to run & console spits out:
Tried to run via Raster 'Translate' QGIS GUI:
QGIS and OS versions