I need to load a BAG file (Bathymetry attributed grid) in QGIS (3.4) according to the supported file page https://www.gdal.org/formats_list.html it is supported, but is not compiled by default and requires "libhdf5" I have no idea what this means, is there a plugin I need to install or do I need to compile something my self? I have no programming experience, so compiling software myself is not an option.


Both QGIS 3.4.5 Long Term Release (LTR) and 3.6 can open BAG files from Data Source Manager -> Raster

In QGIS 3.6:

enter image description here

In QGIS 3.4.5 (LTR)

enter image description here

  • I did see this but get the following error when loading a BAG file. Invalid Layer : GDAL provider Cannot open GDAL dataset K:/4.Basemap Database/1.National/BAGS/Glencairn_0.5m.bag: `K:/4.Basemap Database/1.National/BAGS/Glencairn_0.5m.bag' not recognized as a supported file format. – Wilhelm van Zyl Mar 7 at 9:40
  • I think the problem is not in BAG files but in the path of your filenames. You have periods . in the bath after each number which is not acceptable. You need to change the . into underscore _ and see if the file can be opened. – ahmadhanb Mar 7 at 9:47
  • I copied the file to a local drive with no ".", got the same error. I did manage to load the raster by dragging the *.bag.ovr file into the project, but the .ovr is the overview as far as I know, and they do not plot spacially correct. This is the same for all bag files I have. They do load correctly in AcrMap. – Wilhelm van Zyl Mar 7 at 10:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.