1.3.0 - New option for riverWidthFromCenterlinen
New Option for riverWidthFromCenterline: coordinate_reference
New option for riverWidthFromCenterlinen()
to reference a width line
- Two options:
Centerline
andBanks
- By default,
coordinate_reference="Centerline"
where width lines are referenced in respect to the centerline coordinate that it intersects - New option,
coordinate_reference="Banks"
where width lines are referenced in respect to the right and left banks that it intersects (resolves: #1) - No changes to existing behavior and function is backwards compatible
More details: riverWidthFromCenterline
Bug fix: centerlineLength()
Length was being calculated incorrectly as the pairs of coordinates being calculated were not correctly updating (A->B + A->C, fix: A->B + B->C)
Thanks to @mthaddon for identifying the bug and PR fix #2 🎉
Bug fixes and README.md edits
Pytests: 211 tests