[pdal] reader plugin for Leica PTX

Daniel Brookes dbrookes at micromine.com
Thu Mar 17 01:38:00 PDT 2022


Hi all.

Curious if there is any interest in supporting Leica PTX files in pdal. See more about the format here: http://paulbourke.net/dataformats/ptx/ . It’s a plain text format with one or more header:

number of columns
number of rows
st1 st2 st3 ; scanner registered position
sx1 sx2 sx3 ; scanner registered axis 'X'
sy1 sy2 sy3 ; scanner registered axis 'Y'
sz1 sz2 sz3 ; scanner registered axis 'Z'
r11 r12 r13 0 ; transformation matrix
r21 r22 r23 0 ; this is a simple rotation and translation 4x4 matrix
r31 r32 r33 0 ; just apply to each point to get the transformed coordinate
tr1 tr2 tr3 1 ; use double-precision variables

followed by X, Y, Z and optional Intensity, R, G and B data. Similar to PTS.

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.

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 😉

Daniel Brookes | Software Developer

Micromine Pty Ltd
e: dbrookes at micromine.com<mailto:dbrookes at micromine.com>

[cid:image001.gif at 01D83A1C.90F06AC0]<https://www.micromine.com/>


198ncd285k [Micromine PL] <https://www.micromine.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20220317/feb1af9f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 141960 bytes
Desc: image001.gif
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20220317/feb1af9f/attachment-0001.gif>


More information about the pdal mailing list