Giter Site home page Giter Site logo

laszip4j's Introduction

laszip4j

Maven Central Quality Gate Status Build Status Build Status Build Status

The LASzip library ported to Java

This is a Java port of the LASzip and LAStools libraries by Martin Isenburg.

The port to Java is not complete. Many classes are stubs only and have not been ported. The main driver was to have a Java implementation of the laszip utility and be able to unpack LAZ files for Canton of Zurich in Switzerland, which works fine.

Usage is the same as with the native laszip utility, but invoked as a runnable jar:

java -jar laszip4j-0.13.jar -oparse xyzc -keep_class 3 4 5 6 10 -i 7015_2640.laz -o 7015_2640.xyzk

On top of LASzip and LAStools this library also provides convenience classes for reading LAS points. You can read LAS points in your code like this:

    LASReader reader = new LASReader(new File("data.laz"));
    for (LASPoint p : reader.getPoints()) {
        // read something from point
        p.getClassification();
    }

See also LASReaderTest on how to use the LASReader class.

As of version 0.13, laszip4j also supports writing las files. In the simplest case the executable jar file can be used to read compressed data from a laz file and write it to a corresponding las file.

java -jar laszip4j-0.13.jar -i 7015_2640.laz -o 7015_2640.las

"Buy Me A Coffee"

laszip4j's People

Contributors

mreutegg avatar dependabot[bot] avatar jason-daly avatar claudiastallone avatar azure-pipelines[bot] avatar frater1998 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.