Importing and baselining existing ENC data (Maritime Charting)
This section is for working with existing S-57 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 production database (desktop only)
- Checking out the ENC production database
- 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 production database
The first step of the baseline process is creating your production database and importing your ENC cell into the production database, which is performed using the New Nautical Product wizard. Both creating the production database and importing the ENC cell are done by the wizard.
Before you can access the New Nautical Product wizard, you must have a product library set up and configured for the desktop production workflow. This means that a product class should be configured for the ENC product you want to create and a series created.
You need to set the required Nautical properties before launching the New Nautical Product wizard.
- Start ArcMap.
-
If necessary, open the Product Library window by clicking Customize → Production → Product Library on the main menu.
A tree view of the product library appears.
- If necessary, expand Product Library and Products.
-
Right-click the series for which you want to create a product and click New Nautical Product.
The Overview area of the New Nautical Product wizard appears.
- Review the content in the Overview area.
- [次へ] をクリックします。
-
Click Import Existing Cell.
- Click the ellipsis (...) button and browse to the location where your ENC S-57 cell is stored.
- [OK] をクリックします。
- [次へ] をクリックします。
- Review the summary.
- If necessary, click Back to go back to the creation method and make any corrections.
-
Click Finish.
A progress dialog box appears with the status of the creation process.
- Creating the product and instance tree nodes
- Creating the production database
- Importing the applicable ENC schema into the production database
- Enabling versioning and archiving for the applicable production database items
- Importing the ENC S-57 cell into the production database
- Checking the production database into the product library
- Click OK when the process completes.
Checking out the ENC production database
After the New Nautical Product wizard has successfully created your ENC production database and imported your ENC cell into the production database, you need to check out the production database from the product library. This process attaches the ENC production database, which is either an ArcSDE geodatabase for SQL Server Express licensed for ArcGIS for Desktop or ArcSDE geodatabase for SQL Server Express licensed for ArcGIS for Server Workgroup, to the local SQL Express server.
- Start ArcMap.
- In the Product Library tree view, right-click the ENC product and click Check Out Product.注意:
You need to define a temporary file location to store the production database as it gets created.
A progress dialog box appears with the status of the check out product process.
- Click OK when the process is complete.
- In ArcMap, expand the Catalog window and expand Database Servers.
- If necessary, double-click the SQL Express instance name to connect to it.
- Expand the SQL Express instance.注意:
You should see your ENC production database listed.
- Expand your ENC production database and drag the Nautical feature dataset into the map document data view.注意:
If the Check Out process failed and you do not see your ENC production database under the SQL Express instance, look within the temporary file location for the .mdf file. If the file is there, you can manually attach the .mdf to your SQL Express instance.
Reconciling and posting to DEFAULT
After successfully importing your ENC data into the applicable production 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.
注意:
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 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.
-
以下のいずれかの方法で [バージョン マネージャ] ダイアログ ボックスを開きます。
- カタログ ツリーで、ジオデータベースへの接続を右クリックして、[管理] をポイントし、[ジオデータベースの管理] をクリックしてから [バージョン] タブをクリックします。
- ArcMap で [バージョニング] ツールバーの [バージョン マネージャ] ボタンをクリックします。
-
新しいバージョンを作成するには、新しいバージョンの派生元となるバージョンを右クリックして、[新規作成] をクリックします。
[新規バージョン] ダイアログ ボックスが表示されます。
-
新しいバージョンの名前を入力します。
バージョン名の長さは 62 文字に制限されています。
-
(オプション)バージョンの説明を入力します。
バージョンの説明を使用して、バージョンの目的に関する追加情報を提供することができます。説明の長さは 62 文字に制限されています。
- バージョンに必要なアクセス レベルとして、[プライベート]、[パブリック]、[プロテクト] のいずれかを選択します。
- [OK] をクリックすると新しいバージョンが作成されます。
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 ArcGIS Data Reviewer for Desktop 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 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.注意:
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 SQL Server Express licensed for ArcGIS for 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 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.
ヒント:The ArcGIS for Maritime: Charting also includes Reviewer batch jobs for ENC S-58 data validation.
- In the Choose Batch Job(s) list, select the batch jobs listed.
- Click OK.
The Batch Validate dialog box appears. The checks in the batch job appear in the Batch Jobs area.
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.
When there is only one workspace in ArcMap, the batch job's workspace is automatically updated to the current workspace.
ヒント: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. 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.
注意:To view the parameter values for a batch job, click the check name in the Batch Jobs area, then click the plus sign (+) that appears.
-
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.ヒント:
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 Features 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 production database, choose the Full Database option. When validating data in the enterprise workflow, you should validate your product's data within the NIS database, 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.
ヒント:
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 S-58 quality control checks against it with the 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.
注意:
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 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.
注意: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.
注意: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.2.2\Nautical\.
- On Windows Vista, Windows 7, and Windows Server 2008, log files are written to <Installation location>\Users\<UserLogin>\AppData\Roaming\ESRI\Production10.2.2\NAUTICAL\.
注意: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.
ヒント:
If the Nautical Post button is disabled, you must first reconcile any changes or run Update Primitives.
ヒント: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. The Select Unverified Features tool can help you find these features and review them.
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.
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.
-
If necessary, open the Product Library window by clicking Customize → Production → Product Library on the main menu.
A tree view of the product library appears.
- Navigate to and check out the product you want to export with the Open check box checked on the Check Out Product dialog box.
-
Right-click the product and click Export Nautical Product.
The ENC Export dialog box Export Information area appears.
- Click the S-57 Export Type drop-down arrow and choose New Edition.
- Click the ellipsis button (...) in the Export Location area and browse to the location where you want to store your package.ヒント:
If you previously exported from the product library, the output location you chose appears in the Export Location area.
- Optionally, skip the next section and click Next if you don't want to attach files.
Attaching files
You have the option to attach files to your package, such as a supporting text or image file.
- Click Add in the Attach Files area.
The Insert File dialog box appears.
- Navigate to the location where the files you want to attach are stored.
- Choose the files you want to add.ヒント:
Use the SHIFT or CTRL keys to select multiple files if necessary.
- [開く] をクリックします。
- [次へ] をクリックします。
If you previously exported from the product library, the output location you chose appears in the Export Location area.
Adding metadata
You can view and modify your product's metadata values. The metadata is divided into two sections you can modify:
- Product level—Contains the DSID (Dataset Identification) and DSSI (Dataset Structure Information) fields found in an S-57 file. DSID provides information regarding the dataset's source and product description information. DSSI provides information concerning the structure of the dataset.
- Instance level—Contains the DSPM (Data Set Parameters) fields that allow you to define the types of measurement units and data used with the S-57 cell.
Each node in the metadata view represents the DSID, DSSI, and DSPM S-57 field. The left side of the view shows the metadata fields and the right side shows the values. You can input new values in the fields that are not disabled.
The metadata options are different depending on the task you are performing. For example, if you are exporting a New Edition file, you can set the Vertical Datum; however, if you are exporting an Update file, you cannot change this value.
Product metadata (DSID and DSSI)
You can add a comment, edit the Issue Date for new editions, and edit the Update Application date for DSID. You can edit the ATTF and NATF lexical levels for DSSI.
- If necessary, click the cell next to Comment and type a comment for the Data Set Identification.
- If necessary, click the ellipsis button (...) next to Update Application Date and select your product's S-57 update application date.
- If necessary, click the ellipsis button (...) next to Issue Date and select your product's S-57 issue date.
- Click the cell next to ATTF lexical level and click the ellipsis button (...) that appears.
- Specify the appropriate information.
Lexical levels 0 and 1 are supported per the S-57 IHO Transfer Standard Edition 3.1, part 3, section 2.4.
- Click the cell next to NATF lexical level and click the ellipsis button (...) that appears.
- Specify the appropriate information.
Lexical levels 0, 1, and 2 are supported.
- Click Next if you are finished updating the metadata information or continue to update the instance metadata.
Instance metadata (DSPM)
You can define the types of measurement units and data used with the S-57 cell.
- If necessary, click the cell next to Comment and type a comment for the Data Set Structure Information.
- If necessary, click the cell next to Coordinate Multiplication factor and type the multiplication factor.
- If necessary, click the cell next to Compilation scale of data and add your S-57 product's compilation scale value.注意:
The SCAMIN tool references the compilation scale of data value to autopopulate the SCAMIN attribute field on the applicable feature records.
- If necessary, click the cell next to the Sounding Datum and choose the appropriate sounding datum.
- If necessary, click the cell next to the Units of depth measurement to choose the appropriate unit for depth fields.注意:
The corresponding DEPTH value of the specified units (that is, DEPTH_M field value for meters) is exported instead of the value in the source field in the geodatabase (that is, DEPTH).
- If necessary, click the cell next to the Units in height measurement field and choose the appropriate unit for height fields.注意:
The corresponding DEPTH value of the specified units (that is, DEPTH_M field value for meters) is exported instead of the value in the source field in the geodatabase (that is, DEPTH).
- If necessary, click the cell next to the Unit in positional accuracy field and choose the appropriate unit for positional accuracy fields.注意:
The corresponding DEPTH value of the specified units (that is, DEPTH_M field value for meters) is exported instead of the value in the source field in the geodatabase (that is, DEPTH).
- If necessary, click the cell next to the Vertical Datum field and choose the appropriate vertical datum.
Viewing the export summary
You can review your export type and metadata entries before exporting your package.
- Scroll through the export summary and verify that your export type, export location, export version, and any attached files are correct.
- Review the metadata summary.
- If any errors are found, click Back to go back and make any necessary changes.
- Once you have reviewed and made any necessary changes, click Finish.
A progress dialog box appears showing the export process. When the process completes, a path to your export package is listed.
- Click OK to close the progress dialog box.注意:
You can navigate to the location of the export and open the export package. The package is also stored in the product library at the product level. You can view the export package through the file manager.
You have now baselined your ENC product.