<div dir="ltr">Rudy<div><br></div><div>You will actually find the answer in the data ingestion app that I sent you before.<br><br>the pipeline I used there looked something like:<br><br>[</div><div> <span style="">{</span></div> "type": "filters.transformation",<br> "matrix": "cos <span style="">-sin 0 0 sin cos 0 0 0 0 1 0 0 0 0 1"</span><div> },<br> {<br> "type": "filters.projpipeline",<br> "coord_op": "+proj=affine +xoff=xoff-value +yoff=yoff-value +zoff=zoff-value"<br> }</div><div>]</div><div><br></div><div>where you replace cos and sin with then cosine and sine of the relevant bearing angle and xoff-value etc with the 3857 coords off the origin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 30 Jul 2021 at 17:01, Rudy Stricklan <<a href="mailto:rudy.stricklan@mappingautomation.com" target="_blank">rudy.stricklan@mappingautomation.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="ltr">Andrew, that does indeed get me on the right path. I'll post a summary of my workflow when I have it working, if that is appropriate for this group.<div><br></div><div>Rudy Stricklan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 30, 2021 at 7:51 AM Andrew Bell <<a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@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="ltr">Hi Rudy,<div><br></div><div>You should look at <a href="https://pdal.io/stages/filters.transformation.html" target="_blank">https://pdal.io/stages/filters.transformation.html</a>. I think you'd usually do a translation to the origin you desire, followed by a rotation, followed by the inverse translation -- you can chain three transformation filters to do this.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 30, 2021 at 2:00 AM Rudy Stricklan <<a href="mailto:rudy.stricklan@mappingautomation.com" target="_blank">rudy.stricklan@mappingautomation.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="ltr">I realize this is probably a big ask, but any advice would be welcome. I have a .las dataset ('driveway.las') that was produced by a <a href="https://www.livoxtech.com/mid-40-and-mid-100" target="_blank">Livox solid-state LiDAR sensor</a>. The relevant portion of the lasinfo command:<div><br></div><font face="monospace">Header Summary<br></font><div><font face="monospace">--------------------------------------------------------- </font></div><div><font face="monospace"> Version: 1.2<br> Number of Point Records: 2049000<br> Compressed: False<br> Number of Points by Return: 0 0 0 0 0<br> Scale Factor X Y Z: 0.00100000000000 0.00100000000000 0.00100000000000<br> Offset X Y Z: 0.000 0.000 0.000<br> Min X Y Z: 0.000 -28410.000 -2096.000<br> Max X Y Z: 114446.000 15231.000 30371.000<br> Spatial Reference: None</font></div><div><div><br></div><div>The Livox sensor was pointing west, so what I'd like to do is rotate/offset the las 90 degrees clockwise around a 0,0,0 point of -12472675,3936612,1402 (EPSG:3857), and finally assign the EPSG:3857 coordinate reference system to the transformed las. Then as a final step, I want to convert the transformed las to an ept dataset.</div><div><br></div><div>Ideally, I'd like to be provided with the PDAL pipeline json that would do all this. Understanding that this is a downright lazy request, perhaps someone could outline the pipeline steps that would perform my transformation/conversion for me to start from.</div><div><br></div><div>Many thanks to any responders.</div><div><br></div><div>Rudy Stricklan</div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><img src="http://s3.amazonaws.com/Mapping_Automation/Marketing/Mail%20Sig%20Logo.png"><br><div><font face="tahoma, sans-serif" size="1">Rudy Stricklan, ME, RPLS, GISP</font></div><div><font face="tahoma, sans-serif" size="1">Mapping Automation, LLC</font></div><div><font face="tahoma, sans-serif" size="1">602.317.0130</font></div><div><a href="http://www.mappingautomation.com" target="_blank"><font face="tahoma, sans-serif" size="1">www.mappingautomation.com</font></a></div></div></div></div></div></div></div></div></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><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><img src="http://s3.amazonaws.com/Mapping_Automation/Marketing/Mail%20Sig%20Logo.png"><br><div><font face="tahoma, sans-serif" size="1">Rudy Stricklan, ME, RPLS, GISP</font></div><div><font face="tahoma, sans-serif" size="1">Mapping Automation, LLC</font></div><div><font face="tahoma, sans-serif" size="1">602.317.0130</font></div><div><a href="http://www.mappingautomation.com" target="_blank"><font face="tahoma, sans-serif" size="1">www.mappingautomation.com</font></a></div></div></div></div></div></div></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><br>
</blockquote></div>