Skip to content
hypertidyPublic

About

Rust core of GDAL warp

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

98 Commits

Folders and files

Repository files navigation

rwarp

Rust implementation of the GDAL warp pipeline: coordinate transforms, approximate transforms, source window planning, and resampling kernels.

Documentation, a guide, the changelog and a browser demo: https://hypertidy.github.io/rwarp/. API reference for releases: docs.rs/rwarp.

CRS backends

The CRS-to-CRS step is behind the CrsTransform trait (rwarp::crs), selected by Cargo feature:

  • proj (default): the proj crate over libproj. Full PROJ: WKT, proj.db, datum grids. Needs a native libproj.
  • proj4rs: pure Rust. Proj strings and EPSG:NNNN codes only. No C dependencies; builds for wasm32-unknown-unknown.
cargo test                                          # libproj backend
cargo test --no-default-features --features proj4rs # pure Rust
cargo build --no-default-features --features proj4rs --target wasm32-unknown-unknown

GenImgProjTransformer::with_backend accepts any CrsTransform pair, so a caller can supply its own (for example a JavaScript PROJ build reached from wasm) without either feature.

About

Rust core of GDAL warp

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages