Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heightmap Data Sampler

Some scripts to sample quadratic patches from given real-world heightmap data.
Data source: https://www.eorc.jaxa.jp/ALOS/en/aw3d30/index.htm

Get Started

Download the GeoTIFFs of your target area from the source above and place the folders in a root directory (In this case /SSD/Datasets/Terrain/ ). Execute the RunSampler and put this root directory to the first argument to get equal-sized sample patches.

Documentation

./RunSampler ROOT_DIRECTORY_OF_ALOS_DATA DESIRED_PATCH_SIZE_IN_KM NUMBER_OF_SAMPLES_PER_PATCH

Options

-o: Output directory
-s: Size of output patches in pixels
-d: Enable debug mode

Example

./RunSampler /SSD/Datasets/Terrain/ 10 150 -o ../output -s 256 -d
Result: 150 patches of real world size of 10x10km and pixel size 256x256 for each GeoTIFF in /SSD/Datasets/Terrain/

About

Some scripts dealing with different map-projection to sample regularized quadratic patches from given real-world heightmap data. The regularized patches can be used to train neural networks (for example GANs))

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages