GithubHelp home page GithubHelp logo

e57's Introduction

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

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 that were created by this library and are not correctly read by this library 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.

Motivation

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 oppinion Rust is an excellent choice for parsers of untrusted data, especially if you plan to use the code in something like a cloud backend.

When 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.

e57's People

Contributors

cry-inc avatar theologp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.