Skip to content

andygarfield/las

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

las

A go library for reading LAS lidar files

Currently only supporting LAS version 1.1, but soon to include all versions (and hopefully a LAS writer).

Usage

Open a LAS file and read the contents

package main

import (
        "fmt"

        "github.com/andygarfield/las"
)

func main() {
        l, _ := las.OpenFile("./example.las")

        for i := 0; i < 300; i++ {
                p := l.ReadPoint()

                fmt.Printf("%f %f %f\n", p.X, p.Y, p.Z)
        }
}

About

LAS file reader for go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages