<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi all.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Curious if there is any interest in supporting Leica PTX files in pdal. See more about the format here:
<a href="http://paulbourke.net/dataformats/ptx/">http://paulbourke.net/dataformats/ptx/</a> . It’s a plain text format with one or more header:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">number of columns<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">number of rows
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">st1 st2 st3 ; scanner registered position
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">sx1 sx2 sx3 ; scanner registered axis 'X'
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">sy1 sy2 sy3 ; scanner registered axis 'Y'
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">sz1 sz2 sz3 ; scanner registered axis 'Z'
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">r11 r12 r13 0 ; transformation matrix
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">r21 r22 r23 0 ; this is a simple rotation and translation 4x4 matrix
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">r31 r32 r33 0 ; just apply to each point to get the transformed coordinate
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">tr1 tr2 tr3 1 ; use double-precision variables
<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">followed by X, Y, Z and optional Intensity, R, G and B data. Similar to PTS.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m pretty sure this is an old out of fashion format, not sure many people would get use out of it. But since there is a PTS reader already I thought I’d maybe ask around.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We had a request to support it in our application and I rolled my own simple PTX reader plugin. I would give it some minor code clean ups first, but I’m happy to pull request it. I don’t have a writer though unfortunately
<span style="font-family:"Segoe UI Emoji",sans-serif">😉</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-GB" style="font-family:"Arial",sans-serif;color:#372D68;mso-fareast-language:EN-AU">Daniel Brookes | Software Developer<o:p></o:p></span></b></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-GB" style="font-family:"Arial",sans-serif;color:#372D68;mso-fareast-language:EN-AU"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-GB" style="font-family:"Arial",sans-serif;color:#372D68;mso-fareast-language:EN-AU">Micromine Pty Ltd</span></b><span style="font-family:"Arial",sans-serif;color:#372D68;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-GB" style="font-family:"Arial",sans-serif;color:#372D68;mso-fareast-language:EN-AU">e</span></b><span lang="EN-GB" style="font-family:"Arial",sans-serif;color:#372D68;mso-fareast-language:EN-AU">: </span><span style="font-family:"Arial",sans-serif;color:black;mso-fareast-language:EN-AU"><a href="mailto:dbrookes@micromine.com"><span style="color:#0563C1">dbrookes@micromine.com</span></a></span><u><span style="font-family:"Arial",sans-serif;color:#372D68;mso-fareast-language:EN-AU"><o:p></o:p></span></u></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://www.micromine.com/"><span style="font-family:"Arial",sans-serif;color:#0563C1;text-decoration:none"><img border="0" width="623" height="161" style="width:6.4895in;height:1.677in" id="Picture_x0020_1" src="cid:image001.gif@01D83A1C.90F06AC0"></span></a><span style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<title>Micromine</title>
<p><font color="white">198ncd285k</font> <a href="https://www.micromine.com"><img border="0" alt="Micromine PL" src="http://extras.micromine.com.au/images/disclaimers/CORP_EmailSig_MICROMINE_Nov21.gif" width="641" height="77" align="left"></a></p>
</body>
</html>