#geospatial

sys proj-sys

Rust bindings for PROJ v9.4.x

41 releases (22 breaking)

0.24.0 Sep 3, 2024
0.23.2 Jul 7, 2023
0.23.1 Jun 23, 2022
0.22.0 Feb 5, 2022
0.6.1 Mar 9, 2018

#60 in #geospatial

Download history 1062/week @ 2024-07-07 1066/week @ 2024-07-14 1068/week @ 2024-07-21 1600/week @ 2024-07-28 1248/week @ 2024-08-04 1234/week @ 2024-08-11 1036/week @ 2024-08-18 1490/week @ 2024-08-25 1499/week @ 2024-09-01 1383/week @ 2024-09-08 1316/week @ 2024-09-15 1764/week @ 2024-09-22 1637/week @ 2024-09-29 1330/week @ 2024-10-06 1648/week @ 2024-10-13 2055/week @ 2024-10-20

6,865 downloads per month
Used in 14 crates (3 directly)

MIT/Apache

5.5MB
10K SLoC

Low-level bindings for PROJ v9.4.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

~21MB
~393K SLoC