NITF Map Information Background


Map information in a NITF file can come from multiple sources. See the following sections:

RPC00A and RPC00B

If the RPC00A or RPC00B TRE exists, the RPC model is used to emulate a projection by default. If RPC information is available in a NITF file, the projection description in ENVI includes the string *RPC* prior to the name of the coordinate system in which the image resides.

If the Image Chip Support Data Extension Version B TRE (ICHIPB) is also present, information from this TRE is used to specify the offsets for the resulting map information. These offsets are needed to ensure the map information is consistent with the original positioning data.

DIGEST GeoSDE TREs

The software uses Digital Geographic Information Exchange Standard (DIGEST) GeoSDE TREs to improve georeferencing accuracy in NITF images. The software can use the Geo Positioning Information Extension (GEOPSB) and Projection Parameters Extension (PRJPSB) TREs stored in the file header, and the Local Geographic (lat/long) Coordinate System Extension (GEOLOB) and Local Cartographic Coordinate System (MAPLOB) TREs stored in the image segment subheader. Only these GeoSDEs are supported.

A complete, valid GeoSDE TRE set requires a GEOPSB TRE in the file header. This TRE defines the basic coordinate system information including ellipsoid, datum, units, and whether the coordinate system is geographic or cartographic (projected). If the GEOPSB TRE specifies a cartographic coordinate system, it must also be accompanied in the file header by the PRJSPB TRE, which specifies the associated projection and defines the projection parameters, if required.

In addition, only one of the following TREs must be present in the image segment to which the map information applies: GEOLOB, MAPLOB, GRDPSB, or REGPTB. Because GRDPSB and REGPTB TREs are not supported, image segments containing these TREs must obtain map information from another source. The GEOLOB TRE is provided if the GEOPSB TRE specifies a geographic projection, and the MAPLOB TRE specifies a cartographic projection. Both TREs store the coordinate location of the upper-left corner of the image and the (x, y) pixel size.

NITF images containing projection codes are not supported. The software cannot use the MAPLOB TRE to find map information. Unrecognized datum codes default to WGS-84.

When packing NITF files, you cannot create, edit, or delete the DIGEST GeoSDE TREs. If the NITF file contains valid GEOLOB or GEOPSB TREs, they are preserved if you save the file to a NITF-formatted file. If you are chipping the scene, the ICHIPB TRE is added.

ICORDS and IGEOLO

The software uses the image coordinate representation (ICORDS) and image geolocation (IGEOLO) header field in the image subheader to calculate map information for an image.

These image subheader fields contain values relative to how map information is displayed:

  • ICORDS: A character representing the coordinate system of the image. The character can specify either UTM or Geographic coordinates, or may specify that no corner coordinates are present.
  • IGEOLO: The coordinates for each of the four corner points. If the corner points are rectified, the upper-left corner position and the pixel size are calculated and standard map information is generated for the image. Otherwise, the four corner points are used to calculate a polynomial warp used to individually calculate the coordinate location for each pixel. The polynomial warp process results in what is referred to in ENVI as a pseudo projection, which can be identified in the projection description by the inclusion of the string *pseudo* prior to the name of the coordinate system in which the image resides.

If a NITF file contains multiple sources of map information, the order and precedence for reading the coordinate system is as follows.

Order and Precedence for Reading Map Information

ENVI reads one sensor-based coordinate system (RPC) and up to one rectangular or warp coordinate system (tie point and pixel size, or affine map transformation).

  1. Replacement sensor model (RSM) information.
  2. RPC information: the software attempts to use RPC map information for the file.
  3. MAPLOB, PRJPSB, and GEOPSB TREs: Map information (if available) will be imported from these TREs, and tie point and pixel sizes will be created in the specified projection. If the projection is not supported, this information is considered invalid and the next georeferencing method is attempted.
  4. GEOLOB and GEOPSB TREs: If available, tie point and pixel size will be imported from these TREs in a geographic coordinate system.
  5. IGEOLO field in the NITF image subheader: the software parses this subheader field; if it finds valid coordinates, it determines if they are rectified. If so, tie point and pixel size are computed for the image. Otherwise, an affine map transformation is used to determine georeferencing for the image.