Replies: 2 comments 5 replies
-
Please report a minimal reproducible example. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Of course las <- readLAS("probleme.laz")
pol = crown_metrics(las, func = .stdmetrics, geom = "convex") With the following file probleme.laz |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When using
crown_metrics()
ordelineate_crowns()
to create convex or concave polygons, I sometimes encounter the 'invalid polygon created. They likely correspond to trees with aligned points.' problem coming from themetrics_crowns.R
code, and processing halts. As I have tried everything to filter out problematic data and all parameters, I'm stuck to manual edition.Does someone have an idea? I've tried to create my own function but I'm not at ease with R.
I also wonder if it could be possible to use the
st_make_valid()
somewhere in the metrics_crowns.R code to, at least, not stop the processing ?Regards,
J.B.
crown bug example
Beta Was this translation helpful? Give feedback.
All reactions