find_point_matches#
- caf.space.utils.find_point_matches(gda, gdb, max_dist, *, id_col_1, id_col_2, name_1, name_2)[source]#
Find corresponding point features between two geodataframe.
Finds the nearest point feature from gdA to each feature in gdB, then filters for distance < max_dist.
- Parameters:
gda (Point geodataframe)
gdb (Point geodataframe)
max_dist (The max distance two points can be considered as matching, in metres.)
id_col_1 (id_col pf gda)
id_col_2 (id_col of gdb)
name_1 (name of gda)
name_2 (name of gdb)
- Return type:
gdB with a column for corresponding points in gdA, and the distance between them.