I am completely new to QGIS. I am on a Mac using OS 10.13.6. I have installed QGIS 3.6, and installed Python 3.6.8 per install instructions. I opened a terminal window to check python install:
EricsMacBookPro:~ ericfoertsch$ python Python 3.6.8 (v3.6.8:3c6b436a57, Dec 24 2018, 02:04:31)
So I think I am good and on with the show.
I have 10 files I am trying to merge using Raster/Merge tool.
- When I enter the file names in Raster/Merge dialog box I get this error:
'Incorrect parameter value for INPUT' .
- If I click on Run as Batch Process and enter same values I get this error message:
'Wrong or missing parameter value:Input values(row 1)'.
I put double quotes around the file name strings in both input layers and merged file name and clicked Run again. This time I got logged output but with an error:
GDAL command: gdal_merge.py -ot Float32 -of -o "\"/Users/ericfoertsch/Google Drive/Documents/Condor Scenary V2/New England/Merged Bil file/NewEngland.bil\"" --optfile /var/folders/sy/mbkmjwg12lb1df08dgjw7psh0000gp/T/processing_7e37da37ef8f4cfd89156358b42637eb/fa859f8db49c4623b356e04a58da9fdb/mergeInputFiles.txt GDAL command output: /bin/sh: gdal_merge.py: command not found
I opened a terminal window and typed in gdal_merge.py and it executed so I am not sure why it shows gdal_merge.py not found:
EricsMacBookPro:~ ericfoertsch$ gdal_merge.py No input files selected. Usage: gdal_merge.py [-o out_filename] [-of out_format] [-co NAME=VALUE]* [-ps pixelsize_x pixelsize_y] [-tap] [-separate] [-q] [-v] [-pct] [-ul_lr ulx uly lrx lry] [-init "value [value...]"] [-n nodata_value] [-a_nodata output_nodata_value] [-ot datatype] [-createonly] input_files [--help-general]
Continuing the saga, I cut pasted the batch command into the terminal window:
gdal_merge.py -ot Float32 -of EHdr -o "/Users/ericfoertsch/Google Drive/Documents/Condor Scenary V2/New England/Merged Bil file/NewEngland.bil" --optfile /var/folders/sy/mbkmjwg12lb1df08dgjw7psh0000gp/T/processing_7e37da37ef8f4cfd89156358b42637eb/58cfba9edf9f435cb75ca505c11d85ae/mergeInputFiles.txt
And got an error msg:
No input files selected.
So I checked the ..../mergeInputFiles.txt file and it was empty. I guess I expected to see the 10 file names I had entered.
So I entered the 10 file names (I am really desperate by now) and tried running the
gdal_mergecommand in the terminal window and got a series of error messages similar to:
ERROR 4: `/Users/ericfoertsch/NewEngland/USGSBilFiles/n42_w074_1arc_v3.bil' not recognized as a supported file format.