I am novice in using QGIS and other GIS software and am trying to create mosaics of NOAA raster nautical charts. Using pulldown menus, I entered raster>misc>merge and chose two NOAA charts and then specified a output file. The resulting command is shown below.
When I submit the command I then get the following error. Doing a web search, I found someone describing a similar problem with the solution being to specify the output file as GTiff. When I specified the name testmosaic.GTiff, the command actually appeared as testmosaic.GTiff.tif.
Two questions:
- If saving the file as GTiff is the solution to my original error, how do I specify that format? I don't see how I can specify that in the menu screen.
- Is there some better way to get the results I want and avoid the error
Command:
gdal_merge.bat -co COMPRESS=PACKBITS -of GMT -o "C:/Users/hamp/Documents/BC & AK/NOAA RNC ALaska/large area charts/testmosaic.tif" "C:\\Users\\hamp\\Documents\\BC & AK\\NOAA RNC ALaska\\large area charts\\Grouped Files\\17400_1.KAP" "C:\\Users\\hamp\\Documents\\BC & AK\\NOAA RNC ALaska\\large area charts\\Grouped Files\\17420_1.KAP"
Error:
Format driver GMT does not support creation and piecewise writing.
Please select a format that does, such as GTiff (the default) or HFA (Erdas Imagine).
-of GMThas been a bug in QGIS 2 for some time now. Hopefully this is fixed in QGIS 3. – AndreJ May 26 '18 at 08:55