Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run this on local system with docker-compose.yml #1

Open
ishantanu opened this issue May 10, 2017 · 1 comment
Open

How to run this on local system with docker-compose.yml #1

ishantanu opened this issue May 10, 2017 · 1 comment

Comments

@ishantanu
Copy link

Hey,

How can I run this docker-compose file on local system.
Also how can I add .las files?

@veuncent
Copy link
Contributor

Hey @iamShantanu101 ,

My apologies, I left this Docker image in an experimental state.
I cleaned it up so that it allows you to run this Docker image using docker-compose up.
I also updated the Readme and pushed a tag cvast/cvast-potree:1.0b that you can use, so you don't have to build the image.

When running docker images locally I like to create a copy of docker-compose.yml called docker-compose-local.yml and use that to set local mount points:

      volumes:
      - ./www/potree/:/var/www/potree/
      - ./www/potree/resources/pointclouds/:/var/www/potree/resources/pointclouds/
      - ./pointcloud_input_folder/:/pointcloud_input_folder

In order to add a .las file (and convert it to Potree format):

  • Place your .las file in the ./pointcloud_input_folder folder of the host machine
  • Run: docker-compose -f .\docker-compose-local.yml run potree convert -f <input_file.las> -p <output_page_name>

Finally you run:

docker-compose -f .\docker-compose-local.yml up

Your new page with Potree pointcloud now lives here:

http://localhost/potree/pages/<output_page_name>

Please do note that this is an experimental image and I do not use it in production yet.
I am currently working on a large number of other tasks and I might not expand on cvast-potree before fall.

Anyway, thanks for your interest in this,
Vincent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants