Доступно с лицензией 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 Services > Manage Services.
- Click the map service to which you want to add 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 listed in the Properties section.
- Click Save and Restart to restart the map service.
Maritime Chart Service capabilities are now enabled.
Your Maritime Chart Service configuration is complete and you are ready to load S-57 datasets into your service; you can also configure the sample viewer. Download sample Web AppBuilder widgets for examples of how to use the Maritime Chart Service capability. You can now modify additional service properties, manage data for unencrypted S-57 datasets, manage data for S-63 encrypted datasets, and 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 parameter to point to a location on the local server to optimize draw performance.
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>/usr/directories/maritimeserver/maritimechartservice—This is the location that the datasetsDirectory parameter points to by default.
- datasets—The location where S-57 datasets are stored, which 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. Using a shared datasetsDirectory location allows you to set up multiple map services with only one set of data. By doing so, you can perform maintenance while providing multiple types of services. For example, you can use a 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>/usr/directories/maritimeserver/maritimechartservice is the location that the controlFilesDirectory parameter points to by default.
- The controlFiles 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 a 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, such as your navigational aids, while another 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 must 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. Store your .senc files on the physical server.
- <ArcGIS Server installation drive>/usr/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 and Restart to restart the map service.
Maritime Chart Service capabilities are now enabled.