[Qgis-user] Grid extent resctriction on some SAGA algorithms too extrict

RNanclares raulnanclares at gmail.com
Thu Apr 9 11:09:35 PDT 2015


Hi there,
i was trying to conduct some hydrological analysis using SAGA through the
Processing Toolbox and as always when i try to run the 'Channel Network'
algorithm i get the warning "input layers do not have the same grid extent".
Even when the layers have "roughly" (roughly in this case means up to the
ninth decimal place) the same extent.

I've tried to clip the rasters to exactly the same extent without any
success so i assume there are only a few solutions left which aren't easy or
practical.

Then i found the script, /SagaAlgorithm212.py/, and the function responsible
for this check /checkParameterValuesBeforeExecuting/. IMO the grid extent
should be checked up to the 7 or 8 decimal places not the full mantissa (16
decimal places in my case, for and EPSG:4326 raster layer).

-100.0001388888999969,17.9998611110999995 :
-98.9998610310999965,19.0001389689000000
-100.0001388888888840,17.9998611111111089 :
-98.9998611111111018,19.0001388888888876

Is there any reason behind this behavior? Could the extent check be less
strict?

Cheers!



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Grid-extent-resctriction-on-some-SAGA-algorithms-too-extrict-tp5200669.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.



More information about the Qgis-user mailing list