Releases: NoahSchiro/osmgraph
v0.3.1
v0.3.0
- Change the structure of the crate slightly such that the Overpass API tools have their own directory. Hoping this is my more sustainable / long term / stable API so we don't need to introduce breaking changes in future updates.
- Fully leveraging serde_json and the structure of the json to parse nodes and ways more quickly (about 2-4x faster).
- Updated dependencies to the latest versions
v0.2.0
There was a suggestion by a community member that we would like the osm_query
function to be flexible such that you can provide your own API endpoint.
In support of this, we are introducing a new QueryEngine
structure that has some properties it can use while it is querying. Namely, the base URL of the server it is using and "way filters" these filters only fetch the ways that we are interested in looking at (driveable roads). This reduces network download times around 10x, file sizes are 10x smaller, and parse speed is roughly 10x faster on nodes, ways, and the whole graph. Users can change the way filters to whatever they are interested in.
We also introduce benches
using the criterion crate in this update so we can track if the crate is getting faster or slower.
Tests have been expanded and docs have been expanded where appropriate.
v0.1.1
The only change from v0.1.0 is that we changed the name from osm-graph to osmgraph since there was a naming collision on www.crates.io/
v0.1.0
Initial release of the osm-graph crate. Provides a basic interface with the Overpass API as well as some tools for working with graphs.