osm-node-cache
Flat file node cache stores lat,lon coordinate pairs as u64 values with their index being the position in the file. In
other words -- 0th u64 value is stored as the first eight bytes, etc.
The library allows multithreaded access to the cache and can dynamically grow the cache file.
// This example uses osmpbf crate
use PathBuf;
use ;
use ;
use ;
Development
- This project is easier to develop with just, a modern alternative to
make. Install it withcargo install just. - To get a list of available commands, run
just. - To run tests, use
just test.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT) at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.