Public | Automated Build

Last pushed: 3 days ago
Short Description
TERRA-REF scanner3DTop PLY to merged LAS extractor for Clowder.
Full Description

PLY to LAS conversion extractor

This extractor converts PLY 3D point cloud files into LAS files.

Input

  • Evaluation is triggered whenever a file is added to a dataset
  • Checks whether there are 2 east/east .PLY files

Output

  • The dataset containing the .PLY file will get a corresponding .LAS file merging the two PLY files.

Docker

The Dockerfile included in this directory can be used to launch this extractor in a container.

Building the Docker image

docker build -f Dockerfile -t terra-ext-ply2las .

Running the image locally

docker run \
  -p 5672 -p 9000 --add-host="localhost:{LOCAL_IP}" \
  -e RABBITMQ_URI=amqp://{RMQ_USER}:{RMQ_PASSWORD}@localhost:5672/%2f \
  -e RABBITMQ_EXCHANGE=clowder \
  -e REGISTRATION_ENDPOINTS=http://localhost:9000/clowder/api/extractors?key={SECRET_KEY} \
  terra-ext-ply2las

Note that by default RabbitMQ will not allow "guest:guest" access to non-local addresses, which includes Docker. You may need to create an additional local RabbitMQ user for testing.

Running the image remotely

docker run \
  -e RABBITMQ_URI=amqp://{RMQ_USER}:{RMQ_PASSWORD}@rabbitmq.ncsa.illinois.edu/clowder \
  -e RABBITMQ_EXCHANGE=terra \
  -e REGISTRATION_ENDPOINTS=http://terraref.ncsa.illinosi.edu/clowder//api/extractors?key={SECRET_KEY} \
  terra-ext-ply2las
Docker Pull Command
Owner
terraref
Source Repository

Comments (0)