Skip to content

Releases: NoahSchiro/osmgraph

v0.3.1

21 Sep 15:34
Compare
Choose a tag to compare

No breaking changes. Just optimized code for a 10x speed up in parsing. Changes:

  • Multithreaded tokio runtime is now single threaded.
  • Removed a clone in parse steps.

v0.3.0

07 Sep 21:38
7e421b7
Compare
Choose a tag to compare
  • 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

24 Aug 13:52
44a7dcf
Compare
Choose a tag to compare

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

18 Aug 02:20
1e24bd8
Compare
Choose a tag to compare

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

18 Aug 01:57
8a8c0f3
Compare
Choose a tag to compare

Initial release of the osm-graph crate. Provides a basic interface with the Overpass API as well as some tools for working with graphs.