I have got laz file without classification
However everything what I can extract with pdal is this:
Seems like the algorithm detects everything as ground. The code is following:
pipeline = [
"/home/input.laz",
{
"type":"filters.pmf",
"returns":"first"
},
"/home/output.laz"
]
import pdal
import json
import numpy as np
pipeline = pdal.Pipeline(json.dumps(pipeline))
pipeline.validate()
count = pipeline.execute()
I tried different filters, however no positive result. Another question is why 'return' condition works only with 'first' and returns RuntimeError: filters.pmf: No returns to process. in any other case
P.S. https://pdal.io/tutorial/ground-filters.html - this solution worked in my case. Now I have segmented ground and unclassified stuff. The problem was in deleting classified .laz file and ept folder every time before I'm trying to do segmentation. However problem with 'returns' still be unclear