lakeVolume
and lakeMeanDepth
(passed to lakeVolume
) to allow input a known maximum depth. If not included and an elevation model is included in the lake morpho object, max depth is estimated with lakeMaxDepth
.intersect=
argument on lakeMaxWidth()
. Default is FALSE
which finds longest line perpendicular to the maximum length line, but not necessarily intersecting with the maximum length line. TRUE
forces the intersection. The definition of maximum lake width does not specify whether or not the intersection is required.lakeMaxWidth()
was flipping slope of line on lakes with a maximum lake length that had negative slope. Tracked down to creating a line with matrix()
. Switched to data.frame()
and now works.lakeMaxLength()
was using rgeos::gWithin
to ID lines that fell inside the lake boundary. Would occassionally select a line that was outside the boundary on curved lakes (e.g. s-shaped). Couldn't track down why this was happening, but rgeos::gContains()
did not have this same behavior, so replaced gWithin()
with gContains
.paste(substitue())
to deparse(substitute())
lakeSurroundTopo()
now returns stops and errors when multiple polygons submitted. lakeMorphoClass()
now accepts lake only. Other arguments have defualt NULL values.lakeMorphoClass
and plots lines if they exist.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.