environmentaltools.drone.filter_polygons

environmentaltools.drone.filter_polygons(gdf_wgs84, gdf_utm, polygon_indices=None)[source]

Filters polygons according to specified indices.

Parameters:
  • gdf_wgs84 (geopandas.GeoDataFrame) – GeoDataFrame in WGS84 coordinate system.

  • gdf_utm (geopandas.GeoDataFrame) – GeoDataFrame in UTM coordinate system.

  • polygon_indices (list, optional) – Polygon indices to process (1-based). Default is None.

Returns:

(polys_wgs84, polys_utm) Lists of filtered polygons.

Return type:

tuple