Using TerraGear: Difference between revisions

Jump to navigation Jump to search
→‎Elevation data: Added back improved Linux scripting instructions. Please don't change everything to Win style
m (last minor copy today)
(→‎Elevation data: Added back improved Linux scripting instructions. Please don't change everything to Win style)
Line 54: Line 54:
Then type this:
Then type this:
  for %f in (./data/SRTM-30/*.hgt) do ./Terragear/hgtchop.exe 3 %f ./work/SRTM-30
  for %f in (./data/SRTM-30/*.hgt) do ./Terragear/hgtchop.exe 3 %f ./work/SRTM-30
For Linux:
for i in $PWD/data/SRTM-3/*.hgt; do hgtchop 3 $i $PWD/work/SRTM-30; done


Now you will get a lot of .arr.gz files in your work/SRTM-3/ directory. We need to convert these to the .fit.gz format. Run the commandline again with
Now you will get a lot of .arr.gz files in your work/SRTM-3/ directory. We need to convert these to the .fit.gz format. Run the commandline again with
111

edits

Navigation menu