[Osgeo4w-trac] [osgeo4w] #527: Broken io_gdal raster import in SAGA LTR package shipped with OSGeo4W

OSGeo4W trac_osgeo4w at osgeo.org
Fri Apr 7 03:03:35 PDT 2017


#527: Broken io_gdal raster import in SAGA LTR package shipped with OSGeo4W
-------------------+---------------------------
Reporter:  lutra   |      Owner:  osgeo4w-dev@…
    Type:  defect  |     Status:  new
Priority:  major   |  Component:  Package
 Version:          |   Keywords:
-------------------+---------------------------
 1) In OSGeo4w installer the option for SAGA LTR says "2.3.1", but once
 installed "saga_cmd" says 2.3.2, which is weird per se as SAGA 2.3.2 does
 not exist:

 https://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.3/

 2) if launching SAGA GUI of this SAGA installation it apparently seems all
 ok, but for instance it misses the "Import > GDAL/OGR" tools which are
 available in any older and newer (or even the same) versions downloaded
 from SAGA site. This could be related to the next point, that is the more
 important

 3) In this OSGEo4W SAGA LTR install the raster import operation (done with
 the "io_gdal" module) produces a WRONG raster, where 1 are replaced with
 NULLs. This DOES NOT happen in any older and newer (or even the same)
 versions downloaded from SAGA site. This is of course a deal breaker for
 Processing because it calls io_gdal any time a SAGA raster tool is used

 You can test with this input

 https://cld.pt/dl/download/6ac21f8c-0244-45a5-823e-
 6047bb99b208/bacias_lee_2014_2018_17_Binary.tif

 and this command

 saga_cmd io_gdal 0 -TRANSFORM 1 -RESAMPLING 0 -GRIDS
 "imported_raster.sgrd" -FILES "bacias_lee_2014_2018_17_Binary.tif"

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/527>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list