129
edits
(Created page with "== Introduction == There has been a lot of questions relating to scenery generation tools. This page is an attempt to document each of the tools I use. I will also document...") |
|||
Line 4: | Line 4: | ||
My hope is to attract more developers to work on the tools to make it easier to create better scenery for FlightGear. | My hope is to attract more developers to work on the tools to make it easier to create better scenery for FlightGear. | ||
== hgtchop == | = hgtchop = | ||
hgtchop is responsible for cropping height data files into SimGear buckets (or tiles). Most height data format is published in fairly large data files that cover 1 square degree. | |||
=== command options === | |||
hgtchop <resolution> <hgt_file> <work_dir> | |||
=== description === | |||
When later tools need to query elevation data, they do so expecting the data to be located in a standard Simgear folder structure as follows:<br /> | |||
<br /> | |||
10 deg x 10 deg folder | |||
:1 degree by 1 degree folder | |||
::bucket number.xxx | |||
<br /> | |||
hgtchop will create this directory structure in the work folder, and create sgbucket.arr.gz files within. | |||
=== resolution === | |||
Each file created contains ALL of the data points for the simgear tile. For SRTM-1 data, the grid is TODO For SRTM-3 data, the grid is TODO. The resolution parameter tells hgtcop the distance between sampled points. | |||
=== hgt_file === | |||
The source file. Usually, the source files are 1 degree by 1 degree, and has enough data to create 32 simgear buckets. | |||
=== work_dir === | |||
This is where hgt-chop will generated the elevation directory tree described above. | |||
== hgtfit == | == hgtfit == |
edits