Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Nils Nolde <[email protected]>
Timothy Ellersiek <[email protected]>
Christian Beiwinkel <[email protected]>
Matthieu Viry <[email protected]>
Matthieu Viry <[email protected]>
Laurent Basara <[email protected]>
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@ It's really easy:
To run the new tests and ensure consistency, refer to the [Tests](#tests) section above. **Don't store secrets** in the tests.

4. **Document** Please use docstring documentation for all user-exposed functionality, similar to other router implementations.
Also, please register the new module in `docs/indes.rst`'s `Routers` section. To build the docs, refer to the
Also, please register the new module in `docs/index.rst`'s `Routers` section. To build the docs, refer to the
[documentation section](#documentation) for details. Don't forget to add your name to the list of `AUTHORS.md`.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion routingpy/isochrone.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Isochrone(object):

def __init__(self, geometry=None, interval=None, center=None, interval_type=None):
self._geometry = geometry
self._interval = int(interval)
self._interval = None if interval is None else int(interval)
self._center = center
self._interval_type = interval_type

Expand Down
2 changes: 2 additions & 0 deletions routingpy/routers/__init__.py
Copy link
Owner

@mthh mthh Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, the following should be added on line 67 for the documentation of the get_router_by_name function:

:class:`routingpy.routers.graphhopper.IGN`

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from .google import Google
from .graphhopper import Graphhopper
from .heremaps import HereMaps
from .ign import IGN
from .mapbox_osrm import MapboxOSRM
from .openrouteservice import ORS
from .opentripplanner_v2 import OpenTripPlannerV2
Expand All @@ -31,6 +32,7 @@
"graphhopper": Graphhopper,
"here": HereMaps,
"heremaps": HereMaps,
"ign": IGN,
"mapbox_osrm": MapboxOSRM,
"mapbox-osrm": MapboxOSRM,
"mapbox": MapboxOSRM,
Expand Down
Loading