kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Update README.md
Updated readme with potreeconverter build instructionspull/1/head
rodzic
72c5e8864d
commit
9e1825bd9e
30
README.md
30
README.md
|
@ -38,14 +38,42 @@ See the [API documentation page](/docs/index.adoc).
|
|||
|
||||
### Run it Natively
|
||||
|
||||
If you are already running [OpenDroneMap](https://github.com/OpenDroneMap/OpenDroneMap) on Ubuntu natively, you can simply type:
|
||||
If you are already running [OpenDroneMap](https://github.com/OpenDroneMap/OpenDroneMap) on Ubuntu natively you can follow these steps:
|
||||
|
||||
1. Install PotreeConverter and LASzip dependency
|
||||
|
||||
```bash
|
||||
apt-get install -y libboost-dev libboost-program-options-dev
|
||||
|
||||
mkdir /staging
|
||||
git clone https://github.com/pierotofy/LAStools /staging/LAStools
|
||||
cd LAStools/LASzip
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
make && make install
|
||||
ldconfig
|
||||
|
||||
git clone https://github.com/pierotofy/PotreeConverter /staging/PotreeConverter
|
||||
cd /staging/PotreeConverter
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DLASZIP_INCLUDE_DIRS=/staging/LAStools/LASzip/dll -DLASZIP_LIBRARY=/staging/LAStools/LASzip/build/src/liblaszip.so ..
|
||||
make && make install
|
||||
```
|
||||
2. Install gdal2tiles.py script, node.js and npm dependencies
|
||||
|
||||
```bash
|
||||
sudo curl --silent --location https://deb.nodesource.com/setup_6.x | sudo bash -
|
||||
sudo apt-get install -y nodejs python-gdal
|
||||
git clone https://github.com/pierotofy/node-OpenDroneMap
|
||||
cd node-OpenDroneMap
|
||||
npm install
|
||||
```
|
||||
|
||||
3. Start node-OpenDroneMap
|
||||
|
||||
```bash
|
||||
node index.js
|
||||
```
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue