Low-level bindings for PROJ v9.1.x
This is a
*-sys
crate; you shouldn't use its API directly. See the
proj
crate for general use.
A guide to PROJ functions can be found here: https://proj.org/development/reference/functions.html.
By default, the crate will search for an acceptable existing libproj
installation on your system using
pkg-config.
If an acceptable installation is not found, proj-sys will attempt to build libproj from source bundled in the crate.
Features
bundled_proj
- forces building libproj from source even if an acceptable version could be found on your system. Note that SQLite3 must be present on your system if you wish to use this feature, and that it buildslibproj
without its native network functionality; you will have to implement your own set of callbacks if you wish to make use of them (see theproj
crate for an example).bundled_proj_tiff
- If thebundled_proj
feature is enabled, adding thebundled_proj_tiff
feature will build PROJ with TIFF support. Note that libtiff must be present on your system if you wish to use this feature.
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.