[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: Re: [Live-demo] Let's bring the OSGeo live packages to debian!



Il 16/09/2014 09:20, Andreas Tille ha scritto:

> thanks for your attempt to help.  I think the best idea is to use the
> mailing list for discussion since there are more people involved than
> just we three.  I guess you forgive my ignorance of the netiquette to
> just forward your mail to this public list.
> 
> As you know I have commited the Debian packaging of otb to
> 
>    git://anonscm.debian.org/pkg-grass/otb.git
> 
> Do you feel able to create Debian packages out of a Git repository by
> using git-buildpackage?  If not I guess the Debian GIS team policy[1]
> provides a guiding hand for all problems you might face - if not feel
> free to ask any question here.  It would be great if you could try to
> build the packages and test them in their current state.
> 
> Please be verbose here on this list about any hurdle in this process
> since we can try to help you to the best of our knowledge.

> [1] http://pkg-grass.alioth.debian.org/policy

Thanks, that's what I did:

* installed qgis 2.4 from experimental
* installed saga 2.1.2+dfsg-2 from sid
* installed otb 4.0.0-2 by packaging from git, as you indicated
* qgis --configpath /home/paolo/Desktop/qgis_test to start afresh

This are my issues:

* running a sample OTB command results in
---
OTB execution console output
/usr/bin/otbApplicationLauncherCommandLine: error while loading shared libraries:
libOTBWrapperCommandLine.so.4.0: cannot open shared object file: No such file or
directory
---
so the path should be configured (as pointed out in previous threads on this list)
* running a sample SAGA command results in
---
Missing dependency.This algorithm cannot be run :-(
This algorithm requires SAGA to be run.Unfortunately, it seems that SAGA is not
installed in your system, or it is not correctly configured to be used from QGIS
Click here to know more about how to install and configure SAGA to be used with QGIS
---
Unchecking the "Use SAGA 2.0.8 syntax" in Processing options improves this, but:
---
Oooops! The following output layers could not be open
Slope: /tmp/processing/8499830391604d2fb3a87695847c0bf0/SLOPE.tif
Aspect: /tmp/processing/ff9955e369b54c50b44b5cb609933fae/ASPECT.tif
Curvature: /tmp/processing/47a1c7a9985b4147bb8ae1b75844fe0c/CURV.tif
Plan Curvature: /tmp/processing/3191d0255242458792e5fe7169d18869/HCURV.tif
Profile Curvature: /tmp/processing/45500b69492e42cda60e55d5037afce3/VCURV.tif
The above files could not be opened, which probably indicates that they were not
correctly produced by the executed algorithm
Checking the log information might help you see why those layers were not created as
expected
This algorithm requires SAGA to be run. A test to check if SAGA is correctly
installed and configured in your system has been performed, with the following result:
SAGA seems to be correctly installed and configured
---
I think wrong options are used inside Processing, so this may be an upstream bug:
---
SAGA execution console output
_____________________________________________

#####   ##   #####    ##
###     ###  ##       ###
###   # ## ##  #### # ##
### ##### ##    # #####
##### #   ##  ##### #   ##
_____________________________________________

_____________________________________________
library path:	/usr/lib/x86_64-linux-gnu/saga/libio_gdal.so
library name:	Import/Export - GDAL/OGR
tool name   :	GDAL: Import Raster
author      :	O.Conrad (c) 2007 (A.Ringeler)
_____________________________________________



Parameters


Grids: No objects
Files:
"/home/paolo/Documents/Didattica/Corsi_Formazione_Faunalia/QGIS/QGIS_data/dtm/hdr.adf"
Transformation: yes
Interpolation: Nearest Neighbor


loading:
/home/paolo/Documents/Didattica/Corsi_Formazione_Faunalia/QGIS/QGIS_data/dtm/hdr.adf



Driver: AIG

Bands: 1

Rows: 2170

Columns: 2465



Transformation:

x' = 1554747.231034 + x * 100.000000 + y * 0.000000

y' = 4924820.770000 + x * 0.000000 + y * -100.000000


loading band [1/1]




Unknown option 'CURV'
_____________________________________________

#####   ##   #####    ##
###     ###  ##       ###
###   # ## ##  #### # ##
### ##### ##    # #####
##### #   ##  ##### #   ##
_____________________________________________

_____________________________________________
library path:	/usr/lib/x86_64-linux-gnu/saga/libta_morphometry.so
library name:	Terrain Analysis - Morphometry
tool name   :	Slope, Aspect, Curvature
author      :	O.Conrad (c) 2001
_____________________________________________


Usage: saga_cmd ta_morphometry 0 -ELEVATION <str> [-SLOPE <str>] [-ASPECT <str>]
[-C_GENE <str>] [-C_PROF <str>] [-C_PLAN <str>] [-C_TANG <str>] [-C_LONG <str>]
[-C_CROS <str>] [-C_MINI <str>] [-C_MAXI <str>] [-C_TOTA <str>] [-C_ROTO <str>]
[-METHOD <str>] [-UNIT_SLOPE <str>] [-UNIT_ASPECT <str>]
-ELEVATION:<str>  	Elevation
Grid (input)
-SLOPE:<str>      	Slope
Grid (output)
-ASPECT:<str>     	Aspect
Grid (output)
-C_GENE:<str>     	General Curvature
Grid (optional output)
-C_PROF:<str>     	Profile Curvature
Grid (optional output)
-C_PLAN:<str>     	Plan Curvature
Grid (optional output)
-C_TANG:<str>     	Tangential Curvature
Grid (optional output)
-C_LONG:<str>     	Longitudinal Curvature
Grid (optional output)
-C_CROS:<str>     	Cross-Sectional Curvature
Grid (optional output)
-C_MINI:<str>     	Minimal Curvature
Grid (optional output)
-C_MAXI:<str>     	Maximal Curvature
Grid (optional output)
-C_TOTA:<str>     	Total Curvature
Grid (optional output)
-C_ROTO:<str>     	Flow Line Curvature
Grid (optional output)
-METHOD:<str>     	Method
Choice
Available Choices:
[0] maximum slope (Travis et al. 1975)
[1] maximum triangle slope (Tarboton 1997)
[2] least squares fitted plane (Horn 1981, Costa-Cabral & Burgess 1996)
[3] 6 parameter 2nd order polynom (Evans 1979)
[4] 6 parameter 2nd order polynom (Heerdegen & Beran 1982)
[5] 6 parameter 2nd order polynom (Bauer, Rohdenburg, Bork 1985)
[6] 9 parameter 2nd order polynom (Zevenbergen & Thorne 1987)
[7] 10 parameter 3rd order polynom (Haralick 1983)
Default: 6
-UNIT_SLOPE:<str> 	Slope Units
Choice
Available Choices:
[0] radians
[1] degree
[2] percent
Default: 0
-UNIT_ASPECT:<str>	Aspect Units
Choice
Available Choices:
[0] radians
[1] degree
Default: 0
Error: Grid file could not be opened.
Error: executing tool [GDAL: Export Raster]
_____________________________________________

#####   ##   #####    ##
###     ###  ##       ###
###   # ## ##  #### # ##
### ##### ##    # #####
##### #   ##  ##### #   ##
_____________________________________________

_____________________________________________
library path:	/usr/lib/x86_64-linux-gnu/saga/libio_gdal.so
library name:	Import/Export - GDAL/OGR
tool name   :	GDAL: Export Raster
author      :	O.Conrad (c) 2007
_____________________________________________

Load grid: /tmp/processing/8499830391604d2fb3a87695847c0bf0/SLOPE.tif.sgrd...
failed
GDAL: Export Raster: could not initialize data objects
Error: Grid file could not be opened.
Error: executing tool [GDAL: Export Raster]
_____________________________________________

#####   ##   #####    ##
###     ###  ##       ###
###   # ## ##  #### # ##
### ##### ##    # #####
##### #   ##  ##### #   ##
_____________________________________________

_____________________________________________
library path:	/usr/lib/x86_64-linux-gnu/saga/libio_gdal.so
library name:	Import/Export - GDAL/OGR
tool name   :	GDAL: Export Raster
author      :	O.Conrad (c) 2007
_____________________________________________

Load grid: /tmp/processing/ff9955e369b54c50b44b5cb609933fae/ASPECT.tif.sgrd...
failed
GDAL: Export Raster: could not initialize data objects
Error: Grid file could not be opened.
Error: executing tool [GDAL: Export Raster]
_____________________________________________

#####   ##   #####    ##
###     ###  ##       ###
###   # ## ##  #### # ##
### ##### ##    # #####
##### #   ##  ##### #   ##
_____________________________________________

_____________________________________________
library path:	/usr/lib/x86_64-linux-gnu/saga/libio_gdal.so
library name:	Import/Export - GDAL/OGR
tool name   :	GDAL: Export Raster
author      :	O.Conrad (c) 2007
_____________________________________________

Load grid: /tmp/processing/47a1c7a9985b4147bb8ae1b75844fe0c/CURV.tif.sgrd...
failed
GDAL: Export Raster: could not initialize data objects
Error: Grid file could not be opened.
Error: executing tool [GDAL: Export Raster]
_____________________________________________

#####   ##   #####    ##
###     ###  ##       ###
###   # ## ##  #### # ##
### ##### ##    # #####
##### #   ##  ##### #   ##
_____________________________________________

_____________________________________________
library path:	/usr/lib/x86_64-linux-gnu/saga/libio_gdal.so
library name:	Import/Export - GDAL/OGR
tool name   :	GDAL: Export Raster
author      :	O.Conrad (c) 2007
_____________________________________________

Load grid: /tmp/processing/3191d0255242458792e5fe7169d18869/HCURV.tif.sgrd...
failed
GDAL: Export Raster: could not initialize data objects
Error: Grid file could not be opened.
Error: executing tool [GDAL: Export Raster]
_____________________________________________

#####   ##   #####    ##
###     ###  ##       ###
###   # ## ##  #### # ##
### ##### ##    # #####
##### #   ##  ##### #   ##
_____________________________________________

_____________________________________________
library path:	/usr/lib/x86_64-linux-gnu/saga/libio_gdal.so
library name:	Import/Export - GDAL/OGR
tool name   :	GDAL: Export Raster
author      :	O.Conrad (c) 2007
_____________________________________________

Load grid: /tmp/processing/45500b69492e42cda60e55d5037afce3/VCURV.tif.sgrd...
failed
GDAL: Export Raster: could not initialize data objects
---

So, in short, the current setting are unusable as such, but I believe this can be
improved rather easily.
Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html


Reply to: