Skip to content

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 namee57
Extensions.e57
Read / Write✓ / ✓ (optional)
Extra dependencieslibE57Format (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 vertex cell block per data3D scan with each scan's rigid pose applied by default (apply_pose=True, E57ReadOptions::mApplyPose in C++). Pass scan=k (E57ReadOptions::mScan) to read a single scan.
  • Attaches intensity (float64) and red, green, blue (uint16) point data when present in the scan, and records the file's total scan count in field_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.

Released under the MIT License.