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 -isudo apt updatesudo apt upgradesudo apt install curlcd /tmpcurl -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.shwe choose the default/recommended answers during the installationssource ~/.bashrcconda -Vif 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=3replace environtmentname by whatever you chooseconda activate environtmentnameconda deactivatedeactivate current environment
conda install <package-name>[=version]will install whatever package
3. Entwine environment
conda create --yes --name entwine --channel conda-forge entwineconda activate entwineconda install nodejs -ynpm install http-server -ghttp-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 entwineentwine build -i ~/folder/input.laz -o ~/folder/outputfolderplease note entwining a 1GB LAZ file can consume as much as 24GB RAM/SWAP space
Troubleshooting
Update conda
conda update condaconda 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