-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New crates.io release #20
Comments
I can't! The crate relies on https://github.com/urschrei/ostn15_phf, which uses a 43 MB grid shift file, which is too big for crates.io, so it can't be published and has to be used as a git dependency. Any ideas gratefully received of course. |
Ooh, that explains it. I don't have ideas that would keep the crate hermetic. (Hosting the data elsewhere and lazily pulling it in would suddenly introduce a dependency on the network at runtime, and require stable hosting somewhere.) Worth keeping the issue open for the next person who gets confused and winds up here? |
An alternative is using proj and enabling its network feature, which enables the use of downloaded grid shift files: the OSTN15 NTv2 grid shift is definitely available. That may not be an option for you if you need to build your crate as WASM. In that case you should talk to Thomas about using the OSTN15 NTv2 grid shift file in the geodesy crate: it has NTv2 support and can be compiled to wasm. But yes, I'll keep this open. |
https://docs.rs/lonlat_bng/latest/lonlat_bng/ and crates.io point to 0.3.8, which is ancient! I actually thought this crate was broken (valid inputs to
convert_osgb36_to_ll
all failed), but it's working wonderfully when pinning to git. For anyone just doingcargo add lonlat_bng
, a new release would be helpful! Thanks for this crate and saving me a GDAL dependency, by the way :)The text was updated successfully, but these errors were encountered: