airbornegeo.largest_line_dimensions

airbornegeo.largest_line_dimensions#

largest_line_dimensions(data, line_column)[source]#

Largest dimension of each line, taken as the longest side of its minimum rotated (oriented) bounding box. Robust to curved/circular lines, where distance-along-line overstates and end-to-end distance understates the line’s spatial extent.

Parameters:
  • data (DataFrame) – The dataframe containing columns ‘easting’, ‘northing’, and the column given by line_column. Rows with NaN coordinates are ignored.

  • line_column (str) – name of the column containing the line number/name

Returns:

largest dimension of each line, indexed by line

Return type:

Series