Select to view content in your preferred language

Change layout and map frame properties in map series

675
2
08-09-2022 01:12 AM
Status: Open
Labels (1)
GaetanPRU
Occasional Contributor

It would be helpful to be able to change dynamically the properties (size, orientation) of a layout and map frame in a map series.

Dynamic properties could come from a field in index layer with value : portrait / landscape for orientation, A1-A2,A3,A4... for size (or size in millimeter, feet...).

It would be even better if we could define the position of each element according to the orientation of the page. For example, if layout orientation is landscape, title position is in X: 10mm Y: 200mm and if layout orientation is portrait, title position is in X:10mm Y: 280mm

 

2 Comments
JamalNUMAN

Data driven: how to set the “page orientation” for each feature in the “data driven pages” option?
 
I’m wondering if there is a way to assign the orientation of the page (portrait or landscape) when using the “data driven pages”.
 
For example, in the attached screenshot, what I need is to print all the features (governorates) in a landscape orientation except the “Tulkarm” and “Jericho” features (they are required to be printed in a portrait orientation). Please, have a look on the screenshots below:
 
 
 
then how can I set the “page orientation” for each feature along with the “data driven page” option?
 
In this sense, the “Ramallah” feature should have the “landscape” orientation while the “Tulkarm” should have “portrait” orientation.
 
Is that possible? is this worth to be suggested?
 
 
 
Thank you for the help in advance,
 
Best
 
Jamal

0EM30000000CxDg

0EM30000000CxDh

0EM30000000CxDl
 

ChrisMathers
On the DDP setup window you have the option to set the Rotation field. If you add a field to your feature class with most of the values set to 0 and the Tulkarm and Jericho features have a value of 90. This would rotate the data to portrait. If you need the actual layout to change you will have to use a python script. The arcpy.mapping functions will let you change the layout as you export the maps. Arcmap cant do more than one layout or have data driven pages automatically make layout changes.