Last active
January 11, 2020 22:11
-
-
Save maphew/652c5cb51516e9d1f1c88cd3ec634289 to your computer and use it in GitHub Desktop.
A PDAL pipeline that a) classifies into ground/not-ground, b) adds "Height Above Ground" attribute, and c) exports only above ground points. Adapted from https://lists.osgeo.org/pipermail/pdal/2017-July/001367.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"pipeline": [ | |
"Carmacks_01.laz", | |
{ | |
"type": "filters.assign", | |
"assignment": "Classification[:]=0" | |
}, | |
{ | |
"type": "filters.smrf" | |
}, | |
{ | |
"type": "filters.hag" | |
}, | |
{ | |
"type": "filters.range", | |
"limits": "HeightAboveGround[2:]" | |
}, | |
{ | |
"type": "filters.approximatecoplanar", | |
"knn": 10 | |
}, | |
{ | |
"type": "filters.range", | |
"limits": "Coplanar[1:1]" | |
}, | |
{ | |
"filename":"xx-classified.laz", | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment