Bug#695060: Fixed in gdal/1.10.1+dfsg-1

Sebastiaan Couwenberg sebastic at xs4all.nl
Sat Jan 4 00:31:32 UTC 2014


Control: fixed -1 gdal/1.10.1+dfsg-1

Hi Reid,

The recent gdal/1.10.1+dfsg-1 uploaded to unstable appears to have fixed
your issue. GDAL now recognizes the units correctly:

$ gdalinfo /tmp/foo.tif
Driver: GTiff/GeoTIFF
Files: /tmp/foo.tif
Size is 10, 20
Coordinate System is:
PROJCS["LUnits = unknown",
    GEOGCS["WGS 84",
        DATUM["WGS_1984",
            SPHEROID["WGS 84",6378137,298.257223563,
                AUTHORITY["EPSG","7030"]],
            AUTHORITY["EPSG","6326"]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433],
        AUTHORITY["EPSG","4326"]],
    PROJECTION["Miller_Cylindrical"],
    PARAMETER["latitude_of_center",0],
    PARAMETER["longitude_of_center",0],
    PARAMETER["false_easting",0],
    PARAMETER["false_northing",0],
    UNIT["unknown",1000000]]
Origin = (-20.015098236551182,-14.671436039695894)
Pixel Size = (2.001509823655118,2.934287207939179)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  ( -20.0150982, -14.6714360) (179d59'59.64"W, 89d59'24.00"S)
Lower Left  ( -20.0150982,  44.0143081)
Upper Right (   0.0000000, -14.6714360) (  0d 0' 0.01"E, 89d59'24.00"S)
Lower Right (   0.0000000,  44.0143081)
Center      ( -10.0075491,  14.6714360) ( 89d59'59.82"W, 89d59'24.00"N)
Band 1 Block=10x20 Type=Float32, ColorInterp=Gray

$ listgeo /tmp/foo.tif
Geotiff_Information:
   Version: 1
   Key_Revision: 1.0
   Tagged_Information:
      ModelTransformationTag (4,4):
         2.00150982365512  0                 0
-20.0150982365512
         0                 2.93428720793918  0
-14.6714360396959
         0                 0                 0                 0

         0                 0                 0                 1

      End_Of_Tags.
   Keyed_Information:
      GTModelTypeGeoKey (Short,1): ModelTypeProjected
      GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
      GTCitationGeoKey (Ascii,10): "Miller_Mm"
      GeographicTypeGeoKey (Short,1): GCS_WGS_84
      GeogCitationGeoKey (Ascii,7): "WGS 84"
      GeogAngularUnitsGeoKey (Short,1): Angular_Degree
      GeogSemiMajorAxisGeoKey (Double,1): 6378137
      GeogInvFlatteningGeoKey (Double,1): 298.257223563
      ProjectedCSTypeGeoKey (Short,1): User-Defined
      PCSCitationGeoKey (Ascii,17): "LUnits = unknown"
      ProjectionGeoKey (Short,1): User-Defined
      ProjCoordTransGeoKey (Short,1): CT_MillerCylindrical
      ProjLinearUnitsGeoKey (Short,1): User-Defined
      ProjLinearUnitSizeGeoKey (Double,1): 1000000
      ProjFalseEastingGeoKey (Double,1): 0
      ProjFalseNorthingGeoKey (Double,1): 0
      ProjCenterLongGeoKey (Double,1): 0
      ProjCenterLatGeoKey (Double,1): 0
      End_Of_Keys.
   End_Of_Geotiff.

Projection Method: CT_MillerCylindrical
   ProjCenterLatGeoKey: 0.000000 (  0d 0' 0.00"N)
   ProjCenterLongGeoKey: 0.000000 (  0d 0' 0.00"E)
   ProjFalseEastingGeoKey: 0.000000 m
   ProjFalseNorthingGeoKey: 0.000000 m
GCS: 4326/WGS 84
Datum: 6326/World Geodetic System 1984
Ellipsoid: 7030/WGS 84 (6378137.00,6356752.31)
Prime Meridian: 8901/Greenwich (0.000000/  0d 0' 0.00"E)

Corner Coordinates:
Upper Left    (     -20.015,     -14.671)  (  0d 0' 0.65"W,  0d 0' 0.47"S)
Lower Left    (     -20.015,      44.014)  (  0d 0' 0.65"W,  0d 0' 1.42"N)
Upper Right   (       0.000,     -14.671)  (  0d 0' 0.00"E,  0d 0' 0.47"S)
Lower Right   (       0.000,      44.014)  (  0d 0' 0.00"E,  0d 0' 1.42"N)
Center        (     -10.008,      14.671)  (  0d 0' 0.32"W,  0d 0' 0.47"N)

Kind Regards,

Bas

-- 
GnuPG: 0xE88D4AF1 (new) / 0x77A975AD (old)



More information about the Pkg-grass-devel mailing list