Small CLI to quickly publish a single LAS file or a whole folder to a Potree server.
Project description
PotreePublisher
Small CLI to quickly publish a single LAS file or a whole folder to a Potree server.
Prerequisites
It is assumed that you have a Potree server installed on your machine.
Expand for instructions if you don't :wink:
-
Clone the potree repository:
git clone https://github.com/potree/potree
-
Make sure you have the Node Package Manager (npm) installed (usually delivered with node.js).
-
Inside potree's repository, run
npm install
. It will install dependencies (specified in package.json) and create a build in ./build/potree. -
Move the potree folder to you favorite http server.
-
Make sure you spot the location where you want to:
- store the point clouds
- store the viewer html files
- You're good to go!
It is also assumed that you have PotreeConverter installed. See this page for instructions.
Installation
pip install potreepublisher
Usage
Usage: PotreePublisher [OPTIONS] INPUT_PATH
Arguments:
INPUT_PATH Path to the point cloud or a folder of point clouds to process.
Any type supported by PotreeConverter is possible. [required]
Options:
--potree-server-root TEXT Root path of the potree server. [default:
/var/www/potree]
--point-cloud-folder TEXT Folder where the point cloud will be stored after
conversion to Potree Format. [default:
pointclouds]
--viewer-folder TEXT Folder where the viewer html page will be stored.
[default: results]
--help Show this message and exit.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for PotreePublisher-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cc42c384fea404da09f4f51aa0a57e636a923f0e48752aec610287b18aaef12 |
|
MD5 | 5d50ca4f4a4ced172da33f767e5bff53 |
|
BLAKE2b-256 | 77fcd11367445a1620baff8f82e9f7ca3d0854e4442a1cd3961beca236e6f047 |