Skip to main content

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:
  1. Clone the potree repository: git clone https://github.com/potree/potree

  2. Make sure you have the Node Package Manager (npm) installed (usually delivered with node.js).

  3. Inside potree's repository, run npm install. It will install dependencies (specified in package.json) and create a build in ./build/potree.

  4. Move the potree folder to you favorite http server.

  5. Make sure you spot the location where you want to:

  • store the point clouds
  • store the viewer html files
  1. 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

PotreePublisher-0.1.5.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

PotreePublisher-0.1.5-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

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

Hashes for PotreePublisher-0.1.5.tar.gz
Algorithm Hash digest
SHA256 bb0319c63cda8a011986edcef7b3e42cb7380d67587a6acaef3034a378e78430
MD5 59c30b9f08543d174b1dfedbb9070c90
BLAKE2b-256 2ea16a20e10609d9fc7614b66056fdf7ec952000106307d174672a48eb3f4c32

See more details on using hashes here.

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

Hashes for PotreePublisher-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5b6ec6d7e9f5266c8ea5a77443b51393be149549b028225b869def1c210079a4
MD5 63f601717c64b054e9023b311102765d
BLAKE2b-256 552250cb5984c2d835159a762bb0c7192f0d2206463570bf8cefa19b808f45f2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page