Ask A Cartographer

Township Range Dynamic Text from ArcResource Center

May 06 2011 | 2 comments
Categories: Labeling, Page Layout

This is more of a wish than anything else, but I think this can have many multiple applications:
I use the ArcGIS Resource Center on a daily basis. Most of the time it is strictly reference, but I need to input Township Range on my maps on the outside of the Data Frame. The layout is in T-R Format: (i.e., T 5 N on the left and right side, and R 5 W on the top and bottom. ) In addition, I keep it aligned with the actual area. But like the corner coordinates that I asked about before, I have to label the T-R manually. Turning on and off the layer.
Is there some way to automate the text to

1: derive the data from the tables automatically from the layer itself?
2: make it frame associative: meaning to keep it aligned with the respective T-R it is labeling?

I am attaching a screen print to give an example. The red circled items are what I would like to make dynamic. Referenced from the T-R text in the data frame shown.

Can this be done?

Thank you.

Mapping Center Answer:

Custom overlay grids could label the edges with the polygon label, but it won’t split the label or give you one label for the top and a different label for the side. And there is no dynamic text for this. Maybe python scripting could be used to change the text as you cycle through data driven pages, but we have to look into this a little further.  Once we find out we will comment on this question.

Update. posted by Peter Goodman on May 23 2011 3:38PM
Conspiring with a former collogue who works for government now, we worked the problem of having two colors for a legend notation in a legend map Data Frame over at a local pub.

The solution that he came up with works perfectly for the notation with two colors. With some application, this can be used with multiple colors and text variation:

Notating a legend map in DDP requires (at least in my case) the map grid notation to change color with the separate pages.

But the text notation is problematic insofar that they have to be two separate colors that SWITCH from page to page in a DDP system. This lead to some serious head scratching and a fair amount of Stout.

The problem:

One notation is yellow (the page displayed) and the rest grayed out. Then comes the problem of having them switch colors in a DDP system from page to page.

So working the problem, the solution was so obvious and was biting us on the nose that we nearly missed it. (Much too well chewed noses I might add).

Once figured out, we both tried it and it applies perfectly!

The Solution:

For the two colors:

1. First set up your reference grid that is to be used for the reference in the DDP both in the main Data Frame and also the Legend Data Frame.

2. Set the Legend Data Frame to be linked to the Main Data Frame as described in the DDP instructions.

3. Then in the Legend Data Frame-Table of Contents, copy the reference grid so there are two copies and make sure that the reference grid has a column with page reference numbers and/or the text to be displayed. If not there, add them.

4. Then set the Labels in the grid index with the first color to be used.

5. Be sure to set the label “Placement Properties” to be set inside the Polygon, and set to “Place one label per feature part” under “Duplicate Labels”. Set the “Conflict Detection” to “High” under “Label Weight” to “None”. This is important because the labels will offset improperly if not, or not show up at all. Leave “Place overlapping labels” set to unchecked.

6. Right Click the first Layer you just set the labels for. Under “Properties/Definition Query/Page Definition” set the page definition to “Enable”, set the Attribute label in “Page Name Field”, choose the “Match” button and then “OK”.

7. Right Click the copy of the reference grid and set the Labels with the second color.

8. Set the copy of the grid index “Symbology” to “No Color”. This avoids multiple layers and thick printing.

9. Repeat step 6 but set to “Don’t Match” under the “Page Definition”.

Once engaged, the text will appear highlighted ONLY on the page defined.
Names, text and symbols can then be displayed in reference to any layer in the TOC.

Multiple aspects can be derived by setting data frames off map and/or overlaying.

Use your imagination.
Good solution! posted by Aileen Buckley on May 27 2011 7:58PM
This looks like a good solution -- thanks for the comments, Peter!

If you would like to post a comment, please login.

Contact Us | Legal | Privacy |