Using the Custom Scenery TerraGear Toolset: Difference between revisions

No edit summary
Line 46: Line 46:
   for i in *.hgt
   for i in *.hgt
   do
   do
     hgtchop 3 data/SRTM-3/$i work/SRTM-30
     hgtchop 3 <scenery>/data/SRTM-3/$i <scenery>/work/SRTM-30
   done
   done


Isn't bash wonderful!
where <scenery> is the full path to the scenery directory - for some reason hgtchop doesn't like relative paths.


If you're using 1-degree data, replace the hgtchop command with "hgtchop 1 $i work/SRTM-1".
If you're using 1-degree data, replace the hgtchop command with "hgtchop 1 $i work/SRTM-1".