User:Laserman/TerraGear

From FlightGear wiki
Jump to navigation Jump to search

bash scripts by NickR for the same task

https://gitlab.com/fg-scenery-build-script/fg-scenery-build-script/tree/master

file sizes

this depends on the file system that you use. many files are only a few bytes, but the smallest unit on a default Linux system is a 4kB block. I am tempted to try ZFS :-)

  • Terrain path of scenery 2.0: 87GB
  • number of Terrain stg files: 772233


elevation data

  • zipped elevation data from viewfinder panoramas (SRTM-3): 15GB
  • unzipped elevation data from viewfinder panoramas (SRTM-3): 52GB
  • size of work folder after hgtchop: 18GB
  • size of work folder after terrafit: 32GB
  • number of 10x10 degree folders: 378 (scenery2.0: 524)
  • 1x1 degree folders northern hemisphere: 15737 (scenery2.0: 19604)
  • 1x1 degree folders southern hemisphere: 4425 (scenery2.0: 13777)
  • number of .arr.gz files after hgtchop: 585280 (76% complete?)
  • number of .fit.gz files after terrafit: 585280 (76% complete?)

landcover

OSM roads for china: 500MB in data + 500MB in work

global land-polygons: 600MB in data + 3GB in work

build times (intel i3, 8GB RAM , SSD)

  • gloabal ogr-decode for land-poygons-split from http://openstreetmapdata.com/data/land-polygons: 5 minutes
  • tgconstruct for 36 tiles ZBAA-airport+terrain, no roads: 41 seconds
  • tgconstruct for 36 tiles ZBAA-airport+terrain+roads: >10 minutes