<div dir="ltr"><div>Hello Sion, </div><div>I was in Wales last month, I'd love to see some of the LiDAR! It's a beautiful country. </div><div><br></div><div>To serve COPC local and/or remote (web server and cloud) I first downloaded and built potree according to the docs - see Getting Started at <a href="https://github.com/potree/potree">https://github.com/potree/potree</a></div><div>As per the docs I just upload the Potree folder with all point clouds, the build directory, and your html files to a web server. You can optimize things by deleting a lot of content from the potree directory such as demo point clouds, shape files, example html, etc... I don't serve point clouds from the web server filesystem as the storage is cheaper in a cloud bucket.</div><div><br></div><div>There is a copc.html example which you can use - just read through the source and adapt for either a local path or an http URL. I put my copc files in a google cloud bucket and then open the bucket up for CORS and HTTP. </div><div>If you just want to try serving from the filesystem you could modify line 57: var path = "../pointclouds/lion_takanawa.copc.laz"; and drop your copc file into the folder. </div><div><br></div><div>Here's an example of one of my copc files - this is a large area (15,000+ acres) but it's only the ground points. <a href="https://mappalachian.info/potree/viewer/copc2.html?r=https://storage.googleapis.com/mappalachian-entwine/lickstone/Lickstone_Surface_MergedSlope.copc.laz">https://mappalachian.info/potree/viewer/copc2.html?r=https://storage.googleapis.com/mappalachian-entwine/lickstone/Lickstone_Surface_MergedSlope.copc.laz</a>. It's 2.5GB. You can check the source of copc2.html to see what changes I made. I will say that for very large copc files you can really hurt a browser... (uses lots of memory) This example is about 250MB and it's much more responsive. <a href="https://mappalachian.info/potree/viewer/copc2.html?r=https://storage.googleapis.com/mappalachian-entwine/lickstone/NEPA_Unit_11_HAGDEM_EPSG3857.copc.laz">https://mappalachian.info/potree/viewer/copc2.html?r=https://storage.googleapis.com/mappalachian-entwine/lickstone/NEPA_Unit_11_HAGDEM_EPSG3857.copc.laz</a></div><div><br></div><div>regards,</div><div>Nick</div><div dir="ltr"><br></div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 16, 2024 at 3:19 PM <<a href="mailto:pdal-request@lists.osgeo.org">pdal-request@lists.osgeo.org</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">Send pdal mailing list submissions to<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:pdal-request@lists.osgeo.org" target="_blank">pdal-request@lists.osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:pdal-owner@lists.osgeo.org" target="_blank">pdal-owner@lists.osgeo.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of pdal digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. serving Entwine Point Cloud (Sion Williams)<br>
2. Re: filters.python not available after install pdal and<br>
pdal-plugins (Howard Butler)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 16 Aug 2024 10:46:10 +0100<br>
From: Sion Williams <<a href="mailto:sionwill@googlemail.com" target="_blank">sionwill@googlemail.com</a>><br>
To: <a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
Subject: [pdal] serving Entwine Point Cloud<br>
Message-ID:<br>
<<a href="mailto:CAJW_ZYWuibAO_2rnzuid9q_sXw0gH48PWbEoNS4H172qfh4X0Q@mail.gmail.com" target="_blank">CAJW_ZYWuibAO_2rnzuid9q_sXw0gH48PWbEoNS4H172qfh4X0Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi everyone,<br>
<br>
I?ve created a Virtual Point Cloud(VPC) of Wales using PDAL and related<br>
tools, consisting of 27,000 tiles, each covering 1 km?. I?ve successfully<br>
generated some large Entwine Point Cloud (EPT) files from this data, which<br>
I can view through QGIS.<br>
<br>
However, I?d like to explore the dataset using COPC Viewer and possibly<br>
Potree, but I?m having trouble serving the data on a local server. My goal<br>
is to host it locally to showcase just how impressive the dataset is.<br>
<br>
I haven't got the grasp of servers and networks before, I?ve tried<br>
following various guides and using ChatGPT, but I think I might be missing<br>
something simple as everything else has been relatively straightforward.<br>
I?d prefer not to use a cloud service due to cost and bandwidth constraints.<br>
<br>
Does anyone have suggestions on how to easily serve the data locally? I<br>
have access to both a Windows Docker environment and a Linux Mint OS.<br>
<br>
Thanks in advance!<br>
<br>
Cheers,<br>
Sion<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/pdal/attachments/20240816/ab9159a1/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/pdal/attachments/20240816/ab9159a1/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 16 Aug 2024 13:44:06 -0500<br>
From: Howard Butler <<a href="mailto:howard@hobu.co" target="_blank">howard@hobu.co</a>><br>
To: Dom Jaskierniak <<a href="mailto:dom.jaskierniak@environment.nsw.gov.au" target="_blank">dom.jaskierniak@environment.nsw.gov.au</a>><br>
Cc: "<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a>" <<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a>><br>
Subject: Re: [pdal] filters.python not available after install pdal<br>
and pdal-plugins<br>
Message-ID: <<a href="mailto:82E73916-4DCF-40E4-B753-480A772E91C8@hobu.co" target="_blank">82E73916-4DCF-40E4-B753-480A772E91C8@hobu.co</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I confirmed this is an issue.<br>
<br>
The story is with how conda-forge registers where the plugin path. There has been some back and forth about how we should do that.<br>
<br>
Here's one way you might be able to get it going:<br>
<br>
print where your plugins live<br>
> python -m pdal --pdal-plugin-path<br>
<br>
set PDAL_DRIVER_PATH="result from above"<br>
<br>
Another alternative might be something like this to keep the previous value of PDAL_DRIVER_PATH<br>
<br>
> python -m pdal --pdal-plugin-path > pdal-plugin-path<br>
> set /p PDAL_PLUGIN_PATH= < pdal-plugin-path<br>
> DEL pdal-plugin-path<br>
<br>
I'm tracking this issue at <a href="https://github.com/conda-forge/python-pdal-feedstock/issues/124" rel="noreferrer" target="_blank">https://github.com/conda-forge/python-pdal-feedstock/issues/124</a><br>
<br>
Howard<br>
<br>
<br>
> On Aug 16, 2024, at 12:37?AM, Dom Jaskierniak via pdal <<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a>> wrote:<br>
> <br>
> Hi,? <><br>
> <br>
> Although I have the below two packages in my venv:<br>
> <br>
> python-pdal 3.4.5 py312h61d12cd_4 conda-forge<br>
> pdal-plugins 1.5.2 pypi_0 pypi<br>
> <br>
> I cant seem to find:<br>
> <br>
> libpdal_plugin_filter_python.dll<br>
> <br>
> in Library\lib and Library\bin of anaconda3\env. Using pdal --drivers confirms that I don't have filters.python which I would like to have to run a python function in a pipeline<br>
> {<br>
> "type": "filters.python",<br>
> "script": "WF_Desktop_YOLO_V5.ipynb", <br>
> "function": "filter_by_treeID_min_z",<br>
> }<br>
> <br>
> Does anyone know why I don?t seem to have access to this plugin?<br>
> <br>
> Thank you, <br>
> Dom <br>
> Dr Dom Jaskierniak<br>
> Senior Scientist (Remote Sensing and Landscape Sciences)<br>
> <br>
> Science, Economics and Insights Division| Department of Climate Change, Energy, the Environment and Water<br>
> M 0498 206 030 | E <a href="mailto:dom.jaskierniak@environment.nsw.gov.au" target="_blank">dom.jaskierniak@environment.nsw.gov.au</a> <mailto:<a href="mailto:dom.jaskierniak@environment.nsw.gov.au" target="_blank">dom.jaskierniak@environment.nsw.gov.au</a>><br>
> Level 3, 6 Stewart Avenue, Newcastle, NSW, 2302<br>
> <br>
> <a href="http://www.dpie.nsw.gov.au" rel="noreferrer" target="_blank">www.dpie.nsw.gov.au</a> <<a href="http://www.dpie.nsw.gov.au/" rel="noreferrer" target="_blank">http://www.dpie.nsw.gov.au/</a>><br>
> <<a href="http://www.dpie.nsw.gov.au/" rel="noreferrer" target="_blank">http://www.dpie.nsw.gov.au/</a>>?<br>
> The Department of Planning and Environment acknowledges that it stands on Aboriginal land. <br>
> We acknowledge the traditional custodians of the land and we show our respect for elders past, present<br>
> and emerging through thoughtful and collaborative approaches to our work, seeking to demonstrate our ongoing<br>
> commitment to providing places in which Aboriginal people are included socially, culturally and economically.<br>
> <br>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
> This email is intended for the addressee(s) named and may contain confidential and/or privileged information. <br>
> If you are not the intended recipient, please notify the sender and then delete it immediately.<br>
> Any views expressed in this email are those of the individual sender except where the sender expressly and with authority states them to be the views of the NSW Office of Environment, Energy and Science.<br>
> <br>
> PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL<br>
> <br>
> _______________________________________________<br>
> pdal mailing list<br>
> <a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a> <mailto:<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><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/pdal/attachments/20240816/75b49a73/attachment.htm" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/pdal/attachments/20240816/75b49a73/attachment.htm</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image001.png<br>
Type: image/png<br>
Size: 117661 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.osgeo.org/pipermail/pdal/attachments/20240816/75b49a73/attachment.png" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/pdal/attachments/20240816/75b49a73/attachment.png</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<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><br>
<br>
<br>
------------------------------<br>
<br>
End of pdal Digest, Vol 152, Issue 2<br>
************************************<br>
</blockquote></div></div>