I have 77 polygons that mark areas of a satellite image that I want to export as separate PDFs. Each of the PDFs should contain just the polygon (and as much as the surroundings to fill out the data frame, and should be zoomed so that they fill out each A4 page (i.e. the scale are allowed to vary).

It is easy to obtain a list of the polygons, but how is the rest accomplished with Python?


You can do this directly (without Python) using the data driven pages. If you need more control, you can use arcpy.mapping in Python. There are several example on this site. see Do Data Driven Pages enable PDF merging without losing layers? or Automating plan report generation using ArcGIS Desktop? for examples (you can use the tag data driven pages)

  • Perfect. Very easy to set up. I had not realised that data driven pages could be used for that. – Jon Pedersen Mar 6 '14 at 7:44
  • @JonPedersen If that answered your Question be sure to reward the answerer by clicking the Accept (big green tick) button. – PolyGeo Mar 6 '14 at 9:21

Your Answer

