verma / plasio

Drag-n-drop In-browser LAS/LAZ point cloud viewer. http://plas.io
http://plas.io
MIT License
508 stars 131 forks source link

does not support files merged by lastools "lasmerge" #66

Open kurtjcu opened 5 years ago

kurtjcu commented 5 years ago

does not support files merged by lastools "lasmerge"

abellgithub commented 5 years ago

Please provide a sample or more detail about the problem you're seeing.

maphew commented 4 years ago

I came to report the same problem, but in building a reproduceable-for-someone-else test suite discovered that after thinning the source LAS files the problem went away. For my data at least, it looks like somewhere between a few MB and 850mb plas.io stops being able to load the file.

Original problem:

pdal merge pt000001.las pt000002.las ... -o thisplace_raw.laz

38 source files totalling 5.97 GB, yields 851 MB .laz file. Fed to plas.io this file generates "Error: failed to load file".

No longer a problem:

for %a in (pt*.las) do pdal translate %a -o %~na.laz --filters.sample.radius=10 ^
pdal merge pt000001.laz pt000002.laz ... -o issue-066.laz

Merged file is just 3.7 MB and plas.io has no problem with it. I'm stepping through smaller sample sizes to see if I can find the fail point but it's taking a long time.

I'm using pdal 2.0.1 (git-version: Release) installed with Miniconda on Win10 x64.

mhw-at-yg commented 4 years ago

whups, just noticed OP is for lastools not pdal. Should I move my stuff to a new issue?