[Gdal-dev] NITF transformation problem

Peng Gao pgao at esri.com
Fri Apr 15 22:59:41 EDT 2005


> I'm a bit confused.  The Geotransform is only six doubles long.  Is
> it GetGeoTransform() that is returning the above values?  If so,
> why do you get eight values?  Does GetGeoTransform() return
> CE_None?
> 

Sorry. It's 6 zeros, and GetGeoTransform returned CE_NONE. I don't have
nitfdump. Here is the output from gdalinfo:


C:\GDAL\bin>gdalinfo \\shangrila\formats\nitf\s211g0j2.ntf
Driver: NITF/National Imagery Transmission Format
Size is 1024, 1024
Coordinate System is:
PROJCS["UTM Zone 0, Northern Hemisphere",
    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"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",-183],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0]]
Origin = (0.000000,0.000000)
Pixel Size = (0.00000000,0.00000000)
Metadata:
  NITF_FHDR=NITF02.00
  NITF_CLEVEL=01
  NITF_STYPE=
  NITF_OSTAID=S211G0J2
  NITF_FDT=03191636ZMAR93
  NITF_FTITLE=This NITF file contains 1 JPEQ image.
  NITF_FSCLAS=U
  NITF_FSCODE=
  NITF_FSCTLH=
  NITF_FSREL=
  NITF_FSCAUT=
  NITF_FSCTLN=
  NITF_FSDWNG=999998
  NITF_FSDEVT=This message will not need a downgrade.
  NITF_FSCOP=00000
  NITF_FSCPYS=00000
  NITF_ENCRYP=0
  NITF_ONAME=JITC Fort Huachuca, AZ
  NITF_OPHONE=(602) 538-5458
  NITF_IID1=0000000001
  NITF_IDATIM=01120000ZJAN89
  NITF_TGTID=
  NITF_ITITLE=This is an unclassified image in an unclassified NITF file Q3.
  NITF_ISCLAS=U
  NITF_ISCODE=
  NITF_ISCTLH=
  NITF_ISREL=
  NITF_ISCAUT=
  NITF_ISCTLN=
  NITF_ISDWNG=999998
  NITF_ISDEVT=This image will not need downgrading.
  NITF_ISORCE=
  NITF_PVTYPE=INT
  NITF_IREP=MONO
  NITF_ICAT=VIS
  NITF_ABPP=08
  NITF_PJUST=R
  NITF_IMAGE_COMMENTS=This is image comment #1 for the unclassified image #1
fro
m test message Q3.    This is image comment #2 for the unclassified image #1
fro
m test message Q3.    This is image comment #3 for the unclassified image #1
fro
m test message Q3.    This is image comment #4 for the unclassified image #1
fro
m test message Q3.    This is image comment #5 for the unclassified image #1
fro
m test message Q3.    This is image comment #6 for the unclassified image #1
fro
m test message Q3.    This is image comment #7 for the unclassified image #1
fro
m test message Q3.    This is image comment #8 for the unclassified image #1
fro
m test message Q3.    This is image comment #9 for the unclassified image #1
fro
m test message Q3.
  NITF_IC=C3
  NITF_IMODE=B
Corner Coordinates:
Upper Left  (   0.0000000,   0.0000000)
Lower Left  (   0.0000000,   0.0000000)
Upper Right (   0.0000000,   0.0000000)
Lower Right (   0.0000000,   0.0000000)
Center      (   0.0000000,   0.0000000)
Band 1 Block=1024x1024 Type=Byte, ColorInterp=Undefined

C:\GDAL\bin>



More information about the Gdal-dev mailing list