Updating primitives

To export a valid Electronic Navigational Chart (ENC) or other S-57 dataset files, you must run the Update Primitives tool after making edits to the database. The Update Primitives tool is an advanced reconcile tool specific to S-57 data that runs several different processes. In addition to the standard reconcile function, the Update Primitives tool validates topology; updates geometric primitives; and, if set, removes unnecessary vector connected (VC) nodes. Essentially, it builds and maintains the necessary topological information to support S-57 products.

Even though the Update Primitives tool calls the standard reconcile functionality, this only occurs on ArcSDE databases. When you run Update Primitives on a personal or file geodatabase, it bypasses the reconcile process and continues with the rest of its functions. When running the Update Primitives tool on an ArcSDE database and conflicts are detected during the reconcile process, the Update Primitives tool displays the Conflict Resolution dialog box. Once the Update Primitives process is complete, you must post your data to SDE.DEFAULT database before you are allowed to export those changes using the Geodatabase to S-57 tool. If you are working with a personal or file geodatabase, you are only required to save those edits after running the Update Primitives tool to export.

The Update Primitives tool should only be run on S-57 databases used for ENC or Additional Military Layers (AML). The Update Primitives tool is not required for the Nautical Information System (NIS) or charting.

Learn more about reconciling your data

步骤:
  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.

The update primitives process is complete.

注意注意:

The Nautical Post tool is only enabled on the Nautical toolbar if you are using an ArcSDE database.


10/2/2010