Skip to content
/ plasio Public
forked from verma/plasio

Drag-n-drop In-browser LAS/LAZ point cloud viewer. http://plas.io

License

Notifications You must be signed in to change notification settings

zh3305/plasio

 
 

Repository files navigation

plasio

plasio is a project by Uday Verma and Howard Butler that implements point cloud rendering capability in a browser. Specifically, it provides a functional implementation of the ASPRS LAS format, and it can consume LASzip-compressed data using LASzip NaCl module. Plasio is Chrome-only at this time, but it is hoped that other contributors can step forward to bring it to other browsers.

It is expected that most WebGL-capable browers should be able to support plasio, and it contains nothing that is explicitly Chrome-specific beyond the optional NaCL LASzip module. We just haven't tested it beyond Mac and Windows Chrome Canary at this time.

Demo

http://plas.io contains a demo of the interface and supports both LAS and LAZ.

FAQ

What does the name plasio mean?

Nothing.

What are future plans for the software?

We hope that plasio provides a significant enough capability that others start to contribute exploitation and visualization flourishes.

When will it support X, Y, or Z?

The software is its formative stages at this point, and pull requests that provide new capabilities or fix signficant issues are going to be the most persuasive way to impact its future development.

Developers

Plasio uses the Gulp build system:

npm install -g gulp

To setup the development environment, you can run:

npm install

This will download all dependencies required to setup the build system.

You can then build and stage files under the build directory by running:

gulp

While developing, you may run:

gulp develop

This will serve built files locally and open your default browser pointing to the index page. Any changes you make to source files will fire gulp tasks that will keep the build directory up to date. The build system also uses gulp's live-reload plugin, which works great with Google Chrome's Live Reload extension.

Desktop Application

Plasio now supports running as a desktop application using Electron. To build the desktop version:

# First build the web application
gulp build

# Then create the Windows installer and portable version
npm run dist

This will create two files in the dist directory: - Plasio Viewer Setup 0.0.1.exe - Windows installer - Plasio Viewer 0.0.1.exe - Portable version

The installer version will create shortcuts and can be uninstalled through Windows Control Panel. The portable version can be run directly without installation.

System Requirements for Desktop Version: - Windows 10 or later (64-bit) - 4GB RAM minimum - Graphics card with WebGL support

The gulp file includes a task to publish directly to plas.io, however, you need AWS Access for that to work. You may direct plasio to your own AWS buckets, in which case you will have to edit gulpfile.js to direct it likewise.

The publish task looks for ~/.aws.json which should include two fields, key and secret.

To publish to AWS simply run:

gulp publish

Credits

License

The software is licensed under the permissive MIT license.

About

Drag-n-drop In-browser LAS/LAZ point cloud viewer. http://plas.io

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.7%
  • Other 1.3%