Reading Laz Files

48 views
Skip to first unread message

Ke Salah

unread,
Jun 2, 2020, 9:48:19 PM6/2/20
to The LAS room - a friendly place to discuss the LAS and LAZ formats

Hi there

any one can help me to solve this :

1- how i can read the number of row and column of laz file;
2- how i can read data from laz line by line.
(im using LazZIp.net with c#)


thanks for any help

Kirk Waters - NOAA Federal

unread,
Jun 3, 2020, 6:54:34 AM6/3/20
to The LAS room - a friendly place to discuss specifications of the LAS format
I think you may have a fundamental misunderstanding about the data type typically stored in an LAZ file. It's a point cloud, not a raster. It doesn't have rows and columns. There are no lines to read, only points. There are ways to store a raster as a point cloud, but reducing a point cloud to a raster is always a simplification of information.

Kirk


--
--
You are subscribed to "The LAS room - a friendly place to discuss the the LAS or LAZ formats" for those who want to see LAS or LAZ succeed as open standards. Go on record with bug reports, suggestions, and concerns about current and proposed specifications.
 
Visit this group at http://groups.google.com/group/lasroom
Post to this group with an email to las...@googlegroups.com
Unsubscribe by email to lasroom+u...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "The LAS room - a friendly place to discuss the LAS and LAZ formats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lasroom+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lasroom/3151b324-c2de-4ebe-bd2c-01fba08aea9b%40googlegroups.com.

Ke Salah

unread,
Jun 3, 2020, 7:38:56 AM6/3/20
to The LAS room - a friendly place to discuss the LAS and LAZ formats
Hi thanks for the answer

I know that Laz files are storing points as cloud of points. But what i want to do is creating cloud points based on x,y,z on 3D space and save that information in double[x,y,z] array.
Im actualy abel to read points x,y,z data but
im not understanig how to order points to be stored in my array!
Im using LasZip.net with C#.

adam steer

unread,
Jun 3, 2020, 8:17:51 AM6/3/20
to las...@googlegroups.com
Hi Ke Salah

That might be a question for a .net or C# forum - I hope someone here understands C# and can help! If not, your question seems to be:

"I can read xyz triplets from a binary file in C#, how do I organise them into an array?" 

In Python space, the array would be shaped like [number of points, number of dimensions], eg [1000, 3] if you had 1000 points with only X Y Z . They'd be sorted/ordered in the order they are read from the LAS file, usually by time.

Is that getting close to what you need?

Cheers

Adam

--
--
You are subscribed to "The LAS room - a friendly place to discuss the the LAS or LAZ formats" for those who want to see LAS or LAZ succeed as open standards. Go on record with bug reports, suggestions, and concerns about current and proposed specifications.

Visit this group at http://groups.google.com/group/lasroom
Post to this group with an email to las...@googlegroups.com
Unsubscribe by email to lasroom+u...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "The LAS room - a friendly place to discuss the LAS and LAZ formats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lasroom+u...@googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages