TreeLS icon indicating copy to clipboard operation
TreeLS copied to clipboard

How can I "manually" plot points or other shapes to tlsPlot plots?

Open mavavilj opened this issue 4 years ago • 2 comments

How can I "manually" plot points or other shapes to tlsPlot plots?

Particularly also,

how can I append new (custom) points to an existing tlsPlot?

mavavilj avatar May 04 '21 12:05 mavavilj

It looks like the author hasn't been active since October of 2020, so you're likely to get more timely answers by posting questions to gis.stackexchange.com

To be helpful and try and answer your question: see the help and examples from lidR::plot or read up on how rgl::rgl.points works, and then you'll see how to "build" visualizations by adding to the rgl scene. That's basically what TreeLS does in it's plotting functions. If you want to append other spatial objects (polygons, etc) I suggest looking into the package anglr and specifically anglr::plot3d but unfortunately it looks to be about as active as TreeLS

bi0m3trics avatar May 04 '21 13:05 bi0m3trics

I see thank you. I got it working by reading the source of add_stemPoints.

Is there some other project which is more active than this?

mavavilj avatar May 04 '21 14:05 mavavilj