[OSGeoLive] #2176: OTB quickstart - Full paths to image files

OSGeoLive trac_osgeolive at osgeo.org
Wed Aug 14 10:15:34 PDT 2019


#2176: OTB quickstart - Full paths to image files
-------------------------+----------------------------
 Reporter:  micha        |      Owner:  osgeolive@…
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  OSGeoLive13.0
Component:  OSGeoLive    |   Keywords:  OTB quickstart
-------------------------+----------------------------
 The OTB quick start explains to use tif images in /usr/share/data:

 Sample data used in this quickstart can be found in :

         /home/user/data/north_carolina/rast_geotiffs

 If I cd to that directory and try to run the quickstart commands, they
 fail with "Permission denied".
 The quickstart does not explain that the commands should be run from
 user's home directory, and does not give the full paths to the test
 images.

 i.e. I would expect in the quickstart:

 {{{
 cd ~
 otbcli_BandMath -il ~/data/north_carolina/rast_geotifflsat7_2002_10.tif \
   ~/data/north_carolina/rast_geotiff/lsat7_2002_20.tif \
   -out difference.tif -exp "im1b1-im2b1"
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2176>
OSGeoLive <http://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.


More information about the osgeolive mailing list