This CLI application allow you split big raster into smaller tiles. Splitting based on a target file size in MB. This clipper can be helpful when you have a big raster which is difficult to open in a GIS program.
- Download of clone this repository
- Install Rust if not installed (https://www.rust-lang.org/tools/install)
- Run command
cargo build --release(more details: https://doc.rust-lang.org/cargo/commands/cargo-build.html) - Application can be found in
target/release
./raster_clipper -h
Splits a large Geospatial (tif, tiff, jp2) file into smaller tiles
Usage: raster_clipper [OPTIONS] --file_path <FILE_PATH>
Options:
-f, --file_path <FILE_PATH> Path to the input geospatial file
-s, --target_tile_size_mb <SIZE_MB> Target tile size in MB [default: 500.0]
-o, --base_out <OUTPUT_DIR> Output directory for the tiles [default: output]
-h, --help Print help
-V, --version Print version
GIS, QGIS, GDAL, geospatial, tiff, tif, jp2