transbigdata.get_isochrone_mapbox

transbigdata.get_isochrone_mapbox(lon, lat, reachtime, access_token='auto', mode='driving', timeout=20)

Obtain the isochrone from mapbox isochrone

Parameters:
  • lon (float) – Longitude of the start point(WGS84)

  • lat (float) – Latitude of the start point(WGS84)

  • reachtime (number) – Reachtime of the isochrone

  • access_token (str) – Mapbox access token, if auto it will use the preset access token

  • mode (bool) – Travel mode, should be driving, walking or cycling

  • timeout (number) – Timeout of data fetching

Returns:

isochrone – The isochrone GeoDataFrame(WGS84)

Return type:

GeoDataFrame