| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 6 months |
| seen | Apr 24 at 8:24 | |
| stats | profile views | 25 |
Film and TV VIP. Seeker of the peace. Part-time chandelier cleaner. A legend in his own time. Oppressor of champions. Soldier of fortune. World traveler. Bon vivant. All around good guy. International lover. Casual hero. Defender of Reason. Philosopher. Wars fought, bears wrestled, equations solved, revolutions quelled, tigers castrated, governments run, test-rockets flown.
|
Jan 31 |
asked | How to increase resolution of DEM rasters? |
|
Jan 21 |
comment |
Batch processing DEM rasters in QGIS/GDAL ah heck, it's only a few lines, I'll just start from scratch. But good to know. |
|
Jan 21 |
comment |
Batch processing DEM rasters in QGIS/GDAL I did create it in Windows, trying it with OSGeo4W. I'll recreate it in Ubuntu. Thanks! |
|
Jan 21 |
comment |
Batch processing DEM rasters in QGIS/GDAL I did create it in Windows, trying it with OSGeo4W. I'll recreate it in Ubuntu. Thanks! |
|
Jan 21 |
accepted | Batch processing DEM rasters in QGIS/GDAL |
|
Jan 21 |
comment |
Batch processing DEM rasters in QGIS/GDAL Inputting it manually worked! Though using @nhopton's script (yours is missing the destination files I think). Still can't get it run as a shell script though. But this is good enough for me. Thanks! |
|
Jan 21 |
comment |
Batch processing DEM rasters in QGIS/GDAL This script worked, inputting it 'manually' in the terminal rather than running it as a script |
|
Jan 20 |
awarded | Citizen Patrol |
|
Jan 20 |
comment |
Batch processing DEM rasters in QGIS/GDAL In any case this isn't QGIS scripting, it's shell scripting. As a Windows user you should be able to install OSGeo4W and maybe Cygwin and do this anyway |
|
Jan 20 |
comment |
Batch processing DEM rasters in QGIS/GDAL Done a bit of Googling. If I type echo $SHELL, it returns /bin/bash. I have tried to change shells with chsh, but when I do that and type echo $SHELL again, it still returns bash. |
|
Jan 20 |
comment |
Batch processing DEM rasters in QGIS/GDAL Tried BradHard's script: same error. I have no idea what shell I'm using. I have no idea what a shell is. |
|
Jan 19 |
comment |
Batch processing DEM rasters in QGIS/GDAL Is it something I have set up wrong in Ubuntu? Something to do with the shell? I am a total noob when it comes to Linux. |
|
Jan 19 |
comment |
Batch processing DEM rasters in QGIS/GDAL Tried the suggestions in there, no luck. |
|
Jan 19 |
comment |
Batch processing DEM rasters in QGIS/GDAL No luck, I still get the error: demraster.sh: 2: demraster.sh: Syntax error: word unexpected (expecting "do") |
|
Jan 18 |
comment |
Batch processing DEM rasters in QGIS/GDAL Done.............. |
|
Jan 18 |
comment |
Batch processing DEM rasters in QGIS/GDAL I'll try this ASAP, hopefully it won't throw up a syntax error like the script in my question. |
|
Jan 18 |
revised |
Batch processing DEM rasters in QGIS/GDAL added 367 characters in body |
|
Jan 18 |
comment |
Batch processing DEM rasters in QGIS/GDAL In other words Jay Laura, I have pretty much the command you linked to and it gives me that syntax error |
|
Jan 18 |
comment |
Batch processing DEM rasters in QGIS/GDAL I have #!/bin/sh for f in *.asc do echo "Processing %f" gdaldem hillshade %f -z 1.0 -s 1.0 -az 315.0 -alt 45.0 done but it gives me: Syntax error: word unexpected (expecting "do") |
|
Jan 18 |
comment |
Batch processing DEM rasters in QGIS/GDAL I absolutely do, but I have no idea how to. I have the necessary GDAL command (gdaldem hillshade %f -z 1.0 -s 1.0 -az 315.0 -alt 45.0, where %f is the file) but I have no idea how to run this on multiple files. I have very little Ubuntu/Linux experience. |