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. – johns Oct 16 '14 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 Oct 16 '14 at 17:42
  • I have 10.2, it still happens from time to time. – Mike Nov 8 '16 at 19:54
  • You may have to turn off Snap to Grid in the Pagelayout – user156474 Jan 14 '20 at 19:03

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.