Skip To Content

Enable compass rose

Nautical charts have a compass rose to delineate true north and magnetic north, as well as assist with angles for orientation, bearing, and traversing routes. In Custom Chart Builder, you need to enable the compass rose functionality so that you can manually add the compass rose to a chart before exporting a product.

Enable the compass rose in the configuration file

A 3-inch compass rose is the default symbol used in the web app. You can enable the compass rose in the JavaScript configuration file. The CCB web app must be configured and deployed before enabling the compass rose.

To enable the compass rose in the configuration file, complete the following steps:

  1. Browse to the CCB folder in the web root folder.

    For example, browse to C:\inetpub\wwwroot\ccb if you are deploying the web app using Internet Information Server (IIS).

  2. Open the ccbconfig.js web app configuration file in the js folder.
  3. Locate the enableCompassRose property and set it to true.
  4. Save and close the ccbconfig.js file.

Compass rose layer file

The CompassRose.lyrx file stores label properties, symbols, and label expressions. This layer file connects symbol properties to attributes in the geodatabase to apply the compass rose rotation and symbol; you can edit it in ArcGIS Pro to modify these attributes.

Two label classes are available: S4 delineation and US delineation. Each label class contains different Python scripts that can be enabled, disabled, or modified using labels for point features.

The following are examples of each label class:

  • S4_delineation label expression example—9º 30'E 2023 (5'E)
  • US_delineation label expression example—VAR 9º 30'E (2023) ANNUAL CHANGE 5'E

Learn more about creating label expressions

The default deployment location for the CompassRose.lyrx and CompassRose.gdb files is C:\arcgisserver\directories\maritimeserver\customchartbuilder\CompassRose.