An open API service indexing awesome lists of open source software.

https://github.com/sirthias/elevation-map


https://github.com/sirthias/elevation-map

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

ASTGTMV003 Processing Helpers
-----------------------------

Small repository for ad-hoc code for processing ASTGTMV003 world elevation map data.

General process:

- `cd` into working directory

- download all 22,912 ASTGTMV003 ZIP files into sub directory `ASTGTMV003` (ca. 380 GB)

- extract the ca. 320 GB of data tif files into `tiles` sub directory:

`find ASTGTMV003/ -type f -iname '*.zip' -exec 7z e '-x!*_num.tif' -otiles/ {} \;`

- create a sub directory structure underneath `tiles`:

`find tiles/ -type f | sed -f sed-mkdir.txt | sh`

- sort tiles into sub directories:

`find tiles/ -type f | sed -f sed-mv.txt | sh`

- edit configuration in `org.flsx.elevation.ConvertElevationData`

- resample tiles to intermediate resolution (ca. 1.6 GB with `tileTargetWidth = 360`):

`sbt runMain org.flsx.elevation.ConvertElevationData`

- edit configuration in `org.flsx.elevation.ExtractElevationPNG`

- resample world map or partial map into a PNG:

`sbt runMain org.flsx.elevation.ConvertElevationData`