Using TerraGear: Difference between revisions

Jump to navigation Jump to search
m
→‎Using TerraGear: Enhancements to distinguish the process between Linux and Windows
m (→‎Using TerraGear: Enhancements to distinguish the process between Linux and Windows)
Line 53: Line 53:
* '''NOTE:''' For SRTM-1 data, replace the <tt>3</tt> by a <tt>1</tt> in the first argument to hgtchop
* '''NOTE:''' For SRTM-1 data, replace the <tt>3</tt> by a <tt>1</tt> in the first argument to hgtchop


Then type this:
For Windows:
  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 Linux:
  for i in $PWD/data/SRTM-3/*.hgt; do hgtchop 3 $i $PWD/work/SRTM-30; done
  for i in $PWD/data/SRTM-3/*.hgt; do ./Terragear/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
* '''NOTE:''' the space and dot at the and are important!
* '''NOTE:''' the space and dot at the and are important!


  ./Terragear/terrafit.exe .
For Windows:
  ./Terragear/terrafit.exe work/SRTM-3
 
For Linux:
./Terragear/terrafit work/SRTM-3


====Airport data====
====Airport data====
483

edits

Navigation menu