Forum

Author Topic: Label points / Import classified point cloud  (Read 1341 times)

ohlaris

  • Newbie
  • *
  • Posts: 1
    • View Profile
Label points / Import classified point cloud
« on: January 30, 2020, 12:28:26 AM »
Hello,


Is there a way (can be a python script) to label the points that I have manually segmented using the free-form selection?
Also, how can I export the results of my classification (class and labels of each class i.e ground points/low vegetation)?

I have used the code below but I cannot find the labels after I run
Code: [Select]
import Metashape
ATTR = "NAME"
for shape in Metashape.app.document.chunk.shapes:
    if ATTR in shape.attributes.keys():
        shape.label = shape.attributes[ATTR]

Any help would be appreciated

Thanks