Importing and baselining existing AML data

If you have existing AML data that needs to be imported into the geodatabase for further modifications, you need to first baseline your data within the geodatabase. The baselining process consists of the following steps:

  1. Importing your AML cell into the product geodatabase (Desktop only)
  2. Verifying features
  3. Reconciling and posting to DEFAULT
  4. Creating an edit version from DEFAULT
  5. Preparing data for export to S-57 format
  6. Exporting a New Edition dataset file

The following sections cover these steps in detail.

Importing your AML cell into the product geodatabase

The first step of the baseline process is importing your AML cell into the product geodatabase, which is performed via the S-57 To Geodatabase tool.

NoteNote:

Import should only be done after setting up the AML production environment.

Steps:
  1. Start ArcCatalog.
  2. In the Catalog Tree window, right-click the feature dataset into which you want to import and click Import > S-57 to Geodatabase.
    Import S-57 to Geodatabase command

    The S-57 to Geodatabase dialog box appears.

    S-57 to Geodatabase dialog box for importing into an NIS database
    S-57 to Geodatabase dialog box for importing into an NIS database
    NoteNote:

    If you are importing into a non-NIS production database, the override options will not be available.

  3. Click the browse button (...) next to the Input S-57 Cell text box.
  4. Navigate to and choose the S-57 cell you want to import.
    TipTip:

    If you are importing multiple cells, you must select them at the same time and from the same directory.

  5. Click Open.
    NoteNote:

    If you are importing S-57 data into a non-NIS production database or do not want to use the override options for your NIS database, skip to step 8; otherwise, continue to the next step to override CSCL and M_CSCL values.

  6. Check the Override CSCL and M_CSCL values check box to enable the grid view for editing.

    If you are importing into NIS, the Override CSCL and M_CSCL values grid is populated with rows that show the imported cells DSPM:CSCL and M_CSCL:CSCALE values.

  7. Click the cell in the Override column and type the new value for the DSPM:CSCL and/or M_CSCL:CSCALE value.

    The updated values are populated into the COMP_SCALE property during import.

  8. Click OK.

    A status dialog box appears.

    When the process is complete, the S-57 to Geodatabase dialog box appears and asks you if you want to view the log file.

  9. Click Yes to open and review the log file.

    The log file shows the following information:

    • Metadata information that was imported, such as dataset ID (DSID), dataset structure information (DSSI), and dataset parameter (DSPM)
    • The new value, if you have imported into an NIS database and replaced the imported cell's CSCL value with one of your own
    • The number of features and primitives that were imported
    • The amount of time it took to import
    • Any errors that occurred (listed at the top of the log file)
    • The import version name that was created and populated, if you imported into an ArcSDE geodatabase
    • The amount of time it took to read the file for the override option (NIS only)
  10. Close the log file once you are finished reviewing it.
    TipTip:

    If importing into an ArcSDE geodatabase, you will need to reconcile and post your data in the import version to the Default version.

Verifying features

Every feature within the production database contains a VERIFIED field. Whenever a feature is modified, both spatially or at the attribute level, the VERIFIED field will automatically get set to False. These unverified features need to be reviewed through your quality control process, and the field must be set to True before you can post your data changes to the Default version. To set the VERIFIED field to True, follow the steps below.

Steps:
  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.
    NoteNote:

    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.

    TipTip:

    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. Select the unverified feature.
  5. Click the Update tab on the Manage Features window and highlight the feature.
  6. Click the Update Attributes window.
  7. Change the VERIFIED field to True.
  8. Click Apply.
  9. Click the Save Edits button Save Edits.
  10. Click the Stop Editing button Stop Editing on the Production Editing toolbar.

    The geodatabase becomes uneditable. If you have made edits, you will be prompted to save the changes if you want.

If you have multiple features that need to have their VERIFIED field set to True, it is highly recommended that you use the Production Advanced Query tool. The Production Advanced Query tool can select all the unverified features and allow you to browse through them one by one, or you can perform a batch update and set all the verification fields to True at once.

NoteNote:

When querying for unverified features using the Production Advanced Query tool, make sure you use a query expression that finds both false and null values for the applicable verification field; for example, VERIFIED = 0 OR VERIFIED Is Null. This expression will ensure that you find both VERIFIED = 0 (False) and VERIFIED fields that are null.

Reconciling and posting to DEFAULT

After successfully importing your AML data into the applicable production database, you need to reconcile and post the data into the DEFAULT version.

Steps:
  1. Connect to the import version in ArcMap.
  2. Click the Production Start Editing button Production Start Editing on the Production Editing toolbar.
    NoteNote:

    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.

    TipTip:

    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.

  3. Click the Reconcile button Reconcile on the Nautical toolbar.
  4. Click the Nautical Post button Nautical Post on the Nautical toolbar.

    The data stored in your production database is moved into the DEFAULT parent version.

Creating an edit version from DEFAULT

After posting to the DEFAULT version, you need to stop the edit session, connect to the DEFAULT version, and create an edit version from DEFAULT. Make sure you connect to your edit version before moving to the next step.

Steps:
  1. Open the Version Manager dialog box using one of the following methods:
    • In the Catalog tree, right-click a connection to the geodatabase and click Versions.
    • In ArcMap, click the Version Manager button on the Versioning toolbar.

    The Version Manager dialog box opens.

  2. To create a new version, right-click the version from which you want to derive the new version and click New.

    This will open the New Version dialog box.

  3. Type a name for the new version.
    TipTip:

    The length of the version name is limited to 62 characters.

  4. Type a description of the version (optional).
    TipTip:

    You can use the version description to provide additional information regarding the version's purpose. The size limit on the description is 62 characters.

  5. Choose the desired permission level for the version: Private, Public, or Protected.
  6. Click OK to create the new version.

Performing quality control on S-57 data

After the data has been edited, and prior to export to S-57 format, quality control procedures must be performed. This ensures that invalid or missing features are found and corrected prior to exporting.

The ESRI Nautical Solution includes a batch job for each AML product to check that all mandatory attributes are populated based on the V2.1 specification.

The following steps outline using the Data Reviewer functionality to perform batch validation.

Steps:
  1. Start ArcMap.
  2. If necessary, load data in the map.
  3. On the main menu, click Customize > Toolbars > Data Reviewer.
  4. Click the Reviewer Session Manager button Reviewer Session Manager on the Data Reviewer toolbar.

    The Reviewer Session Manager dialog box appears.

    Reviewer Session Manager
  5. Click Browse in the Reviewer Workspace area.

    The Reviewer Workspace dialog box appears.

  6. Navigate to the geodatabase in which the Reviewer dataset is going to be stored.
  7. Click Add.
  8. Click New to start a new Reviewer session.

    The Reviewer Workspace Properties dialog box appears.

    Reviewer Workspace Properties dialog box
  9. Choose an option for the spatial reference.
    • Use Default Spatial Reference (WGS-84)—Sets the Reviewer dataset's spatial reference to GCS_WGS_1984. This is the default spatial reference for ArcMap.
    • Use Active Data Frame Spatial Reference—The Reviewer dataset's spatial reference matches that of the active data frame.
    • Browse To Spatial Reference—Sets the Reviewer dataset's spatial reference to one you choose.
      NoteNote:

      If you choose Browse To Spatial Reference, the New Spatial Reference wizard appears so you can choose the spatial reference you want to use with the Reviewer dataset.

  10. Click OK.

    The ID and Name text boxes are automatically populated in the Session area.

  11. If necessary, type a custom name for the current Reviewer session in the Name text box.

    By default, the name matches the ID.

  12. If you are working with an ArcSDE geodatabase for Microsoft SQL Server Express licensed for ArcGIS Desktop, click the Reviewer Dataset Version drop-down arrow and choose the version to be used.
  13. Click Start Session.

    The button name changes to End Session.

  14. Click Close.
  15. Click the Reviewer Batch Validate button Reviewer Batch Validate on the Data Reviewer toolbar.

    The Batch Validate dialog box appears.

    Initial view of the Batch Validate dialog box

  16. Click Add from Product Library.

    The Choose Batch Job(s) dialog box appears.

    Choose Batch Job(s) dialog box
  17. In the Production Database area, click the Version drop-down arrow and choose the edit version created in the Creating an edit version from DEFAULT section (previous section).
  18. Click the Choose Product Class drop-down arrow and choose the appropriate AML product class.

    The Choose Batch Job(s) list populates with the associated batch job for the AML product.

  19. In the Choose Batch Job(s) list, select the batch job listed.
  20. Click OK.

    The Batch Validate dialog box appears.

    The checks in the batch job appear in the Batch Jobs area.

    NoteNote:

    If there are multiple workspaces referenced in the batch job, the Update to Single Workspace dialog box appears so you can choose the workspace you want to validate with the batch jobs.

    NoteNote:

    When there is only one workspace in ArcMap, the batch job's workspace is automatically updated to the current workspace.

    NoteNote:

    To remove a batch job group from the Batch Jobs area of the Batch Validate dialog box, click the batch job group and click Remove. If only one batch job group is listed in the Batch Jobs area, the default checks are also deleted.

    NoteNote:

    To quickly select and deselect checks, you can also use Select All Groups and Unselect All Groups by right-clicking in the Batch Jobs area.

  21. Optionally, click Validate All to ensure that all the feature classes that correspond with the checks are loaded in the map and to add any default checks.
    TipTip:

    The default checks are selected on the Reviewer Session Manager dialog box on the Default Checks tab.

  22. Choose the Full Database option located in the Feature to Validate area.
  23. In the Batch Jobs tree view, ensure that all items are checked.
  24. Click Run.
    TipTip:

    Once a batch job is added on the Batch Validate dialog box, you can minimize and maximize the groups in the batch job. This also minimizes and maximizes the default checks that are included.

    The default checks and the checks included with the batch job are run against the extent you have chosen. When the batch job has finished running, a message appears notifying you of the number of records that have been written to the Reviewer table.

  25. Click OK.

    Any errors that are found are written to the Reviewer table automatically.

  26. If errors are found, open the Reviewer table to see the mandatory attribute errors.

Preparing data for export to S-57 format

Prior to exporting from the geodatabase to S-57 format, the ENC data must be quality controlled by running the S58 quality control checks against it with the Data Reviewer Batch Validate tool to ensure proper attribute encoding. Once the quality control process is complete, the data is prepared for export from the geodatabase to S-57 format by running the Update Primitives tool and executing Nautical Post.

Steps:
  1. Click the Production Start Editing button Production Start Editing on the Production Editing toolbar.
    NoteNote:

    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.

    TipTip:

    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.

  2. On the main menu, click Customize > Toolbars > Nautical S-57.
  3. 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.

    NoteNote:

    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.

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

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

    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.

    NoteNote:

    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.

  6. If you choose to view the log file, close it when you are finished reviewing it to complete the process.
  7. Click the Nautical Post button Nautical Post on the Nautical toolbar.
    NoteNote:

    If the Nautical Post button is disabled, you must first reconcile any changes or run Update Primitives.

    NoteNote:

    If you have unverified features in your edit version, a message appears notifying you that there are unverified features found in your version. You must verify all features before clicking the Nautical Post button again.

Exporting a New Edition dataset file

The final step of the baseline process is exporting a New Edition file that contains all your geometry upgrades from the Update Primitives process. You will need to open ArcCatalog and use the Geodatabase To S-57 tool to generate the New Edition file.

If you need to perform general editing tasks on your existing AML product, see Editing AML features and continue with the rest of the steps in those procedures before exporting.

Steps:
  1. Start ArcCatalog.
  2. Navigate to and right-click the feature dataset from which you want to export and click Export > Geodatabase to S-57.

    The Geodatabase to S-57 dialog box appears.

    Geodatabase to S-57 dialog box
    Geodatabase to S-57 dialog box
  3. On the Main tab, check the check box next to the cell that you want to export.
  4. Click the Export tab.
  5. Click the box showing <Unknown> in the Data Set Record Type column to define the dataset type.
    Geodatabase to S-57 Export tab
    Geodatabase to S-57 Export tab
  6. Choose the dataset type from the drop-down list.
    TipTip:

    Temp New Edition allows you to export a new edition dataset type. You can change the dataset name of the file and other metadata about the temporary new edition.

    The S57 Metadata dialog box appears.

  7. Define the cell metadata.

    Once you define metadata, the check box in the Ready column for that cell is checked.

  8. Click Output Location.

    Navigate to the location for the export file.

  9. Click Export.

    A status dialog box appears showing you which feature is being exported.

  10. Click Yes to open the log file.

    The log file shows the following information:

    • Metadata information that was exported such as DSID, DSSI, and DSPM
    • The number of features and primitives that were exported
    • The amount of time it took for the export to process
    • Any errors that occurred, listed at the top of the log file
    TipTip:

    Temporary New Editions do not get stored in the database. The system does not record that a temporary new edition gets exported.


4/19/2012