[pdal] Pdal writers.ept_addon question
Connor Manning
connor at hobu.co
Wed Dec 11 11:59:17 PST 2019
I'd have to see your reader pipeline to make sure, but make sure that after
you've created the addon with the EPT-addon-writer, that you use the
"addons" option of the EPT *reader* during subsequent reads to dynamically
map these addons into the dataset.
See the "addons" option of the EPT reader here:
https://pdal.io/stages/readers.ept.html
And also see the last example pipeline from the EPT addon writer here which
shows the usage of an addon:
https://pdal.io/stages/writers.ept_addon.html#writers-ept-addon
Note that when *reading* the addons with the EPT reader, the "addons"
option is reversed from the addon-writer option to map the existing addon
directory path into a dimension.
- Connor
On Wed, Dec 11, 2019 at 1:20 PM JR Hickey <jrhickey6 at gmail.com> wrote:
> Hi,
>
> I can’t seem to get pdal’s writers.ept_addon to add the Classification
> dimension to my existing ept data set.
>
> Let me explain my current workflow (I know it is not optimal, but we are
> working on it). 1) First a field team gathers Lidar data; then does a first
> pass to convert the Raw to las data. 2) Then the data is added to an ept
> structure. 3) Eventually (weeks or months after) another team will extract
> part of the data and do a manual classification. 4) Now I would like to add
> the classification information to the existing ept structure.
>
> I have looked at the examples online (pdal.writers.ept_addon and FOSS4G
> 2019 Bucharest slides) and still can’t seem to make it work.
>
> My pipeline is this as follows
>
> [{ “type”:”readers.ept”,
>
> “filename”:”~/entwine/existing_data/ept.json”
>
> },
>
> { “type”:”writers.ept_addon”,
>
> “addons”:{“~/entwine/Classified_data”: “Classification”}
>
> ]
>
> The process takes a little time and I get no error messages. But when I
> extract the dataset to laz, there is no classification information.
>
> Something of note, in the entwine ept-data of the Classified_data, for
> each x-x-x-x.laz file, there is a x-x-x-x.bin that was created. Is this
> normal, what is in the bin?
>
> Another bit of information, I have previously sorted (using GPStime) the
> data to ensure that the octrees contain the same points in the
> existing_data and Classified_data.
>
> Thanks for any help. I am really stumped on this one.
>
> JR
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20191211/f92030cb/attachment.html>
More information about the pdal
mailing list