HOW TO

Display grid labels on multiple rows in an ArcGIS Pro layout

Last Published: September 20, 2023

Summary

Grid labels in an ArcGIS Pro layout are formatted using tags. Tags can be used individually, or combined to create complex labels. This article highlights the workflow to display grid labels on multiple rows for graticule and measured grids in an ArcGIS Pro layout.

The following image shows how the labels are usually displayed.

Graticule and measured grid label before splitting

Procedure

Splitting the graticule grid label

  1. In ArcGIS Pro, create a layout for the project. Refer to ArcGIS Pro: Add a layout to your project for more information.
  2. In the Contents pane, expand Map Frame. The Grids layer is created.
  3. On the ribbon, click theĀ Insert tab.
  4. Click New Grid, under Graticule, select Black Horizontal Label Graticule.
The graticule grid type selection on ArcGIS Pro
  1. In the Black Horizontal Label Graticule pane, under Map Grid, click Components The Components icon.
  2. Under Appearance, in the Format text box, insert the following script.
<UND><dyn type="grid" units="dms.deg" decimalPlaces="0" showDirections="False" /><dyn type="grid" units="dms.deg.sym" decimalPlaces="0" showDirections="False" /></UND>

<UND><dyn type="grid" units="dms.min" decimalPlaces="0" showDirections="True" showZeroMinutes="False" showZeroSeconds="False"/><dyn type="grid" units="dms.min.sym" decimalPlaces="3" showDirections="True" showZeroMinutes="False" showZeroSeconds="False"/></UND>

<dyn type="grid" units="dms.sec" decimalPlaces="0" showDirections="True" showZeroMinutes="False" showZeroSeconds="False"/><dyn type="grid" units="dms.sec.sym" decimalPlaces="3" showDirections="True" showZeroMinutes="False" showZeroSeconds="False"/>

The image below shows the grid labels are displayed on two separate rows.

Graticule label split on multiple lines for degree, minute, seconds

Splitting the measured grid label

  1. In the Contents pane, expand Map Frame. The Grids layer is created.
  2. On the ribbon, click the Insert tab.
  3. Click New Grid, under Measured Grid, select Black Horizontal Label Grid.
  4. In the Black Horizontal Label Grid pane, under Map Grid, click Components The Components icon.
  5. Under Appearance, in the Format text box, insert the following script. Edit the placeValue from "1", "10", "1000", "10000", to "100000" to modify the digits to split into two lines.
<UND><dyn type="grid" placeValue="10000" digits="4" showDirections = "false"/></UND>

<dyn type="grid" placeValue="10000.right"/>

The image below shows the grid labels are displayed on two separate rows.

Measured label split on multiple lines based on the preferred multipliers

Article ID: 000031170

Software:
  • ArcGIS Pro 3 1
  • ArcGIS Dashboards
  • ArcGIS Pro 3 0
  • ArcGIS Pro 2 9x

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options