[pdal] filters.smrf question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[pdal] filters.smrf question

Greif, Jeremiah
I'm fairly new to pdal but i'm trying to write a pipeline to utilize the filters.smrf in order to classify ground as well as keep unclassified points or better yet keep the points not reclassified in their original classifications.  The pipeline i found creates a beautifully dense ground surface but there must be a way to keep other classifications that weren't determined to be ground right?  The majority of the points i'm trying to "search" to determine if they are ground are in the unclassified class (7) so i can't use the ignore function right?

the pipeline is used is:

 {
  "pipeline":[
    "528000_5392000_1000.las",
    {
      "type":"filters.smrf"
    },
    {
      "type":"filters.range",
      "limits":"Classification[2:2]"
    },
    "output.las"
  ]
}


Any help would be greatly appreciated.

Thanks,


--
Jeremiah Greif
Geographer
USGS - NGTOC
(303) 202-4510

_______________________________________________
pdal mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/pdal
Reply | Threaded
Open this post in threaded view
|

Re: [pdal] filters.smrf question

andrew.bell.ia@gmail.com

If you want to keep the non-ground points, just remove the range filter.

On Wed, Mar 7, 2018 at 4:27 PM, Greif, Jeremiah <[hidden email]> wrote:
I'm fairly new to pdal but i'm trying to write a pipeline to utilize the filters.smrf in order to classify ground as well as keep unclassified points or better yet keep the points not reclassified in their original classifications.  The pipeline i found creates a beautifully dense ground surface but there must be a way to keep other classifications that weren't determined to be ground right?  The majority of the points i'm trying to "search" to determine if they are ground are in the unclassified class (7) so i can't use the ignore function right?

the pipeline is used is:

 {
  "pipeline":[
    "528000_5392000_1000.las",
    {
      "type":"filters.smrf"
    },
    {
      "type":"filters.range",
      "limits":"Classification[2:2]"
    },
    "output.las"
  ]
}


Any help would be greatly appreciated.

Thanks,


--
Jeremiah Greif
Geographer
USGS - NGTOC
<a href="tel:(303)%20202-4510" value="+13032024510" target="_blank">(303) 202-4510

_______________________________________________
pdal mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/pdal



--
Andrew Bell
[hidden email]

_______________________________________________
pdal mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/pdal
Reply | Threaded
Open this post in threaded view
|

Re: [pdal] filters.smrf question

andrew.bell.ia@gmail.com
In reply to this post by Greif, Jeremiah
If you want to keep the original classifications as well as the smrf'd ones, you can copy them to another dimension before running smrf:

{
  "pipeline":[
    "528000_5392000_1000.las",
    {
      "type":"filters.ferry",
      "dimensions":"Classification=OldClassification"
    },
    {
      "type":"filters.smrf"
    },
    {
      "type":"filters.range",
      "limits":"Classification[2:2]"
    },
    "output.las"
  ]
}


Note, that there is no standard place in a LAS file for "OldClassification", so you'll have to add it as extra bytes or use some other output format.

On Wed, Mar 7, 2018 at 4:27 PM, Greif, Jeremiah <[hidden email]> wrote:
I'm fairly new to pdal but i'm trying to write a pipeline to utilize the filters.smrf in order to classify ground as well as keep unclassified points or better yet keep the points not reclassified in their original classifications.  The pipeline i found creates a beautifully dense ground surface but there must be a way to keep other classifications that weren't determined to be ground right?  The majority of the points i'm trying to "search" to determine if they are ground are in the unclassified class (7) so i can't use the ignore function right?

the pipeline is used is:

 {
  "pipeline":[
    "528000_5392000_1000.las",
    {
      "type":"filters.smrf"
    },
    {
      "type":"filters.range",
      "limits":"Classification[2:2]"
    },
    "output.las"
  ]
}


Any help would be greatly appreciated.

Thanks,


--
Jeremiah Greif
Geographer
USGS - NGTOC
<a href="tel:(303)%20202-4510" value="+13032024510" target="_blank">(303) 202-4510

_______________________________________________
pdal mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/pdal



--
Andrew Bell
[hidden email]

_______________________________________________
pdal mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/pdal