USEPA / lakemorpho

Calculate metrics about a lake using just its shape
25 stars 10 forks source link

revist poitndens - use all points in poly as starting point #24

Closed jhollist closed 3 years ago

jhollist commented 7 years ago

pointdens is currently required and samples along the polygon boundary. This is nice because it allows you to control the time it takes to calc the lines. Also a problem becuase it impacts the accuracy of the resultant line if an insufficeint number of points are used. A default value of all points that make up the polygon would be acceptable.

Might be better to switch this to a percentage sample of the polygon points instead of using spsample along the boundary.