Skip to content

Commit 8190c47

Browse files
committed
add support for other models
1 parent 28f8135 commit 8190c47

File tree

4 files changed

+68
-4
lines changed

4 files changed

+68
-4
lines changed

plugins/pdal/CMakeLists.txt

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,50 @@ f3d_plugin_init()
1515

1616
f3d_plugin_declare_reader(
1717
NAME LAS
18-
EXTENSIONS las
18+
EXTENSIONS las laz
1919
MIMETYPES application/vnd.las
2020
VTK_READER vtkPDALReader
21-
FORMAT_DESCRIPTION "LAS"
21+
FORMAT_DESCRIPTION "Lidar Data Exchange Format"
22+
)
23+
24+
f3d_plugin_declare_reader(
25+
NAME E57
26+
EXTENSIONS e57
27+
MIMETYPES model/e57
28+
VTK_READER vtkPDALReader
29+
FORMAT_DESCRIPTION "ASTM E57 3D Data Exchange"
30+
)
31+
32+
f3d_plugin_declare_reader(
33+
NAME PTS
34+
EXTENSIONS pts
35+
MIMETYPES application/vnd.pts
36+
VTK_READER vtkPDALReader
37+
FORMAT_DESCRIPTION "Laser scan plain data format"
38+
)
39+
40+
f3d_plugin_declare_reader(
41+
NAME PTX
42+
EXTENSIONS ptx
43+
MIMETYPES application/vnd.ptx
44+
VTK_READER vtkPDALReader
45+
FORMAT_DESCRIPTION "ptx plain text data format"
46+
)
47+
48+
f3d_plugin_declare_reader(
49+
NAME PCD
50+
EXTENSIONS pcd
51+
MIMETYPES application/vnd.pcd
52+
VTK_READER vtkPDALReader
53+
FORMAT_DESCRIPTION "point cloud data"
54+
)
55+
56+
f3d_plugin_declare_reader(
57+
NAME EPT
58+
EXTENSIONS json
59+
MIMETYPES application/vnd.ept
60+
VTK_READER vtkPDALReader
61+
FORMAT_DESCRIPTION "Entwine Point Tile"
2262
)
2363

2464
f3d_plugin_build(

plugins/pdal/configs/config.d/10_pdal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"match": ".*(las)",
3+
"match": ".*(e57|las|laz|pts|ptx|pcd|json)",
44
"options": {
55
"load-plugins": "pdal",
66
}

plugins/pdal/configs/thumbnail.d/10_pdal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"match": ".*(las)",
3+
"match": ".*(e57|las|laz|pts|ptx|pcd|json)",
44
"options": {
55
"load-plugins": "pdal",
66
}

plugins/pdal/f3d-pdal-formats.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,28 @@
44
<comment>LAS file</comment>
55
<glob pattern="*.las"/>
66
</mime-type>
7+
<mime-type type="application/vnd.laz">
8+
<comment>Compressed LAS file</comment>
9+
<glob pattern="*.laz"/>
10+
</mime-type>
11+
<mime-type type="model/e57">
12+
<comment>ASTM E57 3D Data Exchange</comment>
13+
<glob pattern="*.e57"/>
14+
</mime-type>
15+
<mime-type type="application/vnd.pts">
16+
<comment>Laser scan plain data format</comment>
17+
<glob pattern="*.pts"/>
18+
</mime-type>
19+
<mime-type type="application/vnd.ptx">
20+
<comment>ptx plain text data format</comment>
21+
<glob pattern="*.ptx"/>
22+
</mime-type>
23+
<mime-type type="application/vnd.pcd">
24+
<comment>point cloud data</comment>
25+
<glob pattern="*.pcd"/>
26+
</mime-type>
27+
<mime-type type="application/vnd.ept">
28+
<comment>Entwine Point Tile</comment>
29+
<glob pattern="*.json"/>
30+
</mime-type>
731
</mime-info>

0 commit comments

Comments
 (0)