transbigdata.ckdnearest_line

transbigdata.ckdnearest_line(gdfA, gdfB)

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

Parameters:
  • gdA (GeoDataFrame) – GeoDataFrame A, point geometry

  • gdB (GeoDataFrame) – GeoDataFrame B, linestring geometry

Returns:

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

Return type:

DataFrame