Creating and modifying ENC primitive features

Whether you are creating an ENC product from scratch or updating an existing ENC, you will need to create new primitive features or update the existing primitive features on your ENC. This process will only be run on your production database. The NIS does not store primitive records, and the tool will not run when you are editing the NIS.

In the S-57 transfer standard, every feature record is linked to a vector object that stores the actual coordinate geometry. You can also populate the attributes held on the primitive records on the production database. If your data edits include a feature geometry insertion, modification or deletion, you must update your primitives on the production database before you can export to an S-57 file. The following sections will cover how primitives are handled in the Esri Nautical Solution.

Updating primitives

If you create, modify, or remove a feature record from the production database, you must run the Update Primitives tool. The Update Primitives tool can be found on the Nautical S-57 toolbar. Before you run the tool, you have the option to remove extraneous vector connected node records during the process. If you update the P_QUAPOS and/or P_POSACC fields when you create point and line features, the values are transferred to the corresponding QUAPOS and/or POSACC attributes.

  1. Start ArcMap.
  2. On the main menu, click Customize > Toolbars > Production Editing.
  3. Click the Production Start Editing button Production Start Editing on the Production Editing toolbar.

    The Manage Features and Create Attributes, Update Attributes, or Metadata Attributes windows automatically appear when you start an edit session using the Production Start Editing tool.


    If the Create Attributes, Update Attributes, or Metadata Attributes window does not appear when you start an edit session, click the Show/Hide Attributes button Show/Hide Attributes on the Manage Features window.

  4. On the main menu, click Customize > Toolbars > Nautical S-57.
  5. Click the Update Primitives button Update Primitives on the Nautical S-57 toolbar.

    A message appears asking if you want to clean unnecessary nodes. If the check box is checked, the Update Primitives tool removes any unnecessary VC nodes and merges the remaining vector edges together.


    It is recommended that you check the Clean unnecessary nodes check box if it's the first time you are using this tool after importing a cell.

  6. Click OK to update the cell.

    The tool begins to run, and you see a progress bar. When the process is complete, you are prompted to view the log file.

  7. Choose an option:
    • Yes—If you want to view the log file.
    • No—If you don't want to view the log files.

    The location of the log files generated by the tool is different depending on your operating system:

    • On Windows XP, log files are written to <Installation location>\Documents and Settings\<User Login>\Application Data\ESRI\Production10.0\Nautical\LogFiles\UpdatePrimitives.
    • On Windows Vista, Windows 7, and Windows Server 2008, log files are written to <Installation location>\Users\<UserLogin>\AppData\Roaming\ESRI\Production10.0\NAUTICAL\LogFiles\UpdatePrimitives.
    If the location doesn't exist, the tool creates the space for it. The log file is saved in XML format.


    If linear or point feature records hold conflicting P_QUAPOS and/or P_POSACC values during the Update Primitives process, the resulting spatial feature is listed in the log file describing the attribute conflict. For example, if two recently inserted BOYLAT and FOGSIG point features are spatially coincident but hold different values for P_QUAPOS, then the resulting vector isolated spatial feature will be listed in the log file showing the two different QUAPOS values. Since the vector isolated node feature is still created via Update Primitives, you can modify this feature with the correct QUAPOS value.

  8. If you choose to view the log file, close it when you are finished reviewing it to complete the process.

Populating attributes on primitive records

S-57 primitives hold attributes just like feature records, and you can modify them using the Feature Manager while in an edit session. However, using the Feature Manager only exposes the primitives QUAPOS and POSACC attributes. The S-57 Spatial Coder tool is on the Nautical S-57 toolbar. It provides access to a feature's geometric primitive (spatial) attributes and its feature record to spatial record pointer (FSPT) information.