Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
  • Reduce the point cloud a bit to make things fast
  • Run ourselves a progressive morphological filter. This will classify ground points and extract ground
  • Then we'll do a simple IDW interpolation to a DEM
{
  "pipeline":[
    "input.las",
   {
     "type":"filters.sample",
     "radius":"0.5"
    },
    {
      "type":"filters.pmf",
      "extract":"true"
    },
    {
      "resolution": 2,
      "radius": 5,
      "output_type":"idw",
      "filename":"outputfile.tif"
    }
  ]
}
docker run -v $(pwd)/data:/data dockerpdal pdal pipeline /data/dem.json --readers.las.filename=/data/odm_georeferenced_model.ply.las --writers.gdal.filename=/data/odm_georeferenced_model.dem.tif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.