verma / plasio

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

Add colored box extruded up to specified elevation #38

Closed msmitherdc closed 10 years ago

msmitherdc commented 10 years ago

Essentially this is adding a base elevation for displaying something like water surface (blue) or ground (brown) with a slider to adjust the height. Very useful in showing inundation scenarios (example http://rsgisias.crrel.usace.army.mil/pi/lst/sandbox/inundation-viewer/index5.html)

verma commented 10 years ago

Cool :), we actually did have something similar, only that I was using it for point picking, I will re-enable it as Inundation.

Does the Inundation amount mean anything? I mean, is it in reference to anything, or is it just how far it is from the lowest point in the point cloud?

msmitherdc commented 10 years ago

The inundation amount (depth) would be referenced to bare earth elevation, not necessarily the lowest point in the cloud.

verma commented 10 years ago

Got it, so in most LAS/LAZ files can I assume that Z value of a point is its bare earth elevation? I would need to this establish some coordinate system for the elevation I think.

msmitherdc commented 10 years ago

Not necessarily. Some point clouds are classified and have a specific ASPRS LAS code for bare earth but certainly not all. The coordinate system of the Z elevation should be part of the projection info (primarily meters or feet, occasionally survey feet).

Frankly, probably just having a slider that can adjust the value to +/- 100 units to the min/max Z should be good enough.

verma commented 10 years ago

Sounds good, thanks for all the information, will implement.

verma commented 10 years ago

Added in commit 6df6ddda306b3c3329d43461bfcce0f3cfd6781a, also pushed to plas.io. Look for the utilities section at the bottom of the controls.