[R-sig-Geo] Rgdal and unsigned integers

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Thu Aug 20 18:54:04 CEST 2009


>  What are these .gis files? What driver is rgdal using to read them?

 Ah, I've just noticed this:

 > gdalDrivers()[38,]
    name       long_name create  copy
 38  LAN Erdas .LAN/.GIS  FALSE FALSE
 >

 The output from GDALinfo will still be interesting, as will the
output from the command line gdalinfo:

$ gdalinfo random.gtiff
Driver: GTiff/GeoTIFF
Size is 30, 25
Coordinate System is `'
Origin = (-2.060000000000000,54.450000000000003)
Pixel Size = (0.120000000000000,-0.100000000000000)
Corner Coordinates:
Upper Left  (  -2.0600000,  54.4500000)
Lower Left  (  -2.0600000,  51.9500000)
Upper Right (   1.5400000,  54.4500000)
Lower Right (   1.5400000,  51.9500000)
Center      (  -0.2600000,  53.2000000)
Band 1 Block=30x25 Type=Float32, ColorInterp=Gray

 - the Band 'Type' is what is useful here. The problem could be in the
underlying gdal library.

Barry



More information about the R-sig-Geo mailing list