Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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 Data driven pages - Mapbook or need help to automatize report generation for examples (you can use the tag data driven pages)

share|improve this answer
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


By posting your answer, you agree to the privacy policy and terms of service.

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