Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

1 Answer 1

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 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 at 9:21

Your Answer

 
discard

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.