Low-level bindings for PROJ v7.0.x
This is a *-sys
crate; you shouldn't use its API directly. The proj
crate is designed for general use.
A guide to the functions can be found here: https://proj.org/development/reference/functions.html. Run cargo doc (optionally --open)
to generate the crate documentation.
Requirements
By default, this crate depends on a pre-built library, so PROJ v7.0.x
must be present on your system. While this crate may be backwards-compatible with older PROJ 6 versions, this is neither tested or supported.
Linux: Using the Bundled PROJ library
This crate can internally build and depend on a bundled PROJ v7.0.0
library, by enabling the bundled_proj
feature. This may make it easier to compile the crate, but is not yet thoroughly tested, and currently only supports Linux. Note that SQLite3 must be present on your system if you wish to use this feature.
macOS
The macOS build script uses pkgconfig
to add search paths, so you must have it installed (it's available on Homebrew and Macports)
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.