{"action":"created","issue":{"url":"https://api.github.com/repos/PDAL/PDAL/issues/2258","repository_url":"https://api.github.com/repos/PDAL/PDAL","labels_url":"https://api.github.com/repos/PDAL/PDAL/issues/2258/labels{/name}","comments_url":"https://api.github.com/repos/PDAL/PDAL/issues/2258/comments","events_url":"https://api.github.com/repos/PDAL/PDAL/issues/2258/events","html_url":"https://github.com/PDAL/PDAL/issues/2258","id":375615740,"node_id":"MDU6SXNzdWUzNzU2MTU3NDA=","number":2258,"title":"How to fill holes in DTM?","user":{"login":"jhacsonmeza","id":29784391,"node_id":"MDQ6VXNlcjI5Nzg0Mzkx","avatar_url":"https://avatars0.githubusercontent.com/u/29784391?v=4","gravatar_id":"","url":"https://api.github.com/users/jhacsonmeza","html_url":"https://github.com/jhacsonmeza","followers_url":"https://api.github.com/users/jhacsonmeza/followers","following_url":"https://api.github.com/users/jhacsonmeza/following{/other_user}","gists_url":"https://api.github.com/users/jhacsonmeza/gists{/gist_id}","starred_url":"https://api.github.com/users/jhacsonmeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhacsonmeza/subscriptions","organizations_url":"https://api.github.com/users/jhacsonmeza/orgs","repos_url":"https://api.github.com/users/jhacsonmeza/repos","events_url":"https://api.github.com/users/jhacsonmeza/events{/privacy}","received_events_url":"https://api.github.com/users/jhacsonmeza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-30T17:47:41Z","updated_at":"2018-10-30T19:28:29Z","closed_at":null,"author_association":"NONE","body":"I have a point cloud from a neighborhood in LAS format and I need to generate a DTM (removing houses and trees). Yesterday I found PDAL and with the following pipepeline\r\n\r\n```\r\n{\r\n  \"pipeline\":[\r\n    {\r\n      \"type\":\"filters.assign\",\r\n      \"assignment\":\"Classification[:]=0\"\r\n    },\r\n    {\r\n      \"type\":\"filters.elm\"\r\n    },\r\n    {\r\n      \"type\":\"filters.outlier\"\r\n    },\r\n    {\r\n      \"type\":\"filters.smrf\",\r\n      \"last\":true,\r\n      \"ignore\":\"Classification[7:7]\",\r\n      \"slope\":0.05,\r\n      \"window\":16,\r\n      \"threshold\":0.45,\r\n      \"scalar\":1.2\r\n    },\r\n    {\r\n      \"type\":\"filters.range\",\r\n      \"limits\":\"Classification[2:2]\"\r\n    }\r\n  ]\r\n}\r\n```\r\n\r\nthat I executed with OSGeo4W Sheel, I got this\r\n\r\n![results](https://user-images.githubusercontent.com/29784391/47730548-68d30180-dc30-11e8-8998-bc57aa33e2ef.png)\r\n\r\nThen, I used this pipeline\r\n\r\n```\r\n{\r\n    \"pipeline\": [\r\n        \"op3.las\",\r\n        {\r\n            \"filename\":\"dtm1.tif\",\r\n            \"gdaldriver\":\"GTiff\",\r\n            \"output_type\":\"all\",\r\n            \"resolution\":\"0.5\",\r\n            \"type\": \"writers.gdal\"\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\nbased on this [exercise](https://pdal.io/workshop/exercises/analysis/dtm/dtm.html) to generate a DTM, but the gaps are not filled. \r\n\r\n![hillshade](https://user-images.githubusercontent.com/29784391/47738268-cd965800-dc40-11e8-8b8e-5e455e65f7dc.png)\r\n\r\nIs there a way to fill gaps with PDAL for generating a DTM?"},"comment":{"url":"https://api.github.com/repos/PDAL/PDAL/issues/comments/434437644","html_url":"https://github.com/PDAL/PDAL/issues/2258#issuecomment-434437644","issue_url":"https://api.github.com/repos/PDAL/PDAL/issues/2258","id":434437644,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDQzNzY0NA==","user":{"login":"chambbj","id":717558,"node_id":"MDQ6VXNlcjcxNzU1OA==","avatar_url":"https://avatars1.githubusercontent.com/u/717558?v=4","gravatar_id":"","url":"https://api.github.com/users/chambbj","html_url":"https://github.com/chambbj","followers_url":"https://api.github.com/users/chambbj/followers","following_url":"https://api.github.com/users/chambbj/following{/other_user}","gists_url":"https://api.github.com/users/chambbj/gists{/gist_id}","starred_url":"https://api.github.com/users/chambbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chambbj/subscriptions","organizations_url":"https://api.github.com/users/chambbj/orgs","repos_url":"https://api.github.com/users/chambbj/repos","events_url":"https://api.github.com/users/chambbj/events{/privacy}","received_events_url":"https://api.github.com/users/chambbj/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T19:28:29Z","updated_at":"2018-10-30T19:28:29Z","author_association":"MEMBER","body":"If you want the DSM, you need to remove the range filter in your first\npipeline, as Andrew has suggested.\n\nOn Tue, Oct 30, 2018 at 3:23 PM Jhacson Meza <notifications@github.com>\nwrote:\n\n> When I say fill gaps I'm talking about doing something like this\n>\n> [image: dtm-dsm]\n> <https://user-images.githubusercontent.com/29784391/47743022-ff60ec00-dc4b-11e8-84c4-23248c8c205c.png>\n>\n> Where houses and trees are removed. I do not know if the way I did it is\n> the right one. The idea is to generate a DTM based on the LAS file where\n> there are houses and trees (DSM).\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/PDAL/PDAL/issues/2258#issuecomment-434434331>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AAry9lte67Zq1VceuAEXXKUbRxKaULFHks5uqKc9gaJpZM4YCgTn>\n> .\n>\n"}}
{"actor":{"display_login":"chambbj"}}