[pdal] PDAL 1.8.0: filters.smrf: No returns to process.
Robert Dzur
rdzur at bhinc.com
Sat Jan 19 12:03:38 PST 2019
Thanks Andrew and Brad,
The point cloud dimension NumberOfReturns was 0 so I was able to get filters.smrf running under 1.8.0 now by setting the NumberOfReturns in the json file to 1.
{
"type":"filters.assign",
"assignment" : "NumberOfReturns[0:0]=1"
},
Thanks for pointing me to the issue on this topic.
Take care.
Rob
--
________________________________
From: Andrew Bell <andrew.bell.ia at gmail.com>
Sent: Saturday, January 19, 2019 11:56:06 AM
To: Robert Dzur
Cc: pdal at lists.osgeo.org
Subject: Re: [pdal] PDAL 1.8.0: filters.smrf: No returns to process.
I suspect you've encountered a bug that was fixed after version 1.8 was released:
https://github.com/PDAL/PDAL/issues/2275
If this looks like your issue, you'll have to build from source or use one of our docker builds. The only other thing I can think of is that changes were made to the options for the smrf filter between version 1.7 and 1.8. You should review the documentation to be sure that you're using the options for the 1.8 version of the filter.
Best,
On Sat, Jan 19, 2019 at 11:16 AM Robert Dzur <rdzur at bhinc.com<mailto:rdzur at bhinc.com>> wrote:
Hi List,
I've be running into some trouble getting filters.smrf to run on a LAS file on pdal 1.8.0 (OS X brew install).
Running the following command:
pdal pipeline denoise_classify_sample9_1ft.json \
--readers.las.filename=Day_5/TrackZ_S_20181014_183948_Profiler.zfs_7.las \
--writers.las.filename=ALL_LAS/Day_5/TrackZ_S_20181014_183948_Profiler.zfs_7_smrf_9.las
fails to write a point cloud and reports the following:
PDAL: filters.smrf: No returns to process.
I have run this same command on another machine that has pdal 1.7.2 (OS X brew install) which successfully completes and writes the resulting point cloud as expected.
I'm wondering if anyone may have any pointers regarding how I might get filters.smrf to run in 1.8.0. on these data. Incidentally, I have been able to successfully apply the same json file to airborne las data in 1.8.0. I'm somewhat confused about what might be the issue with the point cloud file in 1.8 where it fails versus 1.7.2 where the file processes correctly.
Contents of the json file follow:
{
"pipeline": [
{
"type" : "readers.las",
"filename" : "file.las"
},
{
"type":"filters.assign",
"assignment" : "Classification[0:20]=0"
},
{
"type": "filters.outlier",
"method": "statistical",
"multiplier":4,
"mean_k": 12
},
{
"type":"filters.smrf",
"cell":1.00,
"scalar":0.0,
"slope":0.06,
"threshold":1.05,
"window":49.0,
"cut":0.0
},
{
"type": "writers.las",
"compression": "false",
"a_srs": "EPSG:6531+6360",
"minor_version": "2",
"forward": "all",
"filename":"outfile.las"
}
]
}
Thanks for any assistance in this matter.
Best
--
Rob Dzur
rdzur at bhinc.com<mailto:rdzur at bhinc.com>
_______________________________________________
pdal mailing list
pdal at lists.osgeo.org<mailto:pdal at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/pdal
--
Andrew Bell
andrew.bell.ia at gmail.com<mailto:andrew.bell.ia at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20190119/a36afb88/attachment.html>
More information about the pdal
mailing list