transbigdata.ckdnearest_point

transbigdata.ckdnearest_point(gdA, gdB)

This method will match the nearest points in gdfB to gdfA, and add a new column called dist

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

  • gdB (GeoDataFrame) – GeoDataFrame B, point geometry

Returns:

gdf – The output DataFrame

Return type:

DataFrame