transbigdata.split_subwayline

transbigdata.split_subwayline(line, stop)

To slice the metro line with metro stations to obtain metro section information (This step is useful in subway passenger flow visualization)

参数:
  • line (GeoDataFrame) – Bus/metro lines

  • stop (GeoDataFrame) – Bus/metro stations

返回:

metro_line_splited – Generated section line shape

返回类型:

GeoDataFrame