Isochrones
Calculate isochrones using third-party APIs from mundipy
Mundipy supports querying some third-party APIs directly from the library. These third-party APIs require an access token and billing setup, hence they are provided for convenience only.
All calculations are in driving time or distance. Walking or cycling are not implemented.
Calculate isochrones
The isochrone API is provided by Mapbox. They provide 100,000 free monthly requests. You need a Mapbox access token to use this API.
Isochrones of both distance traveled and travel time are available. Let’s take a central point to be a point in Hoboken, New Jersey:
And an access token that should remain private:
Types of isochrones
Distance traveled
Here we calculate an isochrone to be the region one can travel to without traveling more than 1 km:
In a Jupyter notebook, polygon
would render like this, showing we’ve retrieved a region that represents 1 km driving distance from the central point:
Travel time
Here we calculate an isochrone to be the region one can travel to without driving more than 30 minutes:
In a Jupyter notebook, polygon
would render like this, capturing much of New Jersey and New York: