Howto:Use Terragear on Windows: Difference between revisions

Jump to navigation Jump to search
m
→‎Elevation: proper english
(→‎Elevation: corrected working directories for compatablility with genapts)
m (→‎Elevation: proper english)
Line 19: Line 19:
From now on, we'll assume you are using SRTM-3 data. Unless otherwise noted, the process for SRTM-1 is identical.
From now on, we'll assume you are using SRTM-3 data. Unless otherwise noted, the process for SRTM-1 is identical.


You can get download the appropriate data from ftp://e0srp01u.ecs.nasa.gov/srtm. You want all .hgt.zip files covering your region of interest. Depending on the size of your scenery, there may be quite a few. Download them to <tt>data\SRTM-30</tt> in your base directory. (The reason why the directories are called SRTM-30 is because genapts will look for a few known, hardcoded directories in it's working directory. SRTM-30 is one of them and is the least confusing in that list.)
You can get download the appropriate data from ftp://e0srp01u.ecs.nasa.gov/srtm. You want all .hgt.zip files covering your region of interest. Depending on the size of your scenery, there may be quite a few. Download them to <tt>data\SRTM-30</tt> in your base directory. (The reason why the directories are called SRTM-30 is because genapts will look for a few known, hardcoded directories in it's working directory. SRTM-30 is one of them and this is the least confusing in that list.)


Now we've got the data, we need to convert it into something of use to TerraGear. First, you need to unzip each of the .hgt files. After that, open the commandline (Run > cmd.exe) and change into the base directory. Then type this: ('''NOTE:''' If you want to create a batch-file, repace <tt>%f</tt> with <tt>%%f</tt>, see [http://technet.microsoft.com/en-us/library/bb490909.aspx]) ('''NOTE:''' For SRTM-1 data, repalce the <tt>3</tt> by a <tt>1</tt> in the first argument to hgtchop)
Now we've got the data, we need to convert it into something of use to TerraGear. First, you need to unzip each of the .hgt files. After that, open the commandline (Run > cmd.exe) and change into the base directory. Then type this: ('''NOTE:''' If you want to create a batch-file, repace <tt>%f</tt> with <tt>%%f</tt>, see [http://technet.microsoft.com/en-us/library/bb490909.aspx]) ('''NOTE:''' For SRTM-1 data, repalce the <tt>3</tt> by a <tt>1</tt> in the first argument to hgtchop)

Navigation menu