Skip To Content

Setting Maritime Chart Service properties

The following sections describe how to configure your map service to run Maritime Chart Service.

Примечание:

If you haven't already done so, enable Maritime Chart Service.

Adding 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.

  1. Sign in to ArcGIS Server Manager by opening your manager URL in a web browser.

    The URL for ArcGIS Server Manager is https://gisserver.domain.com:6443/arcgis/manager/. Alternatively, you can open the manager from the operating system shortcut that is installed with ArcGIS Server.

  2. Click Services on the top panel of the page.
  3. Click the map service for which you want to enable Maritime Chart Service.

    Maritime Chart Service works with any existing map service.

  4. Click Capabilities and check the Maritime Chart Service check box.
  5. If necessary, modify your controlFilesDirectory, datasetsDirectory, or workingDirectory paths.
  6. Click Save or click Save & Restart.

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 the sample web viewer from GitHub; it shows how to use the Maritime Chart Service capability.

Modifying 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 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 property path 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 location is in the datasetsDirectory property path, which is your ArcGIS Server directories location by default.

  • datasets—This is where you put your S-57 datasets, 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. A benefit of using the datasetsDirectory property path as a shared 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 property path 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 location is in your controlFilesDirectory property path, which is your ArcGIS Server directories location 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 be local to the server running the map service.

Примечание:

Mapped network drives are not recommended for your workspaceDirectories property setting due to potential performance issues. You should have your .senc files on the physical server.

  • <ArcGIS Server installation drive>:\arcgisserver\directories\maritimeserver\maritimechartservice—This location is in your workingDirectory property path, which is your ArcGIS Server directories location 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.

Modifying the directories

To modify the directories, complete the following steps:

  1. If necessary, sign in to ArcGIS Server Manager by opening your URL in a web browser.

    The URL for ArcGIS Server Manager is https://gisserver.domain.com:6443/arcgis/manager/. Alternatively, you can open the manager from the operating system shortcut that is installed with ArcGIS Server.

    For more information, see Log in to Manager.

  2. Click services in the Resources list.
  3. Click the map service from which you enabled Maritime Chart Service.
  4. Click Capabilities and scroll down to the Properties section.
  5. Modify your controlFilesDirectory, datasetsDirectory, or workingDirectory path, if necessary.
  6. Click Save or Save & Restart.