E57 — ASTM E2807 terrestrial LiDAR point clouds (.e57)
The ASTM E2807 E57 format written by terrestrial laser scanners (roadmap 2.4.6.3). Native reading and writing are gated on libE57Format (-DMESHIOPLUSPLUS_WITH_E57=ON); the Python reference uses pye57 (pip install 'meshioplusplus[e57]').
| Format name | e57 |
| Extensions | .e57 |
| Read / Write | ✓ / ✓ (optional) |
| Extra dependencies | libE57Format (core) or pye57 (Python) |
Reading
python
import meshioplusplus
cloud = meshioplusplus.read("site.e57")
scan0 = meshioplusplus.e57.read("site.e57", scan=0)
local = meshioplusplus.e57.read("site.e57", scan=0, apply_pose=False)- Reads one
vertexcell block perdata3Dscan with each scan's rigid pose applied by default (apply_pose=True,E57ReadOptions::mApplyPosein C++). Passscan=k(E57ReadOptions::mScan) to read a single scan. - Attaches
intensity(float64) andred,green,blue(uint16) point data when present in the scan, and records the file's total scan count infield_data["e57:scan_count"]. Embedded 2-D images (images2D) are not read.
Writing
python
meshioplusplus.write("out.e57", cloud)Writes the mesh's points (plus optional intensity and red/green/blue point data) as a single data3D scan.