airbornegeo.unique_line_id

Contents

airbornegeo.unique_line_id#

unique_line_id(df, line_col_name='line')[source]#

Convert supplied lines names into integers.

Parameters:
  • gdf (gpd.GeoDataFrame) – Dataframe containing the data points and the line labels. must have a set geometry column.

  • line_col_name (str) – Column name specifying the line number, by default β€œline”

  • df (DataFrame)

Returns:

The line names for each point in the GeoDataFrame

Return type:

Series