Skip to content
Snippets Groups Projects
Commit db87dc40 authored by Thibaut ROMAIN's avatar Thibaut ROMAIN
Browse files

DOC: update first step doc for more clarity

parent 73f51676
No related branches found
No related tags found
1 merge request!1059ENH: Add a one line otb installer
Pipeline #16554 passed
...@@ -21,7 +21,7 @@ Download and install OTB ...@@ -21,7 +21,7 @@ Download and install OTB
.. code-block:: bash .. code-block:: bash
bash -c "$(curl -fsSL https://orfeo-toolbox.org/packages/install-otb.sh) 9.1.0 $HOME/otb" bash -c "$(curl -fsSL https://orfeo-toolbox.org/packages/install-otb.sh)" -s 9.1.0 $HOME/otb
Download an example image Download an example image
+++++++++++++++++++++++++ +++++++++++++++++++++++++
...@@ -35,6 +35,7 @@ Compute NDVI using the CLI interface ...@@ -35,6 +35,7 @@ Compute NDVI using the CLI interface
.. code-block:: bash .. code-block:: bash
source $HOME/otb/otbenv.profile
otbcli_BandMath –il $HOME/Data/phr_xs.tif –out $HOME/Data/ndvi.tif –exp “(im1b4-im1b1)/ (im1b4+im1b1)” otbcli_BandMath –il $HOME/Data/phr_xs.tif –out $HOME/Data/ndvi.tif –exp “(im1b4-im1b1)/ (im1b4+im1b1)”
Use Python API to compute NDVI Use Python API to compute NDVI
...@@ -45,7 +46,7 @@ To use the Python API you have first to recompile the bindings for your version ...@@ -45,7 +46,7 @@ To use the Python API you have first to recompile the bindings for your version
.. code-block:: bash .. code-block:: bash
# Recompile python bindings # Recompile python bindings
cd /Path/To/OTB-10.0 cd $HOME/otb
source otbenv.profile source otbenv.profile
sh recompile-bindings.sh sh recompile-bindings.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment