Label Expression to not show label of current data frame in layout view
I'm using a polygon layer to define the data frames. The adjacent pages' frames overlap into each frame. I'd like to show the page numbers for the adjacent frames. I'm currently doing this by simply turning on the labels for my frames layer. However, this also shows the label for the current frame and I don't need/want that because I have a page number at the bottom. Is there some advanced script that I can put in the Label Expression that will in effect query out the current frame or frame label so it will not show? Is there another way to do what I want?
Mapping Center Answer:
If you do not have ArcGIS 10 yet, you will not be able to use Data Driven Pages to do this so easily; here is the link to a help topic for Using dynamic text with Data Driven Pages. I'm also going to assume you have ArcGIS 10 as a basis for the rest of this answer.
That said, you're not exactly following the path that this functionality was designed for, and your map design needs a little help. For instance, in the example you provided, I cannot easily determine the intended extent of the information in the current extent. So, first, I would suggest having one layer that uses a different symbol to depict the current extent. You can use the Data Driven pages functionality for page Definition Queries to do this.
Here is roughly what I was able to do based on this:
- Set up my Data Driven Pages using my map sheets layer
- Added the Map Sheets layer two more times to my map. The first to symbolize the outlines of the other page extents, and the second to symbolize the current page extent. For the other page extents, I symbolized their outlines with a much lighter symbol than I used for the current page extent's outline symbol--ensuring these extra lines (from the other page extents) did not make the map harder to read.
- For the layer with the other extents, I set the Page Definition Query to the "Don't Match Option" and for the current extent layer, I used "Match".
- Then just label the layer with the other extents, and you won't have a label for the current extent's polygon.
If you would like to post a comment, please login.