#point-cloud #lidar #geospatial #data-points #scanner #read-write #laserscanning


A pure Rust library for reading and writing E57 files with point clouds and related image data

22 releases (10 breaking)

new 0.11.0 Apr 11, 2024
0.10.5 Mar 18, 2024
0.10.4 Feb 22, 2024
0.10.3 Dec 6, 2023
0.4.0 Mar 26, 2023

#227 in Geospatial

Download history 48/week @ 2024-01-05 45/week @ 2024-01-12 1/week @ 2024-02-02 34/week @ 2024-02-09 135/week @ 2024-02-16 200/week @ 2024-02-23 95/week @ 2024-03-01 111/week @ 2024-03-08 159/week @ 2024-03-15 62/week @ 2024-03-22 92/week @ 2024-03-29 104/week @ 2024-04-05

448 downloads per month
Used in e57-to-las

MIT license


E57 Rust Library

Build Status Crates.io Documentation No Unsafe License: MIT Dependencies

A pure Rust library for reading and writing E57 files. No unsafe code, no bloaty dependencies.

Check out the tools folder for some code examples that show how to use the library.

E57 File Format

The E57 file format is used for storing point clouds and related image data. Its a neutral file format not tied to any specific vendor or device type and therefore often used as exchange format between different applications and organizations. Typically its used for data generated by terrestrial and handheld laser scanners. It can also handle data generated by airborn laser scanners, but for that use case the LAS/LAZ file format is more commonly used.

Known Limitations

  • Does not support Point Grouping
  • Does not support Index Packets
  • Does not support point attributes of type String

Please report incompatible files!

If you found an E57 file that can be read with other software but produces an error with this crate, please let me know and create an issue on Github. The same applies for E57 files that were created by this library and are not correctly read by this or any other software. I want this library to work with as many files and applications as possible!

Ideally, you can provide a link to the file itself. If that is not possible, please include the full error message and the name of the software that produced the file. If possible, please also include the XML section of the file.


The E57 file format is well established for exchanging data produced by terrestrial lasers scanners. However, there are not many implementations that can read and write this file format. Most applications use the original C++ reference implementation (see http://www.libe57.org/) or the well maintained fork from Andy Maloney (see https://github.com/asmaloney/libE57Format).

I thought it would be nice to have a pure Rust solution without any unsafe code. In my opinion Rust is an excellent choice for parsers of untrusted data, especially if you plan to use the code in something like a cloud backend.

If you want to handle E57 files inside a Rust project this crate will also avoid all the issues that come with integrating C++ code.

Code Coverage

The Visual Studio Code tasks included in this repository contain some tasks for code coverage measurement. To be able to run them, you need to install grcov with the command cargo install grcov and the LLVM tools by running rustup component add llvm-tools.