Data Driven Page static text
Is there a way to have text change from one page to the next in a Data Driven Page setup, where the text reflects certain attributes of a layer or other information that changes from map to map? I am not talking about the Dynamic text per se, but notation made that change from one map to the next in a DDP system.
Data Driven Pages do not allow for me to change notation manually on each different map because the DDP changes the Data Frame Position, but leaves Layout View static elements alone. If I change the static elements, they are reflected in each page.
Dynamic text is all fine and good, but some of the notation I need to change will actually change position on one map to the next and a DDP system does not allow that.
What can I do?
Mapping Center Answer:
One option that might work is to use dynamic text to reference another field (a field that identifies the change you want to show). This field has to relate to the index field driving the data driven pages (the value from the field will be from the same row as the value from the index field). This is the dynamic text tag:
<dyn type = “page” property = “FIELD_NAME”/>
The second option requires arcpy.mapping and python. Using an export script you can move the text elements and hardcode them. This requires a fair amount of scripting so to get started take a look at the ArcPy Mapping Module, and more specifically the Text Element section.
Additionally, refer to the Conditional Frame Formatting question we got here on Ask a Cartographer to see an example of how to move elements on the page. This is not moving text, but can be modified to do so.
If you would like to post a comment, please login.