在 Standard 或 Advanced 许可等级下可用。
获得 Production Mapping 许可后可用。
获得 ArcGIS Maritime 许可后可用。
The following sections describe how to configure your map service to run Maritime Chart Service.
注:
Enable your Maritime Chart Service before completing the following steps.
Add the Maritime Chart Service capability to a map service
To add the Maritime Chart Service capability to your map service, complete the steps below. Repeat these steps for each map service you plan to use with Maritime Chart Service.
- Sign in to ArcGIS Server Manager.
- Click the Services > Manage Services tab.
- Click the map service for which you want to enable Maritime Chart Service.
Maritime Chart Service works with any existing map service.
- Click Capabilities and check the Maritime Chart Service check box.
- If necessary, modify the controlFilesDirectory, datasetsDirectory, and workingDirectory property paths.
- Click Save & Restart to restart the map service.
Maritime Chart Service capabilities are now enabled.
Your Maritime Chart Service configuration is complete. You are now ready to load S-57 datasets into your service as well as configure the sample viewer. You can download sample Web AppBuilder widgets that show how to use the Maritime Chart Service capability.
- You can manage data for unencrypted S-57 datasets or manage data for S-63 encrypted datasets.
- You can run Maritime Chart Service on multiple map services.
Modify Maritime Chart Service capabilities properties
There are three directory paths that allow various configurations of Maritime Chart Service: datasetsDirectory, controlFilesDirectory, and workingDirectory. These directory paths and the steps to modify them are explained in the following sections.
注:
It is recommended that you set the workingDirectory path to point to a location on the local server to optimize draw performance. You can set up a second map service to run Maritime Chart Service that is isolated from your first map service.
Datasets directory
The datasetsDirectory parameter points to the location of your datasets folder. This location can be local to the map service or shared across a network path.
<ArcGIS Server installation drive>\arcgisserver\directories\maritimeserver\maritimechartservice—This is the location that the datasetsDirectory parameter points to by default.
datasets—This is where you put your S-57 datasets that can include an exchange set or individual .000, and associated update (.001, .002…) and external (.txt and .tiff) files.
The datasets folder location can also be shared by more than one map service running Maritime Chart Service. A benefit of using a shared datasetsDirectory location is that it allows you to set up multiple map services with only one set of data. This allows you to perform maintenance while providing multiple types of services. For example, you can use your single set of S-57 datasets to publish a full coverage ENC service while also using the same S-57 datasets to publish a navigational aids-only map service. There is no limit to the number of map services with which you can share S-57 datasets.
ControlFiles directory
The controlFilesDirectory parameter points to the location of your control files. This location can be local to the map service or shared across a network path.
<ArcGIS Server installation drive>\arcgisserver\directories\maritimeserver\maritimechartservice—This is the location that the controlFilesDirectory parameter points to by default.
controlFiles—This directory contains your S-57 data dictionary information and the S-52 presentation library. When the service is started and the .senc files are created, these control files are accessed.
You can keep the control files local to your map service while pointing to a single set of S-57 datasets. This allows you to configure multiple services with different default configuration settings. For example, you can use your single set of S-57 datasets to publish five different map services. Each service can have a separate default color scheme or list of exposed layers. You can set map service control files to only show one layer, which is your navigational aids, while your other map service provides full ENC coverage.
Working directory
The workingDirectory property path contains two folders that the service accesses when it's started. The workingDirectory property path should always point to a local directory on the server running the map service.
注:
Mapped network drives are not recommended for the working directory due to potential performance issues. You should have your .senc files on the physical server.
<ArcGIS Server installation drive>\arcgisserver\directories\maritimeserver\maritimechartservice—This is the location that the workingDirectory property path points to by default.
logs—This directory contains time-stamped log files created by the service when the map service is started or when AutoCellUpdate is used.
sencs—This directory contains the .senc files created by the service and the find.dat file.
Modify the directories
To modify the directories, complete the following steps:
- If necessary, sign in to Server Manager.
- Click Services > Manage Services.
- Click the map service with Maritime Chart Service capabilities enabled.
- Click Capabilities and scroll down to the Properties section.
- Modify the controlFilesDirectory, datasetsDirectory, or workingDirectory parameters, if necessary.
- Click Save & Restart to restart the map service.
Maritime Chart Service capabilities are now enabled.