Entwine
Description
Entwine is a FOSS development for point cloud data management, designed to handle datasets with trillions of points into the Terabytes of data. It is capable of giving the mapper a 3D view of landscape, buildings and physical reality on the ground.
1. Installation of Conda[1]
As usual always first get your system up-to-date. At the moment of writing this article and installing on our servers the latest version was 2024.02.1
sudo -i
sudo apt update
sudo apt upgrade
sudo apt install curl
cd /tmp
curl -O https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.sh
- Check for the latest version here
bash Anaconda3-2024.02-1-Linux-x86_64.sh
we choose the default/recommended answers during the installationssource ~/.bashrc
conda -V
if at this point there's no output, it means you chose "no" to not initialize the conda shell, see troubleshooting section
2 Creating Conda environment[2]
conda create --name environtmentname python=3
replace environtmentname by whatever you chooseconda activate environtmentname
conda deactivate
deactivate current environment
conda install <package-name>[=version]
will install whatever package
3. Entwine environment
conda create --yes --name entwine --channel conda-forge entwine
conda activate entwine
conda install nodejs -y
npm install http-server -g
http-server entwine -p 8084 --cors
4. Entwine without autostart[3] [4]
If you choose not to automatically start with the entwine shell but prefer to keep the default shell upon every reboot, you need to start it manually. if you have successfully done the previous steps at this point it's simple:
eval "$(/home/entwineserver/anaconda3/bin/conda shell.bash hook)"
replace 'bash' with whatever shell you're using, this activates conda!conda activate entwine
entwine build -i ~/folder/input.laz -o ~/folder/outputfolder
please note entwining a 1GB LAZ file can consume as much as 24GB RAM/SWAP space
Troubleshooting
Update conda
conda update conda
conda update anaconda
If you get an error PackageNotInstalledError: Package is not installed in prefix.
conda install anaconda
[5]
If you chose "no" at installation and thus didn't automatic start/initialize shell script
eval "$(/home/entwineserver/anaconda3/bin/conda shell.bash hook)"
replace 'bash' with whatever shell you're using.conda init
To disable Conda from automatic start at boot
conda config --set auto_activate_base false
Undo Conda shell integration
conda init --reverse $SHELL
References
- ↑ https://medium.com/@mustafa_kamal/a-step-by-step-guide-to-installing-conda-in-ubuntu-and-creating-an-environment-d4e49a73fc46
- ↑ https://medium.com/@mustafa_kamal/a-step-by-step-guide-to-installing-conda-in-ubuntu-and-creating-an-environment-d4e49a73fc46
- ↑ https://entwine.io/en/latest/configuration.html
- ↑ https://github.com/connormanning/entwine/tree/master
- ↑ https://stackoverflow.com/questions/51712693/packagenotinstallederror-package-is-not-installed-in-prefix