Skip to content

Instantly share code, notes, and snippets.

@hobu
Created June 2, 2020 23:18
Show Gist options
  • Save hobu/861e609e72f4d01b6f8d2a923a5f20ea to your computer and use it in GitHub Desktop.
Save hobu/861e609e72f4d01b6f8d2a923a5f20ea to your computer and use it in GitHub Desktop.
[
{
"type": "readers.ept",
"filename": "%(url)s" ,
"bounds": "([%(minx).3f, %(maxx).3f], [%(miny).3f, %(maxy).3f])",
"threads":16
},
{
"type":"filters.ferry",
"dimensions":"Classification => OldClassification"
},
{
"type": "filters.range",
"limits": "Classification![7:7],Classification![9:9]"
},
{
"type": "filters.assign",
"assignment": "Classification[:]=0"
},
{
"type":"filters.outlier",
"method":"statistical",
"mean_k":14,
"multiplier":2.2
},
{
"type": "filters.range",
"limits": "Classification![7:7],Classification![9:9]"
},
{
"type":"filters.crop",
"bounds":"([%(minx+buffer).2f,%(maxx-buffer).2f],[%(miny+buffer).2f,%(maxy-buffer).2f])"
},
{
"type": "filters.assign",
"assignment": "Classification[:]=0"
},
{
"type":"filters.ferry",
"dimensions":"OldClassification => Classification"
},
{
"type": "writers.las",
"filename": "%(filename)s.laz",
"scale_x":"0.01",
"scale_y":"0.01",
"scale_z":"0.01",
"offset_x":"auto",
"offset_y":"auto",
"offset_z":"auto"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment