#proj #projection #osgeo #geospatial

sys proj-sys

Rust bindings for PROJ v9.2.x

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

#221 in Geospatial

Download history 1489/week @ 2023-10-22 1307/week @ 2023-10-29 1396/week @ 2023-11-05 1484/week @ 2023-11-12 1690/week @ 2023-11-19 1564/week @ 2023-11-26 1844/week @ 2023-12-03 1284/week @ 2023-12-10 1271/week @ 2023-12-17 1001/week @ 2023-12-24 1180/week @ 2023-12-31 1224/week @ 2024-01-07 1222/week @ 2024-01-14 1309/week @ 2024-01-21 1178/week @ 2024-01-28 1237/week @ 2024-02-04

5,078 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