<div dir="ltr">Since I got it all working - I thought I would feed it back.<div><br></div><div>First point - the "unity Package" I referred to relates to Unity - the VR development environment. This is scripted in C# - thus the need to use that language. The Project is a 'GIS in VR' platform - <a href="http://www.virgis.org">www.virgis.org</a>.<br><br>Use of PDAL in C# and Unity comes in two parts:</div><div><br></div><div>1) A C API for PDAL. This is provided by <a href="https://github.com/PDAL/CAPI">PDAL/CAPI</a> and compiles to pdalc.dll. The error I reported before was caused by this library - but recompiling capi against PDAL 2.1.0 worked fine and sorted the problem out. I don't think this code counts as official or even actively maintained but it does work well.</div><div><br></div><div>2) C# PINVOKE scripts for the C API. The repo <a href="https://github.com/Simverge/pdal-unity">PDAL-UNITY</a> is intended only a technology demonstration but actually provides a very complete set of scripts - see this <a href="https://github.com/Simverge/pdal-unity/blob/master/Assets/pdal/Scripts/Pipeline.cs">source</a> for an example. </div><div><br></div><div>Using this setup, I can, in C#, programmatically create pipelines, execute those pipelines and get the result back as a pointview.<br><br>I can also (Specific to Unity) bake the PointView into a Texture which I then pass to a VFX (a form of GPU shader) to visualise the Point Cloud.<br><br>You can see all of this happening in <a href="https://github.com/ViRGIS-Team/ViRGIS/blob/version_2/Assets/Scripts/Layers/PointCloudLayer.cs">this source.</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 22 Jun 2020 at 14:45, Paul Harwood <<a href="mailto:runette@gmail.com">runette@gmail.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 dir="auto">Thanks for the info. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 22 Jun 2020, 14:19 Howard Butler, <<a href="mailto:howard@hobu.co" target="_blank">howard@hobu.co</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"><br>
<br>
> On Jun 20, 2020, at 8:21 AM, Paul Harwood <<a href="mailto:runette@gmail.com" rel="noreferrer" target="_blank">runette@gmail.com</a>> wrote:<br>
> <br>
> Does anyone know of any up to date bindings for integrating PDAL into c#?<br>
> <br>
> I did a search, and there appeared to be some conversations about 9 years ago.<br>
<br>
Yes, as far as I remember, there was just some chatter about .NET bindings, but no organized development.<br>
<br>
> There is also a unity package pdal-unity that works successfully - but only for PDAL v1.7 and GDAL 2.0.3. It fails on PDAL 2.1. I cannot find anything else.<br>
<br>
I don't know what a unity package is, but nothing significant has architecturally changed for PDAL between 1.7 and 2.1. GDAL has changed its coordinate system handling significantly since 2.0 => 3.0/3.1, however.<br>
<br>
<br>
Howard</blockquote></div>
</blockquote></div>