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

Expose PjInfo struct #131

Closed frewsxcv closed 2 years ago

frewsxcv commented 2 years ago

I'd like to have access to all those values, and seems simple enough just to expose it publicly

urschrei commented 2 years ago

Do you mean something different from https://docs.rs/proj/0.26.0/proj/struct.Projinfo.html?

frewsxcv commented 2 years ago

https://github.com/georust/proj/blob/fc5cf1cdf6f12c9c92973444285371159fcdb2e4/src/proj.rs#L1023-L1029

ProjInfo describes the PROJ installation, whereas PjInfo describes a specified CRS

urschrei commented 2 years ago

Ohhhh