Creating and modifying AML primitive features

If you perform any geometry edits, whether they be new feature inserts, existing feature modifications, or deletions, you will need to create new primitive features or update the existing primitive features on your AML.

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 product database. If your data edits include a feature geometry insertion, modification or deletion, you must update your primitives on the product database before you can export to an S-57 file. The following sections will cover how primitives are handled in the Nautical Solution.

注意注意:

When you build a complex feature, the Update Primitives process will not split the features geometry if it intersects a noncomplex or complex feature. This is due to the complex features being mathematically derived and not being split upon intersecting other features.

注意注意:

You cannot edit complex features at this time in the process; you can only insert and delete them.

Updating primitives

If you create, modify, or remove a feature record from the product geodatabase, 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.
    提示提示:

    If the ArcMap - Getting Started dialog box appears, you can open a new or existing map document. You can also check the Do not show this dialog box in the future check box and click Open.

  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 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.

  9. 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.


10/2/2010