[GRASS-user] Error on importing ESRI grid into GRASS 7

Markus Neteler neteler at osgeo.org
Tue Dec 2 05:55:35 PST 2014


On Tue, Dec 2, 2014 at 10:49 AM, Markus Neteler <neteler at osgeo.org> wrote:
> On Tue, Dec 2, 2014 at 10:39 AM, RichardCooper <richtcooper at hotmail.com> wrote:
>> I upgraded GDAL to 1.10.0 (via the Ubuntu repository) and the GRASS instance,
>> but the error still persists.
>
> Could you make the file (offlist) available for testing?

Thanks, got it.

So, it also fails with GDAL 1.10.x but works ok with GDAL 1.11.x:


[neteler at giscluster grumpv1]$ gdal-config --version
1.11.0

[neteler at giscluster grumpv1]$ gdalinfo thauds00g
Driver: AIG/Arc/Info Binary Grid
Files: thauds00g
       thauds00g.aux
       thauds00g/w001001x.adf
       thauds00g/metadata.xml
       thauds00g/prj.adf
       thauds00g/w001001.adf
       thauds00g/log
       thauds00g/dblbnd.adf
       thauds00g/hdr.adf
       thauds00g/sta.adf
Size is 1320, 1920
Coordinate System is:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        TOWGS84[0,0,0,0,0,0,0],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.0174532925199433,
        AUTHORITY["EPSG","9108"]],
    AUTHORITY["EPSG","4326"]]
Origin = (96.000000000000000,20.999999999936001)
Pixel Size = (0.008333333333300,-0.008333333333300)
Corner Coordinates:
Upper Left  (  96.0000000,  21.0000000) ( 96d 0' 0.00"E, 21d 0' 0.00"N)
Lower Left  (  96.0000000,   5.0000000) ( 96d 0' 0.00"E,  5d 0' 0.00"N)
Upper Right ( 107.0000000,  21.0000000) (107d 0' 0.00"E, 21d 0' 0.00"N)
Lower Right ( 107.0000000,   5.0000000) (107d 0' 0.00"E,  5d 0' 0.00"N)
Center      ( 101.5000000,  13.0000000) (101d30' 0.00"E, 13d 0' 0.00"N)
Band 1 Block=256x4 Type=Float32, ColorInterp=Undefined
  Description = thauds00g
  Min=0.000 Max=32565.402
  NoData Value=-3.4028234663852886e+38
  Metadata:
    LAYER_TYPE=athematic

[neteler at giscluster grumpv1]$ gdalinfo thauds00ag
Driver: AIG/Arc/Info Binary Grid
Files: thauds00ag
       thauds00ag.aux
       thauds00ag/w001001x.adf
       thauds00ag/metadata.xml
       thauds00ag/prj.adf
       thauds00ag/w001001.adf
       thauds00ag/log
       thauds00ag/dblbnd.adf
       thauds00ag/hdr.adf
       thauds00ag/sta.adf
Size is 1320, 1920
Coordinate System is:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        TOWGS84[0,0,0,0,0,0,0],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.0174532925199433,
        AUTHORITY["EPSG","9108"]],
    AUTHORITY["EPSG","4326"]]
Origin = (96.000000000000000,20.999999999936001)
Pixel Size = (0.008333333333300,-0.008333333333300)
Corner Coordinates:
Upper Left  (  96.0000000,  21.0000000) ( 96d 0' 0.00"E, 21d 0' 0.00"N)
Lower Left  (  96.0000000,   5.0000000) ( 96d 0' 0.00"E,  5d 0' 0.00"N)
Upper Right ( 107.0000000,  21.0000000) (107d 0' 0.00"E, 21d 0' 0.00"N)
Lower Right ( 107.0000000,   5.0000000) (107d 0' 0.00"E,  5d 0' 0.00"N)
Center      ( 101.5000000,  13.0000000) (101d30' 0.00"E, 13d 0' 0.00"N)
Band 1 Block=256x4 Type=Float32, ColorInterp=Undefined
  Description = thauds00ag
  Min=0.000 Max=32764.812
  NoData Value=-3.4028234663852886e+38
  Metadata:
    LAYER_TYPE=athematic

--> all fine.

In the Fedora/RPM world there is "mock" to easily recompile a newer
package for a local machine.
Something similar will exist for Mint/Ubuntu etc. in order to avoid to
mess around manually with configure options.

hope this helps,
Markus


More information about the grass-user mailing list