Exporting, publishing, and packaging your AML product
You can export your changes to the S-57 format once you have compiled your new AML product or have made the necessary modifications to your existing AML product and verified your data. Exporting to S-57 is performed on your product database. You need to perform the following steps for exporting, publishing, and packaging your product for display in a Warship Electronic Chart Display and Information System (WECDIS).
- Reconciling and posting changes to DEFAULT
- Exporting to S-57
- Validating S-57 dataset files
- Publishing the export version
- Creating an exchange set
Reconciling and posting changes to DEFAULT
All your data changes from your child version of DEFAULT need to be posted back to DEFAULT before the edits are exported to S-57. This is performed through reconcile and post operations; however, the Nautical Solution uses its own Nautical Post command. The Nautical Post command will automatically replace the standard Post command located on the Versioning toolbar in ArcMap and also appears on the Nautical S-57 toolbar.
If your data modifications include geometry edits, the Update Primitives process will reconcile them to the parent version. You would then need to use the Nautical Post operation to move your data changes to the DEFAULT version. If your data changes are only attribute modifications, you need to run reconcile manually before you run Nautical Post.
-
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 Link Feature Manager To Attributes Window 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.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 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.
Exporting to S-57
The Geodatabase to S-57 exporting command is located in the ArcCatalog application. This tool gives you the option to export all S-57 dataset types (New Datasets, New Editions, Updates, Reissues, and Cancel). However, your database connection must reference the DEFAULT version before you can enable the exporting tool.
- 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.
ヒント:
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
ヒント:Temporary New Editions do not get stored in the database. The system does not record that a temporary new edition gets exported.
Validating S-57 dataset files
Now that you have successfully exported your AML data stored in the product geodatabase to the S-57 format, you need to run the S-57 dataset file through a third-party validation package.
Publishing the export version
Once your S-57 dataset file has been cleared through a third-party validation package, you need to publish the exported record to incrementally export S-57 dataset files. The Nautical Publisher allows you to both publish and unpublish export versions that reference the data you exported to an S-57 dataset file.
- Start ArcCatalog.
-
Navigate to and right-click the feature dataset you want to publish from and click Nautical Publisher.
The Nautical Publisher dialog box appears.
-
Click Refresh.
The publisher searches for any changes to the PLTS_EXPORTS table that would change the cells listed in the Publish or UnPublish tabs.
-
If necessary, click the Publish tab.
This tab displays the alias names for the DSNM, EDTN, UPDN, HISTORICAL_NAME, UADT, and ISDT fields in the PLTS_EXPORTS table.
-
Check the row representing the export version you want to publish.
メモ:
The Historical Name field uniquely identifies each export version by showing the date and time of when you exported. This means that all changes to the database up to the displayed date and time will be included in the S-57 dataset file. In the example above, when you publish one of these records, both records will be removed from the Publish tab, and all subsequent exports will change from the Edition and Update numbers. For example, if you were to publish the first record listed, then export the second S-57 dataset file record, when you opened the Nautical Publisher, the Edition number field would list 3 and the Update number field would list 0.
メモ:Historical information only applies to SDE databases. If you are using personal or file geodatabases, the Historical Name is not populated.
- Click Apply.
Creating an exchange set
Once you have exported and published your S-57 data, you need to package the S-57 dataset files into a valid S-57 Exchange Set. This allows the viewing of the AML datasets in a WECDIS. You can create a valid S-57 Exchange Set with the Exchange Set tool.
- Start ArcCatalog.
-
Add the Exchange Set tool to a toolbar by completing the following steps:
-
On the main menu, click Customize → Customize Mode.
The Customize dialog box appears.
- Click the Commands tab.
- In the Categories list, choose Nautical S-57.
- In the Commands list, click and drag the Exchange Set button to a toolbar.
- Click Close.
-
On the main menu, click Customize → Customize Mode.
-
Click the Exchange Set button .
The Create S57 Exchange Set dialog box appears.
-
Click the Browse button next to the Output Location text box to set your output location.
The Browse For Folder dialog box appears.
メモ:Your ENC_ROOT folder is automatically created at this location.
-
Click OK once you have selected your output location.
The Output Location text box shows the path of your directory location.
-
Click Add in the Content area to add S-57 dataset files.
The Add File to Exchange Set dialog box appears.
- Navigate to the directory that contains your dataset files.
-
Select the dataset file you want in your exchange set.
- Once you have selected your dataset files, click Open.
-
Repeat steps 7–9 for additional dataset files.
The table view in the Content area contains record rows for your selected datasets.
In the example above, all .txt files have <No Path> listed in the Path or Location field.
-
Optionally, you can manually set the external file location for files with <No Path> by completing the following steps:
-
Right-click the <No Path> field value and click Browse for Location.
The Browse for Location command allows you to set the path to where the file is stored.
The Browse for Location dialog box appears. The dialog box automatically populates the File name and Files of type fields with the missing file name. You are not able to select any file but the missing one.
-
Navigate to the file's location, select it, then click Open.
The dialog box disappears, and the external file's path is listed in the Path or Location field.
ヒント:You can also exclude these files from the exchange set.
-
Right-click the <No Path> field value and click Browse for Location.
- Check the check boxes next to all the files you want to include in your exchange set.
-
Click Create.
A progress bar appears. A message box informs you when the process is completed.
-
Click OK to close the message box.
メモ:
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\Exchange Set.
- 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\Exchange Set.
-
Use Windows Explorer to navigate to your selected output location where you can find the required catalog file and at least one dataset file in your exchange set.
メモ:
You are not able to add additional exchange sets to this location because the catalog file already exists and cannot be overwritten.