CARIS HPD : S-57 Composer : Custom Product Example : Add Feature and Attribute Code Entries
 

Add Feature and Attribute Code Entries

S-57 files do not contain feature or attribute acronyms directly. Instead they contain numeric codes that are matched to the feature or attribute acronym. When an S-57 file is read or written, the application looks up the feature acronym matching the code and vice versa.

All numeric codes must be unique.

There are two lookup files:

obj_lut.txt matches feature acronyms to numeric codes

att_lut.txt matches attribute acronyms to numeric codes

Both files are located in C:\Program Files\CARIS\HPD\<version>\system\S57Config\system.

This is an example of obj_lut.txt:

ADMARE 1

AIRARE 2

ACHBRT 3

ACHARE 4

BCNCAR 5

BCNISD 6

BCNLAT 7

BCNSAW 8

BCNSPP 9

BERTHS 10

BRIDGE 11

BUISGL 12

The features and attributes in the catalogue must have unique numeric codes. Every feature and attribute acronym has to be added to these files and assigned a numeric value.

To edit the catalogue:

1. Open obj_lut.txt.

2. Add these two lines:

   crlref 30500

   mpaare 30501

3. Save and close the file.

Repeat for attribute acronyms in att_lut.txt. Each attribute must be added and assigned a unique numeric code.

4. Save and close the file.