georust / proj

Rust bindings for the latest stable release of PROJ
https://docs.rs/proj
Apache License 2.0
137 stars 44 forks source link

Clarify "network" feature is required for TIFF support #140

Closed burleight closed 1 year ago

burleight commented 1 year ago

network: exposes APIs which, when enabled, can fetch grid data from the internet to improve projection accuracy. See enable_network for details.

Should this be edited to clarify that if the "network" feature isn't enabled, TIFF support is disabled?

Or could TIFF support be enabled, even if network isn't?

urschrei commented 1 year ago

We can probably add an explicit tiff feature. I think the reason it's currently set up like this is that we thought the primary use case for tiff support was reading grid info from remote COGs. What can you do with local-only tiff support?

burleight commented 1 year ago

I've been building the tiff files I need into a docker image alongside a service which uses this crate.