I have made many mapbooks using data-driven pages. However I've encountered something strange and wanted to ask to see if anyone might know what's going on or has seen this before.
I have a scale bar in the title block and as I step through each page the scale bar moves slightly (0.0389 inches). I move it back but every time I try to export, the resulting pdf has the scale bar moved by 0.0389 on the first page, 0.0778 on the second, etc.
Seems like a bug, but maybe I'm missing something.
Page 2: Page2
Page 21: Page21
-
DSMapbook could do this. The workaround was to use a graphic if possible, and if not use some code to set location. For DDP you might look at: gis.stackexchange.com/questions/116825/…. But you might see if changing the anchor point to center helps.John– John2014年10月16日 16:48:34 +00:00Commented Oct 16, 2014 at 16:48
-
Yea I can make a graphic work, I will just have to export the book in two parts. Anchor was set to center... Peculiar behavior. Thanks!RossV– RossV2014年10月16日 17:42:14 +00:00Commented Oct 16, 2014 at 17:42
-
I have 10.2, it still happens from time to time.Mike– Mike2016年11月08日 19:54:32 +00:00Commented Nov 8, 2016 at 19:54
-
You may have to turn off Snap to Grid in the Pagelayoutuser156474– user1564742020年01月14日 19:03:19 +00:00Commented Jan 14, 2020 at 19:03
2 Answers 2
I am running into this on 10.5.1, so I don't believe it was automatically fixed. The scale bar works fine if it's anchored by its left side and allowed to adjust at the right end, but anchored on the right (also with its bottom-right Anchor Point selected in Properties> Size and Position tab> Position field) will eventually make it walk off the page.
You do not mention the version of ArcGIS for Desktop that you are using, but I am guessing that it is 10.0 because I recall an issue similar to this at that release, which was resolved by MapsurroundElement (arcpy.mapping) being enhanced at 10.1 (or possibly at one of the later service packs to 10.0) to handle the scale bar anchor point more predictably.
X and Y element positions are based on the element's anchor position, which is set via the Size and Position tab on the Elements Properties dialog box in ArcMap.
My recommendation would be to upgrade to the latest release of ArcGIS for Desktop, or if that is not an option, then ensure that you are using Service Pack 5 to ArcGIS Desktop 10.0.
Explore related questions
See similar questions with these tags.