Using TerraGear: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 54: Line 54:


For Windows:
For Windows:
  for %f in (./data/SRTM-30/*.hgt) do ./Terragear/hgtchop.exe 3 %f ./work/SRTM-30
  for %f in (./data/SRTM-3/*.hgt) do ./Terragear/hgtchop.exe 3 %f ./work/SRTM-3
or
or
  for %f in (./data/SRTM-30/*.hgt) do ./Terragear/hgtchop.exe 3 ./data/SRTM-30/%f ./work/SRTM-30
  for %f in (./data/SRTM-3/*.hgt) do ./Terragear/hgtchop.exe 3 ./data/SRTM-3/%f ./work/SRTM-3


For Linux:
For Linux:
Line 167: Line 167:
|Shared
|Shared
|-
|-
|SRTM-30
|SRTM-3
|-
|-
|Stream
|Stream
Line 186: Line 186:
For example:
For example:
   fgfs-construct --work-dir=./work --output-dir=./output --lon=55 --lat=60 --xdist=3 --ydist=3 \
   fgfs-construct --work-dir=./work --output-dir=./output --lon=55 --lat=60 --xdist=3 --ydist=3 \
   AirportArea SRTM-30 AirportObj Stream Bog IrrCropPastureCover Town Lake Urban Landmass Railroad \
   AirportArea SRTM-3 AirportObj Stream Bog IrrCropPastureCover Town Lake Urban Landmass Railroad \
   DryCropPastureCover Road EvergreenBroadCover Marsh Sand MixedCropPastureCover ScrubCover GrassCover \
   DryCropPastureCover Road EvergreenBroadCover Marsh Sand MixedCropPastureCover ScrubCover GrassCover \
   MixedForestCover
   MixedForestCover
Line 199: Line 199:
* Crashes in genapts. Sometimes genapts will crash when dealing with a particular airport. In that case, try running it again with the --start-id argument to start at the airport it failed on, and the --nudge argument which tries to nudge the calculations in the right direction.  
* Crashes in genapts. Sometimes genapts will crash when dealing with a particular airport. In that case, try running it again with the --start-id argument to start at the airport it failed on, and the --nudge argument which tries to nudge the calculations in the right direction.  
* fgfs-construct Killed. The fgfs-construct process may kill itself if it is using too many system resources. Increasing the values for setrlimit in src/BuildTiles/Main/main.cxx is the best solution.  
* fgfs-construct Killed. The fgfs-construct process may kill itself if it is using too many system resources. Increasing the values for setrlimit in src/BuildTiles/Main/main.cxx is the best solution.  
* Airports appear in the bottom of holes, or there are spaces between the airports and the scenery. This typically happens when genapts is unable to find the correct elevation data, or the elevation data changed between running genapts and shape-decode. Try generating a single airport in your scenery area using genapts, and look at the output. In particular, make sure there is a work/SRTM-30 directory.  
* Airports appear in the bottom of holes, or there are spaces between the airports and the scenery. This typically happens when genapts is unable to find the correct elevation data, or the elevation data changed between running genapts and shape-decode. Try generating a single airport in your scenery area using genapts, and look at the output. In particular, make sure there is a work/SRTM-3 directory.  
* Only the airports appear in the scenery. There are three typical causes for this:  
* Only the airports appear in the scenery. There are three typical causes for this:  
** You didn't download the correct shapefiles for the area.  
** You didn't download the correct shapefiles for the area.  
47

edits

Navigation menu