<div dir="ltr">After some discussion, I've reopened this issue: <a href="https://github.com/PDAL/PDAL/issues/2714">https://github.com/PDAL/PDAL/issues/2714</a><br><br>If you have comments, please add them to the issue so they're all in one place.<div><br></div><div>Thanks,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 2, 2020 at 12:47 PM Ben Southall <<a href="mailto:ben.southall@sri.com">ben.southall@sri.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_-8611105355408364472WordSection1">
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m writing a PDAL Reader plugin for a custom file type. If I write it as a static plugin, I know I can specify file extensions in StaticPluginInfo to allow PDAL to figure out when to use the reader. But then I have to rebuild all of PDAL
 to use the reader. Is there some runtime option (or other configuration step, aside from recompilation) that would allow me to tell PDAL to use a custom reader for certain file types? I know that for a single-input application, one can use -r readers.my_custom_reader,
 if I’d like to be able to load my custom data to a pipeline with mixed input types, or into a kernel (such as pdal delta) that takes two inputs.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Let’s say I’ve got a .custom_ext dataset and .las dataset I’d like to run through pdal delta. It would appear that  I’m out of luck – if I use -r readers.my_custom_reader, then I think that my_custom_reader will be used for both inputs,
 so the .las dataset won’t load. If I allow for automatic selection of reader type, then clearly it fails for my .custom_ext file, since the code that infers reader from file extension doesn’t know about my dynamic reader.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">To get pdal delta working, I’m currently writing a version that overloads the dataset loading code so that I can check for .custom_ext before attempting the usual driver inference process. But it would be nice to be able to tell PDAL about
 my fancy custom reader without having to do this (or without having to recompile PDAL to include my reader statically).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Best,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Ben<u></u><u></u></p>
</div>
SRI email will be unavailable starting at 6 PM PDT, September 4, 2020. Email messages will be queued until email resumes on September 6, 2020.
</div>

_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>