[Qgis-developer] WCS analyses

Radim Blazek radim.blazek at gmail.com
Tue Oct 1 04:26:13 PDT 2013


On Tue, Oct 1, 2013 at 12:17 PM, Paolo Cavallini <cavallini at faunalia.it> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Il 01/10/2013 11:53, Radim Blazek ha scritto:
>
>
>>> You are taking WCS layer as input?
>
> Yes
>
>>> I guess that the error message is wrong and it reports wrong
>>> output instead of input.
>
> this is also my interpretation
>>> Which "analysis" do you mean, SEXTANTE? Could it be that SEXTANTE
>>> just takes layer URI and expects that it is a file supported by
>>> GDAL?
>
> the C++ terrain analysis plugin.

QgsRasterTerrainAnalysisPlugin gives to QgsRelief layer URI as
inputFile, QgsRelief simply opens it as GDAL file and it fails.
Unfortunately QgsRasterTerrainAnalysisPlugin does not check
QgsRelief::processRaster() returned value and probably tries to add
result as new layer, which fails and gives correct error message (for
ne layer it is really input).

> if this is so, I guess the option to
> run the analysis should e removed.
> which analyses are supposed to run with WCS?

AFAIK, various raster analysis are still using access through GDAL,
this should be upgraded to read data from raster layer. Quick fix is
to filter out in input combo boxes all non GDAL layers.

Please create a new ticket.

Radim

> Thanks.
> - --
> Paolo Cavallini - Faunalia
> www.faunalia.eu
> Full contact details at www.faunalia.eu/pc
> Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.14 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlJKoScACgkQ/NedwLUzIr5S9ACfcw4vvS2tFZBiIhYip3ELx7iW
> 2HcAnRJu/Mgw+GZ84joEWhf0XOpzzSaK
> =D5pe
> -----END PGP SIGNATURE-----


More information about the Qgis-developer mailing list