[gdal-dev] New saga grid zipped format
Johan Van de Wauw
johan.vandewauw at gmail.com
Wed Jul 12 07:18:18 PDT 2017
Hi all,
Saga GIS introduced a new file format .sg-grd-z [1] which actually is
a zipfile containing the normal files encountered in saga gis (*.sgrd
; *.sdat; and optionally *.mgrd ).
In fact, if you rename the .sg-grd-z file you can already open it using vsizip
eg
cp Landgebruik_def_watem.sg-grd-z Landgebruik_def_watem.zip
gdalinfo /vsizip/Landgebruik_def_watem.zip/Landgebruik_def_watem.sdat
Driver: SAGA/SAGA GIS Binary Grid (.sdat)
Files: /vsizip/Landgebruik_def_watem.zip/Landgebruik_def_watem.sdat
/vsizip/Landgebruik_def_watem.zip/Landgebruik_def_watem.sdat.aux.xml
/vsizip/Landgebruik_def_watem.zip/Landgebruik_def_watem.sgrd
/vsizip/Landgebruik_def_watem.zip/Landgebruik_def_watem.prj
Size is 49400, 24000
Coordinate System is `'
Origin = (17000.000000000000000,249995.000000000000000)
Pixel Size = (5.000000000000000,-5.000000000000000)
Corner Coordinates:
Upper Left ( 17000.000, 249995.000)
Lower Left ( 17000.000, 129995.000)
Upper Right ( 264000.000, 249995.000)
Lower Right ( 264000.000, 129995.000)
Center ( 140500.000, 189995.000)
Band 1 Block=49400x1 Type=Int16, ColorInterp=Undefined
NoData Value=-32767
I'm willing to get my hands dirty to add support for this format in
gdal (either developing/testing/...), but I wonder if there are any
similar formats where I can find inspiration.
Kind Regards,
Johan
[1] https://sourceforge.net/p/saga-gis/mailman/message/35918456/
More information about the gdal-dev
mailing list