georust / proj

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

Fixes wrong coordinates in the doctest #177

Closed PaulWagener closed 1 year ago

PaulWagener commented 1 year ago

They were off by a few meters but enough for the test to fail

lnicola commented 1 year ago

I don't think this is actually necessary:

$ echo "34.095620 -118.283555" | cs2cs EPSG:4326 EPSG:3309
158458.67   -434296.88 0.00
$ echo "34.095620 -118.283555" | PROJ_NETWORK=ON cs2cs EPSG:4326 EPSG:3309
158460.19   -434297.05 0.00

Maybe you have the grids available on your system.

PaulWagener commented 1 year ago

You're right. Both commands result in 158460.19 -434297.05 0.00 for me