Skip to content

yuanjian24/get_bus_info

Repository files navigation

get_bus_info

Download bus line from the Internet

This repo show you how to download bus line and bus station based on map providers (such as amap, in this case). They can be used for bus operation analysis and many potential applications.

Step 1: Open the map website and the "Developer Mode" (Chrome recommended)

Step 2: Switch to Network/All/Preview, then search for your expected bus line

Step 3: Click the first item, then you will see the information under the keyword data.

Step 4: Copy the information and paste it into your local scripts (See shanghai_bus_line.py for example)

Step 5: Get the bus line information and bus station information (See get_bus_geo_info_manually.ipynb)

The following image shows 10 bus lines for demonstration

Note:

  1. Geopandas package is required.
  2. The GPS coordinator converter is copied from 知名博主小旭学长
  3. This repo is used for academic purpose only.

About

Download bus line from the Internet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published