[Geotiff] libgeotiff 1.3.0 beta 1

Hermann Peifer peifer at gmx.eu
Thu Nov 5 09:47:52 EST 2009


Frank,

listgeo from FWTools 2.0.6 produces [1] for a GeoTIFF in LAEA 
(EPSG:3035) projection. However when using listgeo from 
libgeotiff-1.3.0, then there seem to be some problems: "Datum: 
6258/(unknown), Ellipsoid: 0/(unknown)", see [2].

Is this a bug in libgeotiff-1.3.0, which should have better "support for 
LAEA, as contributed by EvenR.", or is it related to libgeotiff's EPSG 
7.1 upgrade, or am I doing something wrong, by the end of the day (it is 
22:00H over here in Europe ;-) .

Hermann


[1]

$ listgeo naturilis_v1.tif
TIFFReadDirectory: Warning, Unknown field with tag 42112 (0xa480) 
encountered.
Geotiff_Information:
  Version: 1
  Key_Revision: 1.0
  Tagged_Information:
     ModelTiepointTag (2,3):
        0                0                0
        746000           5416000          0
     ModelPixelScaleTag (1,3):
        1000             1000             0
     End_Of_Tags.
  Keyed_Information:
     GTModelTypeGeoKey (Short,1): ModelTypeProjected
     GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
     GTCitationGeoKey (Ascii,23): "ETRS_1989_LAEA_L52_M10"
     GeographicTypeGeoKey (Short,1): User-Defined
     GeogCitationGeoKey (Ascii,14): "GCS_ETRS_1989"
     GeogGeodeticDatumGeoKey (Short,1): Datum_European_Reference_System_1989
     GeogAngularUnitsGeoKey (Short,1): Angular_Degree
     ProjectedCSTypeGeoKey (Short,1): User-Defined
     ProjectionGeoKey (Short,1): User-Defined
     ProjCoordTransGeoKey (Short,1): CT_LambertAzimEqualArea
     ProjLinearUnitsGeoKey (Short,1): Linear_Meter
     ProjFalseEastingGeoKey (Double,1): 4321000
     ProjFalseNorthingGeoKey (Double,1): 3210000
     ProjCenterLongGeoKey (Double,1): 10
     ProjCenterLatGeoKey (Double,1): 52
     End_Of_Keys.
  End_Of_Geotiff.

Projection Method: CT_LambertAzimEqualArea
  ProjCenterLatGeoKey: 52.000000 ( 52d 0' 0.00"N)
  ProjCenterLongGeoKey: 10.000000 ( 10d 0' 0.00"E)
  ProjFalseEastingGeoKey: 4321000.000000 m
  ProjFalseNorthingGeoKey: 3210000.000000 m
Datum: 6258/European Terrestrial Reference System 1989
Ellipsoid: 7019/GRS 1980 (6378137.00,6356752.31)
Projection Linear Units: 9001/metre (1.000000m)

Corner Coordinates:
Upper Left    (  746000.000, 5416000.000)  ( 56d53'37.20"W, 54d58' 9.89"N)
Lower Left    (  746000.000,  940000.000)  ( 25d21'35.79"W, 24d 0'38.62"N)
Upper Right   ( 7187000.000, 5416000.000)  ( 69d14'25.21"E, 59d59'41.78"N)
Lower Right   ( 7187000.000,  940000.000)  ( 38d46'29.07"E, 26d36'44.88"N)
Center        ( 3966500.000, 3178000.000)  (  4d52'43.62"E, 51d36' 2.00"N)


[2]

$ tmp/libgeotiff-1.3.0/bin/listgeo naturilis_v1.tif
TIFFReadDirectory: Warning, naturilis_v1.tif: unknown field with tag 
42112 (0xa480) encountered.
Geotiff_Information:
  Version: 1
  Key_Revision: 1.0
  Tagged_Information:
     ModelTiepointTag (2,3):
        0                0                0
        746000           5416000          0
     ModelPixelScaleTag (1,3):
        1000             1000             0
     End_Of_Tags.
  Keyed_Information:
     GTModelTypeGeoKey (Short,1): ModelTypeProjected
     GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
     GTCitationGeoKey (Ascii,24): "ETRS_1989_LAEA_L52_M10"
     GeographicTypeGeoKey (Short,1): User-Defined
     GeogCitationGeoKey (Ascii,15): "GCS_ETRS_1989"
     GeogGeodeticDatumGeoKey (Short,1): Datum_European_Reference_System_1989
     GeogAngularUnitsGeoKey (Short,1): Angular_Degree
     ProjectedCSTypeGeoKey (Short,1): User-Defined
     ProjectionGeoKey (Short,1): User-Defined
     ProjCoordTransGeoKey (Short,1): CT_LambertAzimEqualArea
     ProjLinearUnitsGeoKey (Short,1): Linear_Meter
     ProjFalseEastingGeoKey (Double,1): 4321000
     ProjFalseNorthingGeoKey (Double,1): 3210000
     ProjCenterLongGeoKey (Double,1): 10
     ProjCenterLatGeoKey (Double,1): 52
     End_Of_Keys.
  End_Of_Geotiff.

Projection Method: CT_LambertAzimEqualArea
  ProjCenterLatGeoKey: 52.000000 ( 52d 0' 0.00"N)
  ProjCenterLongGeoKey: 10.000000 ( 10d 0' 0.00"E)
  ProjFalseEastingGeoKey: 4321000.000000 m
  ProjFalseNorthingGeoKey: 3210000.000000 m
Datum: 6258/(unknown)
Ellipsoid: 0/(unknown) (0.00,0.00)
Projection Linear Units: 9001/metre (1.000000m)

Corner Coordinates:
Upper Left    (  746000.000, 5416000.000)
Lower Left    (  746000.000,  940000.000)
Upper Right   ( 7187000.000, 5416000.000)
Lower Right   ( 7187000.000,  940000.000)
Center        ( 3966500.000, 3178000.000)


Frank Warmerdam wrote:
> Folks,
> 
> I have prepared a beta release for a new libgeotiff release which I have
> dubbed 1.3.0.  The big changes are upgrading to EPSG 7.1, and switching
> to automake/libtool for build on unix.
> 
>    http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.3.0b1.tar.gz
> 
> Feedback is welcome, ideally as bugs filed at:
> 
>    http://geotiff.osgeo.org/
> 
(...)


More information about the Geotiff mailing list