georust / proj

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

Fixes wrong coordinates in the doctest #177

Closed PaulWagener closed 11 months ago

PaulWagener commented 11 months ago

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

lnicola commented 11 months 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 11 months ago

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