Skip to content

Releases: cyschneck/centerline-width

1.0.0 - Full Release of centerline-width Functionality

09 Jul 22:12
Compare
Choose a tag to compare

Feature in Alpha Release:

Convert raw data from Google Earth Pro to CSV

  • extractPointsToTextFile()
  • convertColumnsToCSV()

Find centerline and width of river

  • plotCenterline()
  • plotCenterlineWidth()
  • riverWidthFromCenterline()
  • centerlineVoronoi
  • centerlineEqualDistance
  • centerlineEvenlySpaced
  • centerlineSmoothed
  • centerlineLength
  • rightBankLength
  • leftBankLength

Export centerline to .CSV and .MAT files

  • saveCenterlineCSV()
  • saveCenterlineMAT()
Centerline Centerline with Width Lines
image image

Pytests: 180 test

plotCenterline() options, plotCenterlineWidth() width fix

27 Jun 21:05
Compare
Choose a tag to compare

New Features:

plotCenterline()

  • centerline_type option to graph ("Voronoi", "Evenly Spaced", "Smoothed", "Equal Distance")
  • marker_type option to graph (scatter/line)
  • centerline_color option (matplotlib color options)

riverCenterline()

  • ellipsoid option to convert degrees to meters

plotCenterlineWidth()

  • Replace haversine package with geopy
  • Remove unit options (will generate distances in km)
  • Fix to prevent lines from being generated outside the polygon

Bug fixes and README.md edits
Pytests: 180 test

centerlineEqualDistance, saveCenterlineMAT, latitude_header/longitude_header

23 Jun 06:35
Compare
Choose a tag to compare

New Features:

centerlineEqualDistance

  • New centerline type that represents equal distances from each points (set by user) and accounts for the radius of the Earth to convert from degrees to meters
  • Set by equal_distance optional argument in riverCenterline (defaults to 10 meters)
  • Can be saved in saveCenterlineMAT() and saveCenterlineCSV() as centerline_type="Equal Distance"

saveCenterlineMAT

  • Save centerline values to a .mat file

latitude_header and longitude_header for saveCenterlineMAT and saveCenterlineCSV

  • new options to set the header values for the latitude and longtiude in the output file by the user

Bug fixes and README.md edits

Pytests: 166 tests

Bug Fixes: Width Centerline

03 Jun 01:25
Compare
Choose a tag to compare

Bug fixes for returning the width based on centerline

User Warnings When Using Smoothed Centerline

03 Jun 01:12
Compare
Choose a tag to compare

User warning if smoothed coordinates need to use interpolate_n_centerpoints (useful for narrow rivers with sparse data)

  • Example Error: WARNING: Partially invalid smoothed centerline due to sparse centerline data (6 points lie outside the polygon), fix recommendation: rerun riverCenterline to create river object with interpolate_n_centerpoints set to 62+

Include new centerline-width logo

Updated README.md example images and descriptions

Bug fixes

Access Specific Types of Centerline

26 May 07:22
Compare
Choose a tag to compare

New function calls to access centerline types

  • centerlineVoronoi
  • centerlineEvenlySpaced
  • centerlineSmoothed
  • saveCenterlineCSV()

Clean up cluttered graphs with fewer items

  • Clean up plots on README.md

Bug fixes: Smoothed centerline accesses evenly spaced centerlines

Display Suggestions for Invalid Polygon

24 May 21:16
Compare
Choose a tag to compare
  • check if invalid polygon due to flipped banks, display suggestions: Invalid Polygon Due to Flipped Banks, fix recommendation: rerun convertColumnsToCSV() and set flipBankDirection=True (or reset to default 'False' if currently set to flipBankDirection=True)
  • Error handling when left_kml==right_kml
  • Bug fixes, remove redundant code and spelling errors

Bug Fixes

24 May 19:45
Compare
Choose a tag to compare
  • Update README.md to clarify function calls
  • Additional pytests to account for user accidentally uses the same KML file for the left and right banks

River Class Object and interpolate_data argument

24 May 02:52
Compare
Choose a tag to compare

Rework functions to work through a riverCenterlineClass object with new argument to interpolate_data to fix jagged edges and gaps that can form in narrow rivers with sparse data

Convert raw data from Google Earth Pro to CSV

  • extractPointsToTextFile()
  • convertColumnsToCSV()

Find centerline and width of river

  • plotCenterline()
  • plotCenterlineWidth()
  • riverWidthFromCenterline()
  • centerlineLatitudeLongtiude
  • centerlineLength
  • rightBankLength
  • leftBankLength

Beta Release: extract data and generate centerline/width

18 May 01:14
Compare
Choose a tag to compare

Beta Release for existing functions:

Convert raw data from Google Earth Pro to CSV

  • extractPointsToTextFile()
  • convertColumnsToCSV()

Find centerline and width of river

  • centerlineLatitudeLongitude()
  • plotCenterline()
  • plotCenterlineWidth()
  • riverWidthFromCenterline()