ni1o1 / transbigdata

A Python package develop for transportation spatio-temporal big data processing, analysis and visualization.
https://transbigdata.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
459 stars 115 forks source link

line, stop = tbd.getbusdata('深圳', ['2号线']) 报错:No such busline #42

Closed MissChengLX closed 2 years ago

MissChengLX commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

ni1o1 commented 2 years ago

line, stop = tbd.getbusdata('深圳市', ['深圳地铁2号线'])

这个可以

MissChengLX commented 2 years ago

line, stop = tbd.getbusdata('深圳市', ['深圳地铁2号线'])

这个可以

好的,感谢回复,获取到一部分,好像也不是全部的站点

MissChengLX commented 2 years ago

line, stop = tbd.getbusdata('深圳市', ['深圳地铁2号线'])

这个可以

你好,在请教个问题,就是我使用 G = tbd.metro_network(stop),构建的网络图不是根据站点作为节点的吗,为什么网络G 的节点数量与地铁站点的数量 不一致呢

ni1o1 commented 2 years ago

一个站点如果是换乘站,则会被考虑为多个节点