[Gdal-dev] ECW "Rotational Coefficients Ignored"

Dan Greve grevedan at hotmail.com
Fri Aug 5 10:12:00 EDT 2005


Does this mean the input images need to be warped to North-Up?  What are the 
rotational coefficients ignored?  I'm trying to convert a NITF into an ECW 
with gdal_translate and no special switches.  I get the same error for 
JP2ECW and ECW.

Here's the source nitf info

<snip>
Driver: NITF/National Imagery Transmission Format
Size is 1008, 1018
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"]],
    AXIS["Lat",NORTH],
    AXIS["Long",EAST],
    AUTHORITY["EPSG","4326"]]
GeoTransform =
  -117.8627781861234, -2.758468498700545e-007, 1.092537965703008e-006
  34.90493000453995, 9.654639743857878e-007, 1.36567245712876e-007
Metadata:
  NITF_FHDR=NITF02.00
  NITF_CLEVEL=99
  NITF_STYPE=
  NITF_OSTAID=CWIN
  NITF_FDT=13214514ZMAR99
  NITF_FTITLE=
    0019960002
  NITF_FSCLAS=U
  NITF_FSCODE=
  NITF_FSCTLH=
  NITF_FSREL=
  NITF_FSCAUT=
  NITF_FSCTLN=
  NITF_FSDWNG=
  NITF_FSCOP=
  NITF_FSCPYS=
  NITF_ENCRYP=0
  NITF_ONAME=
  NITF_OPHONE=
  NITF_IID1=      9228
  NITF_IDATIM=13214514ZMAR99
  NITF_TGTID=
  NITF_ITITLE=
  NITF_ISCLAS=U
  NITF_ISCODE=
  NITF_ISCTLH=
  NITF_ISREL=
  NITF_ISCAUT=
  NITF_ISCTLN=
  NITF_ISDWNG=
  NITF_ISORCE=
  NITF_PVTYPE=INT
  NITF_IREP=MONO
  NITF_ICAT=VIS
  NITF_ABPP=08
  NITF_PJUST=R
  NITF_IMAGE_COMMENTS=

  NITF_IC=NC
  NITF_IMODE=B
Corner Coordinates:
Upper Left  (-117.8627782,  34.9049300) (117d51'46.00"W, 34d54'17.75"N)
Lower Left  (-117.8616660,  34.9050690) (117d51'42.00"W, 34d54'18.25"N)
Upper Right (-117.8630562,  34.9059032) (117d51'47.00"W, 34d54'21.25"N)
Lower Right (-117.8619440,  34.9060422) (117d51'43.00"W, 34d54'21.75"N)
Center      (-117.8623611,  34.9054861) (117d51'44.50"W, 34d54'19.75"N)
Band 1 Block=1008x1 Type=Byte, ColorInterp=Undefined
</snip>

And the output ECW
<snip>
Driver: ECW/ERMapper Compressed Wavelets
Size is 1008, 1018
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"]],
    AXIS["Lat",NORTH],
    AXIS["Long",EAST],
    AUTHORITY["EPSG","4326"]]
Origin = (0.000000,1018.000000)
Pixel Size = (1.00000000,-1.00000000)
Corner Coordinates:
Upper Left  (       0.000,    1018.000) (  0d 0'0.01"E,1018d 0'0.00"N)
Lower Left  (   0.0000000,   0.0000000) (  0d 0'0.01"E,  0d 0'0.01"N)
Upper Right (    1008.000,    1018.000) (1008d 0'0.00"E,1018d 0'0.00"N)
Lower Right (    1008.000,       0.000) (1008d 0'0.00"E,  0d 0'0.01"N)
Center      (     504.000,     509.000) (504d 0'0.00"E,509d 0'0.00"N)
Band 1 Block=1008x1 Type=Byte, ColorInterp=Gray
  Overviews: arbitrary
</snip>





More information about the Gdal-dev mailing list