pyroutelib3

Routing on OSM data in Python 3

GPL-3.0 License

Downloads
3.9K
Stars
74

Bot releases are hidden (Show)

pyroutelib3 - 2.0.0 Latest Release

Published by MKuranowski 3 months ago

  • Initial v2 rewrite
pyroutelib3 - 1.7.2

Published by MKuranowski over 2 years ago

Changelog:

  • Use os-level locking when modifying tiles in tilescache directory
  • Make OSM API URL and tilescache directories variables (in pyroutelib3.util) - which can be modified at runtime
pyroutelib3 - Small fixes related to errors

Published by MKuranowski over 3 years ago

pyroutelib3 - Major refactor

Published by MKuranowski over 3 years ago

pyroutelib3 - Don't leave debug prints

Published by MKuranowski over 4 years ago

Changelog:

  • Removed a left-over debug print
  • Added some more tests
pyroutelib3 - doRoute rewrite

Published by MKuranowski over 4 years ago

Warning: This release has a leftover debug print.

Changelog:

  • Reworked Router.doRoute and router.addToQueue
  • Added living_street to default profiles
  • Fixed weights not being used
pyroutelib3 - Optional Ignoring Data Errors

Published by MKuranowski over 4 years ago

Warning: This release has a bug, which makes the Datastore ignore routing weights.

Changelog:

  • Added ignoreDataErrs to datastore parameters. If set to False, issues with data will raise an error, instead of being silently ignored.
pyroutelib3 - Fixed Performance

Published by MKuranowski over 4 years ago

Warning: This release has a bug, which makes the Datastore ignore routing weights.

Changelog:

  • Do not iterate over each restriction in doRoute
  • Other small optimizations (like changing queueItem["nodes"] to list instead of string)
  • Removed compatibility with router.data
pyroutelib3 - Making some methods static

Published by MKuranowski over 4 years ago

Changelog:

  • Changed Datastore._attributes, Datastore.distance and Datastore.equivalent to staticmethods
pyroutelib3 - Bugfix: Don't import pyroutelib3 in setup.py

Published by MKuranowski over 4 years ago

Changelog:

  • Removed importing pyroutelib3 from setup.py
pyroutelib3 - osmiter data parsing

Published by MKuranowski over 4 years ago

Changelog:

  • Changed Datastore.parseOsmFile to use osmiter instead of ElementTree
  • Added new argument to Datastore: localfileType, used to specify OSM file types other then XML.
pyroutelib3 - Custom Storage Class

Published by MKuranowski about 5 years ago

Changelog:

  • Allowing users of pyroutelib3 to define their own storage classes, instead of forcing all data into dicts
  • Added some basic unit tests
pyroutelib3 - Upkeep Release Fix

Published by MKuranowski over 5 years ago

Changelog:

  • Fixes typo error introduced in 1.3
  • Will now raise KeyError instead of returning "no_such_node" if start node is not found inside the graph
  • Fixing distance function (thanks to @ikatanic)
  • Fixing some typos (thanks to @1kastner)
  • Removing osmapi from requirements
pyroutelib3 - Upkeep Release

Published by MKuranowski over 5 years ago

Changelog:

  • Will now raise KeyError instead of returning "no_such_node" if start node is not found inside the graph
  • Fixing distance function (thanks to @ikatanic)
  • Fixing some typos (thanks to @1kastner)
  • Removing osmapi from requirements
pyroutelib3 - Self-containing router.doRoute

Published by MKuranowski about 6 years ago

Changelog

  • Small improvements in handling oneways
  • Fixes in access keys of pre-defined transport types
  • Self-containing router.doRoute (now it won't change any attributes of the router)
pyroutelib3 - Version numbers clean-up

Published by MKuranowski about 6 years ago

No changes, just changing the version number

pyroutelib3 - Typo hotfix

Published by MKuranowski about 6 years ago

Warning! I screwed up version numbering. Use 1.1 instead!

Changelog:

  • Fixed a typo in the oneway handling
pyroutelib3 - Data download hotfix

Published by MKuranowski about 6 years ago

Warning! This version has a typo when handling oneway=-1 or oneway=reversed. Use 1.1 instead!

Changelog:

  • Fixes the urllib not being imported
pyroutelib3 - Turn restrictions

Published by MKuranowski about 6 years ago

Warning! This version does not work when auto-downloading tiles. Use 1.1 instead!

Changelog:

  • Adding support for turn restrictions
  • Making Router a subclass of Datastore, removing the need to call router.data.×
  • Merging code into 1 file by simplifying data download process
pyroutelib3 - Haversine formula

Published by MKuranowski almost 7 years ago

Changelog:

  • Changed distance formula to Haversine one
  • Added support for oneway:<transport_type> tags