https://github.com/sirthias/elevation-map
https://github.com/sirthias/elevation-map
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sirthias/elevation-map
- Owner: sirthias
- Created: 2019-10-17T18:51:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-17T19:08:53.000Z (over 5 years ago)
- Last Synced: 2025-01-09T07:24:39.286Z (4 months ago)
- Language: Scala
- Size: 6.23 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`