transbigdata.ckdnearest_line

transbigdata.ckdnearest_line(gdfA, gdfB)

This method will seach from gdfB to find the nearest line to the point in gdfA.

参数:
  • gdA (GeoDataFrame) – GeoDataFrame A, point geometry

  • gdB (GeoDataFrame) – GeoDataFrame B, linestring geometry

返回:

gdf – Searching the nearset linestring in gdfB for the point in gdfA

返回类型:

DataFrame