40 releases (21 breaking)

0.23.2 Jul 7, 2023
0.23.1 Jun 23, 2022
0.23.0 Apr 18, 2022
0.22.0 Feb 5, 2022
0.6.1 Mar 9, 2018

#249 in Geospatial

Download history 892/week @ 2023-12-14 664/week @ 2023-12-21 730/week @ 2023-12-28 818/week @ 2024-01-04 755/week @ 2024-01-11 1036/week @ 2024-01-18 689/week @ 2024-01-25 815/week @ 2024-02-01 895/week @ 2024-02-08 827/week @ 2024-02-15 965/week @ 2024-02-22 899/week @ 2024-02-29 895/week @ 2024-03-07 899/week @ 2024-03-14 827/week @ 2024-03-21 676/week @ 2024-03-28

3,428 downloads per month
Used in 12 crates (3 directly)

MIT/Apache

5.5MB
3.5K SLoC

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 builds libproj without its native network functionality; you will have to implement your own set of callbacks if you wish to make use of them (see the proj crate for an example).
  • bundled_proj_tiff - If the bundled_proj feature is enabled, adding the bundled_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

at your option.

Dependencies