Importing and baselining existing ENC data
This section is for working with existing ENC data that requires modifications within the geodatabase. If you need to create a new ENC cell, please see Creating new ENC data.
If you have existing ENC 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:
- Importing your ENC cell into the product geodatabase (Desktop only)
- Verifying features
- Reconciling and posting to DEFAULT
- Creating an edit version from DEFAULT (Desktop only)
- Preparing data for export to S-57 format
- Exporting a New Edition dataset file
The following sections cover these steps in detail.
Importing your ENC cell into the product geodatabase (Desktop only)
The first step of the baseline process is importing your ENC cell into the product geodatabase, which is performed via the S-57 To Geodatabase tool.
Import should only be done after setting up the ENC production environment.
- Start ArcCatalog.
-
In the Catalog Tree window, right-click the feature dataset into which you want to import and click Import > S-57 to Geodatabase.
The S-57 to Geodatabase dialog box appears.
Note:If you are importing into a non-NIS production database, the override options will not be available.
- Click the browse button (...) next to the Input S-57 Cell text box.
-
Navigate to and choose the S-57 cell you want to import.
Tip:
If you are importing multiple cells, you must select them at the same time and from the same directory.
-
Click Open.
Note:
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.
- 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.
- 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.
-
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.
-
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)
- Close the log file once you are finished reviewing it.Tip:
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.
- Start ArcMap.Tip:
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.
- On the main menu, click Customize > Toolbars > Production Editing.
-
Click the Production Start Editing button on the Production Editing toolbar.
Note:
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.
Tip: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 on the Manage Features window.
- Select the unverified feature.
- Click the Update tab on the Manage Features window and highlight the feature.
- Click the Update Attributes window.
- Change the VERIFIED field to True.
- Click Apply.
- Click the Save Edits button .
-
Click the Stop Editing button 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.
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 ENC data into the applicable product database, you need to reconcile and post the data into the DEFAULT version.
- Connect to the import version in ArcMap.
-
Click the Production Start Editing button on the Production Editing toolbar.
Note:
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.
Tip: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 on the Manage Features window.
- Click the Reconcile button on the Nautical toolbar.
- Click the Nautical Post button on the Nautical toolbar.
The data stored in your production database is moved into the DEFAULT parent version.
Creating an edit version from DEFAULT (Desktop only)
If working in a desktop production environment, you need to stop the edit session after posting to the DEFAULT version, 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.
-
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.
-
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.
-
Type a name for the new version.
Tip:
The length of the version name is limited to 62 characters.
-
Type a description of the version (optional).
Tip:
You can use the version description to provide additional information regarding the version's purpose. The size limit on the description is 62 characters.
- Choose the desired permission level for the version: Private, Public, or Protected.
- 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 following steps outline using the Data Reviewer functionality to perform batch validation.
- Start ArcMap.
- If necessary, load data in the map.
- On the main menu, click Customize > Toolbars > Data Reviewer.
-
Click the Reviewer Session Manager button on the Data Reviewer toolbar.
The Reviewer Session Manager dialog box appears.
-
Click Browse in the Reviewer Workspace area.
The Reviewer Workspace dialog box appears.
- Navigate to the geodatabase in which the Reviewer dataset is going to be stored.
- Click Add.
-
Click New to start a new Reviewer session.
The Reviewer Workspace Properties dialog box appears.
-
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.Note:
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.
-
Click OK.
The ID and Name text boxes are automatically populated in the Session area.
-
If necessary, type a custom name for the current Reviewer session in the Name text box.
By default, the name matches the ID.
- 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.
-
Click Start Session.
The button name changes to End Session.
- Click Close.
-
Click the Reviewer Batch Validate button on the Data Reviewer toolbar.
The Batch Validate dialog box appears.
-
Click Add from Product Library.
The Choose Batch Job(s) dialog box appears.
- 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).
- Click the Choose Product Class drop-down arrow and choose the appropriate ENC product class.
The Choose Batch Job(s) list populates with the associated batch job for the ENC product.
Tip:The ESRI Nautical Solution also includes Reviewer batch jobs for ENC S-58 data validation.
- In the Choose Batch Job(s) list, select the batch job listed.
- Click OK.
The Batch Validate dialog box appears.
The checks in the batch job appear in the Batch Jobs area.
Note: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.
Note:When there is only one workspace in ArcMap, the batch job's workspace is automatically updated to the current workspace.
Note: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.
Note: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.
-
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.Tip:
The default checks are selected on the Reviewer Session Manager dialog box on the Default Checks tab.
- Choose the Full Database option located in the Feature to Validate area.
The Features to Validate option you choose will be based on your production environment. When validating data in the desktop workflow on the product geodatabase, choose the Full Database option. When validating data in the enterprise workflow, you should validate your products data within the NIS geodatabase, as that is where any corrections must be made. When validating data in the NIS, first set your feature display settings to the appropriate product scale, then zoom to the extent of your product AOI and choose to validate based on Current Extent.
- In the Batch Jobs tree view, ensure that all items are checked.
-
Click Run.
Tip:
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.
- Click OK.
Any errors that are found are written to the Reviewer table automatically.
- 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.
You should be connected to your CM version if in an enterprise production environment, and to your edit version if in a desktop production environment, before you run the Update Primitives tool.
-
Click the Production Start Editing button on the Production Editing toolbar.
Note:
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.
Tip: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 on the Manage Features window.
- On the main menu, click Customize > Toolbars > Nautical S-57.
-
Click the Update Primitives button 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.
Note: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.
-
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.
-
Choose an option:
- Yes—If you want to view the log file.
- No—If you don't want to view the log files.
Note: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.
Note: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.
- If you choose to view the log file, close it when you are finished reviewing it to complete the process.
-
Click the Nautical Post button on the Nautical toolbar.
Note:
If the Nautical Post button is disabled, you must first reconcile any changes or run Update Primitives.
Note: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 ENC product, see Editing ENC features and continue with the rest of the steps in these procedures before exporting.
- Start ArcCatalog.
-
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.
- On the Main tab, check the check box next to the cell that you want to export.
- Click the Export tab.
-
Click the box showing <Unknown> in the Data Set Record Type column to define the dataset type.
-
Choose the dataset type from the drop-down list.
Tip:
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.
-
Define the cell metadata.
Once you define metadata, the check box in the Ready column for that cell is checked.
-
Click Output Location.
Navigate to the location for the export file.
-
Click Export.
A status dialog box appears showing you which feature is being exported.
-
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
Tip:Temporary New Editions do not get stored in the database. The system does not record that a temporary new edition gets exported.