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
File details
Details for the file PotreePublisher-0.1.5.tar.gz
.
File metadata
- Download URL: PotreePublisher-0.1.5.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb0319c63cda8a011986edcef7b3e42cb7380d67587a6acaef3034a378e78430 |
|
MD5 | 59c30b9f08543d174b1dfedbb9070c90 |
|
BLAKE2b-256 | 2ea16a20e10609d9fc7614b66056fdf7ec952000106307d174672a48eb3f4c32 |
File details
Details for the file PotreePublisher-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: PotreePublisher-0.1.5-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b6ec6d7e9f5266c8ea5a77443b51393be149549b028225b869def1c210079a4 |
|
MD5 | 63f601717c64b054e9023b311102765d |
|
BLAKE2b-256 | 552250cb5984c2d835159a762bb0c7192f0d2206463570bf8cefa19b808f45f2 |