Headers

ntx_type: ntx_header

This is a special feature that is used to hold the NTX file header information. This is the first feature the NTX reader produces and must be the first feature processed by the NTX writer. If this is not the first feature processed by the NTX writer, the information in this feature is ignored, and instead default values for the main header will be used. (This feature is mainly used for NTX-to-NTX translations.) This feature type holds no geometry or graphical information. The supported attributes are as follows:

Field Name

Description

ntx_main_header_size

The size of the main header.

Range: 198 (for NEMR) or 184

Default: 184

ntx_descriptor_size

The size of the descriptors (at least 13 words).

Range: signed 32-bit integer

Default: 16

ntx_format_id

The format ID, the version of NTX used.

Range: signed 32-bit integer

Default: 5

ntx_file_id

The file id. This value will be overridden if the writer directive FILE_ID_STRING is specified in the mapping file.

Range: Maximum size is 12 characters.

Default: SAFESOFTWARE

ntx_file_title

The file title. This value will be overridden if the writer directive TITLE_STRING is specified in the mapping file.

Range: Maximum size is 80 characters.

Default: This file was created by Safe Software’s (www.safe.com) FME® program.

ntx_hcoordsys

The coordinate system for the horizontal positions.

Range: Maximum size is 4 characters

Default: NRMR

ntx_height_units

The coordinate units for heights and depths.

Range: signed 32-bit integer

Default: MR (for metres)

ntx_trans_factx

The transformation x factor to convert from the internal integers to the coordinate system. This value will be overridden if the writer directive XYRES is specified in the mapping file.

Range: signed 64-bit real

Default: 1.0

ntx_trans_shiftx

The transformation x shift to convert from the internal integers to the coordinate system.

Range: signed 64-bit real

Default: 0.0

ntx_trans_facty

The transformation y factor to convert from the internal integers to the coordinate system. This value will be overridden if the writer directive XYRES is specified in the mapping file.

Range: signed 64-bit real

Default: 1.0

ntx_trans_shifty

The transformation y shift to convert from the internal integers to the coordinate system.

Range: signed 64-bit real

Default: 0.0

ntx_trans_factz

The transformation z factor to convert from the internal integers to the coordinate system. This value will be overridden if the writer directive ZRES is specified in the mapping file.

Range: signed 64-bit real

Default: 1.0

ntx_trans_shiftz

The transformation z shift to convert from the internal integers to the coordinate system.

Range: signed 64-bit real

Default: 0.0

ntx_proj

The map projection.

Range: Maximum size is 4 characters.

Default: LC (Lambert Conformal)

ntx_file_scale

The map scale. This value will be overridden if the writer directive SCALE is specified in the mapping file.

Range: signed 64-bit real

Default: 1.0

ntx_ctrl_meridian

The central meridian.

Range: signed 64-bit real

Default: 0.0

ntx_scale_lat1

The scaling latitude or central latitude.

Range: signed 64-bit real

Default: 0.0

ntx_scale_lat2

The second scaling latitude if needed.

Range: signed 64-bit real

Default: 0.0

ntx_ellipsoid

The ellipsoid type.

Range: Maximum size is 4 characters.

Default: CL66 (Clarke 1866)

ntx_vert_datum

The vertical datum.

Range: Maximum size is 4 characters.

Default: MSL (Mean Sea Level)

ntx_proj_scale

The scaling factor for the projection.

Range: signed 64-bit real

Default: 1.0

ntx_alignx0

The first x coordinate of alignment line in internal file units. (Only for CHMR files.)

Range: signed 32-bit integer

Default: 0

ntx_aligny0

The first y coordinate of alignment line in internal file units. (Only for CHMR files.)

Range: signed 32-bit integer

Default: 0

ntx_alignx1

The second x coordinate of alignment line in internal file units. (Only for CHMR files.)

Range: signed 32-bit integer

Default: 0

ntx_aligny1

The second y coordinate of alignment line in internal file units. (Only for CHMR files.)

Range: signed 32-bit integer

Default: 0

ntx_align_latlongx0

The first x latitude/longitude coordinate of the alignment line.

Range: signed 64-bit real

Default: 0.0

ntx_align_latlongy0

The first y latitude/longitude coordinate of the alignment line.

Range: signed 64-bit real

Default: 0.0

ntx_align_latlongx1

The second x latitude/longitude coordinate of the alignment line.

Range: signed 64-bit real

Default: 0.0

ntx_align_latlongy1

The second y latitude/longitude coordinate of the alignment line.

Range: signed 64-bit real

Default: 0.0

ntx_boxx_sw

The bounding box x southwest coordinate. A calculated value will be used instead if the writer directive CALCULATE_BOUNDING_BOX is specified in the mapping file.

Range: signed 32-bit integer

Default: 0

ntx_boxy_sw

The bounding box y southwest coordinate. A calculated value will be used instead if the writer directive CALCULATE_BOUNDING_BOX is specified in the mapping file.

Range: signed 32-bit integer

Default: 0

ntx_boxx_se

The bounding box x southeast coordinate. A calculated value will be used instead if the writer directive CALCULATE_BOUNDING_BOX is specified in the mapping file.

Range: signed 32-bit integer

Default: 0

ntx_boxy_se

The bounding box y southeast coordinate. A calculated value will be used instead if the writer directive CALCULATE_BOUNDING_BOX is specified in the mapping file.

Range: signed 32-bit integer

Default: 0

ntx_boxx_ne

The bounding box x northeast coordinate. A calculated value will be used instead if the writer directive CALCULATE_BOUNDING_BOX is specified in the mapping file.

Range: signed 32-bit integer

Default: 0

ntx_boxy_ne

The bounding box y northeast coordinate. A calculated value will be used instead if the writer directive CALCULATE_BOUNDING_BOX is specified in the mapping file.

Range: signed 32-bit integer

Default: 0

ntx_boxx_nw

The bounding box x northwest coordinate. A calculated value will be used instead if the writer directive CALCULATE_BOUNDING_BOX is specified in the mapping file.

Range: signed 32-bit integer

Default: 0

ntx_boxy_nw

The bounding box y northwest coordinate. A calculated value will be used instead if the writer directive CALCULATE_BOUNDING_BOX is specified in the mapping file.

Range: signed 32-bit integer

Default: 0

ntx_boxlong_sw

The bounding box longitude southwest coordinate. (Only for CHMR files.)

Range: signed 64-bit real

Default: 0.0

ntx_boxlat_sw

The bounding box latitude southwest coordinate. (Only for CHMR files.)

Range: signed 64-bit real

Default: 0.0

ntx_boxlong_se

The bounding box longitude southeast coordinate. (Only for CHMR files.)

Range: signed 64-bit real

Default: 0.0

ntx_boxlat_se

The bounding box latitude southeast coordinate. (Only for CHMR files.)

Range: signed 64-bit real

Default: 0.0

ntx_boxlong_ne

The bounding box longitude northeast coordinate. (Only for CHMR files.)

Range: signed 64-bit real

Default: 0.0

ntx_boxlat_ne

The bounding box latitude northeast coordinate. (Only for CHMR files.)

Range: signed 64-bit real

Default: 0.0

ntx_boxlong_nw

The bounding box longitude northwest coordinate. (Only for CHMR files.)

Range: signed 64-bit real

Default: 0.0

ntx_boxlat_nw

The bounding box latitude northwest coordinate. (Only for CHMR files.)

Range: signed 64-bit real

Default: 0.0

ntx_sound_units

The units used for plotting the soundings.

Range: Maximum size is 2 characters.

Default: MR (meters and decimeters)

ntx_spot_height_units

The units used for plotting the spot heights.

Range: Maximum size is 1 character.

Default: M (meters)

ntx_spot_height_dec

The number of digits to be displayed to the right of the decimal.

Range: signed 16-bit integer

Default: 2

ntx_edit_year

The year the file was last edited.

Range: signed 16-bit integer

Default: the current year

ntx_edit_day

The Julian day the file was last edited.

Range: signed 16-bit integer

Default: the current Julian day

ntx_edit_time

The time of the day of the last edit using the 24-hour clock.

Range: signed 16-bit integer

Default: the current time

ntx_timezone_offset

The time zone. The offset in minutes from the GMT (+/-) for time measurements.

Range: signed 32-bit integer

Default: the local time zone

ntx_false_northing

The false northing. (N’ = N + ntx_false_northing)

Range: signed 64-bit real

Default: 0.0

ntx_false_easting

The false easting. (E’ = E + ntx_false_easting)

Range: signed 64-bit real

Default: 0.0