tiagodc / TreeLS

R functions for processing individual tree TLS point clouds
GNU General Public License v3.0
82 stars 27 forks source link

export data from #14

Closed stefanoch90 closed 4 years ago

stefanoch90 commented 4 years ago

Hi , i have a question: how can I export the data after the "# extract measures"? because i would like for each single stem its ID number and the measurement of the diameter of each segment for each height. I hope I made myself as clear as possible with the request.

bi0m3trics commented 4 years ago

The help for stemSegmentation says that it returns a "data.table of stem segments with stem_dt signature." so the solution would be the same way you export any other data.frame/data.table... e.g., write.csv(seg, "path to file")

tiagodc commented 4 years ago

Thanks @bi0m3trics , that's exactly right. Also, if you want to export the fields added to your LAS files you can refer to lidR::add_lasattribute.

stefanoch90 commented 4 years ago

Thank you very much. You are very kindly.

Stefano

Il giorno mer 22 lug 2020 alle ore 15:57 Tiago de Conto < notifications@github.com> ha scritto:

Closed #14 https://github.com/tiagodc/TreeLS/issues/14.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tiagodc/TreeLS/issues/14#event-3575906062, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJDI4I3DOVFOY7I7UKDRZDR43V6NANCNFSM4PEWDQVA .