dlsyaim / wxgis

Automatically exported from code.google.com/p/wxgis
0 stars 0 forks source link

WXGIS ignores SAGA grids supported by GDAL #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
current WXGIS does not show any SAGA GIS grid files:

SDAT -- SAGA GIS Binary Grid File Format
(starting with GDAL 1.7.0)

The driver supports both reading and writing (including create, delete, and 
copy) SAGA GIS binary grids. SAGA binary grid datasets are made of an ASCII 
header (.SGRD) and a binary data (.SDAT) file with a common basename. The .SDAT 
file should be selected to access the dataset.

The driver supports reading the following SAGA datatypes (in brackets the 
corresponding GDAL types): BIT (GDT_Byte), BYTE_UNSIGNED (GDT_Byte), BYTE 
(GDT_Byte), SHORTINT_UNSIGNED (GDT_UInt16), SHORTINT (GDT_Int16), 
INTEGER_UNSIGNED (GDT_UInt32), INTEGER (GDT_Int32), FLOAT (GDT_Float32) and 
DOUBLE (GDT_Float64).

The driver supports writing the following SAGA datatypes: BYTE_UNSIGNED 
(GDT_Byte), SHORTINT_UNSIGNED (GDT_UInt16), SHORTINT (GDT_Int16), 
INTEGER_UNSIGNED (GDT_UInt32), INTEGER (GDT_Int32), FLOAT (GDT_Float32) and 
DOUBLE (GDT_Float64).

Currently the driver does not support zFactors other than 1 and reading SAGA 
grids which are written TOPTOBOTTOM.

NOTE: Implemented as gdal/frmts/saga/sagadataset.cpp.
http://www.gdal.org/frmt_various.html

Instead of them I always see empty folder. This is strange as this format is 
already supported by the used GDAL library and for example, QGIS also loads 
them without an problem.

I am using latest 0.3.0 version on Windows 7 Pro 64 bit. 

regards

Jan

Original issue reported on code.google.com by jan.hele...@gmail.com on 29 Mar 2011 at 12:08

GoogleCodeExporter commented 9 years ago
I have support not all gdal formats. I will add SAGA Grid to next release.

Original comment by bishop....@gmail.com on 4 Apr 2011 at 8:36

GoogleCodeExporter commented 9 years ago
Fixed in commit #334 

Original comment by bishop....@gmail.com on 18 Oct 2011 at 9:24