geolime.operations.polygon

Classes:

Polygon(data, metadata)

Functions:

bounding_polygon_from_points(points_df, crs)

Compute bouding concave polygon of a set of points.

bounding_polygon_from_sub_points(sub_points_gdf)

Compute bouding concave polygon of a subset of points.

df_to_gdf(df[, x_col, y_col, crs])

Converts a DataFrame to a GeoDataFrame

gdf_to_df(gdf[, copy])

Converts a DataFrame to a GeoDataFrame

select_points_inside_polygon(polygon, points)

Filters points in 2D and keep only the one inside the given polygon.