<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom brochure printing Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198329#M15229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there, Thanks for the help. Can you please explain what you mean by template in your first sentence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2015 17:52:58 GMT</pubDate>
    <dc:creator>AicamLaacouri</dc:creator>
    <dc:date>2015-08-14T17:52:58Z</dc:date>
    <item>
      <title>Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198308#M15208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone- I have an idea and I am just starting to learn Python so I would like to know if my idea can be executed using Python... So I have a polygon shapefile with 1000 polygons. Each polygon is a field/farm, the attribute table has the name of the owner and his/her address. I also happen to have a raster image that cover the same geography (satellite image). I want to print a brochure/newsletter to send it to these clients. In the front page of the brochure I will have texts and the address of the client (for postage). In the back, I want to print the clipped raster using the polygon for each field (each client has one corresponding polygon) as the clipping extent. Can I make a Python script that will my client specific brochures, so that the front of the brochure has the name and address of the client, and the back of the brochure has an image of the field (from the satellite raster image).&amp;nbsp; I want to spend time and learn about this idea but I thought to ask first if such a task is possible using python/arcmap. Thanks. Esam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2015 02:03:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198308#M15208</guid>
      <dc:creator>AicamLaacouri</dc:creator>
      <dc:date>2015-06-06T02:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198309#M15209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&amp;nbsp; all possible. Look up data driven pages, page definitions, and dynamic text. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2015 05:49:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198309#M15209</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-06-06T05:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198310#M15210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Darren! does the grid index need to have polygons of the same size? Because the polygon parcel data I have contains parcels of variable sizes..&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 19:47:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198310#M15210</guid>
      <dc:creator>AicamLaacouri</dc:creator>
      <dc:date>2015-06-07T19:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198311#M15211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, your grid can vary in size. In fact, the index layer is often not a grid at all, rather a feature class' individual polygons. The data driven pages can zoom to the appropriate scale based on the extent of the index feature. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 23:45:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198311#M15211</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-06-07T23:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198312#M15212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again! Do I need to explode the parcel polygon shapefle? Right now all the parcels are contained in one shapefile..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;&lt;P&gt;Aicam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 23:50:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198312#M15212</guid>
      <dc:creator>AicamLaacouri</dc:creator>
      <dc:date>2015-06-07T23:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198313#M15213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, explode. Data driven pages make one page per index feature. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 14:44:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198313#M15213</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-06-08T14:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198314#M15214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's fine to have the parcels in one shapefiles, in fact data driven pages will be based on one shapefile. Just make sure that the parcels for each client are one feature. If a client has several parcels, you may actually want to dissolve on client name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 16:33:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198314#M15214</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-06-08T16:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198315#M15215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Do I need to have two data frames in order to print in both sides of the brochure? Would a template be needed in order to specify the dynamic text location (the dynamic text will be the mailing address in this case).&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 20:57:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198315#M15215</guid>
      <dc:creator>AicamLaacouri</dc:creator>
      <dc:date>2015-06-08T20:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198316#M15216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As an ex graphic designer myself, I think what I would do in this case is have a page size of your entire unfolded brochure. Use guides, which can be pulled out from the page rulers, to lay out the two sides of the brochure. On the front side, you can have the text boxes, one of which will include the dynamic text for the label address. On the back side will be your data frame which will include the parcel shapefile used to drive the pages, and any other layers you need. You can also specify a page title field, perhaps client name, which can be used to name the exported pages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 21:23:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198316#M15216</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-06-08T21:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198317#M15217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Personally, I like Sephe's suggestion of keeping everything in one mxd, but &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00s90000002p000000"&gt;here is an alternative&lt;/A&gt; using two mxds and a Python script, that would also suit your needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 22:16:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198317#M15217</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-06-08T22:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198318#M15218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sephe. Would this apply also to one sheet (face and back) brochure. It is not folded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 01:41:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198318#M15218</guid>
      <dc:creator>AicamLaacouri</dc:creator>
      <dc:date>2015-06-09T01:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198319#M15219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well that kind of depends how your getting it printed. If at a print shop, I would ask the printer how they prefer your file to be laid out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 02:52:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198319#M15219</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-06-09T02:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198320#M15220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For future reference&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/What_are_Data_Driven_Pages/00s90000003m000000/"&gt;What are data driven pages&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 sections&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Building_map_books_with_ArcGIS/00s90000002s000000/"&gt;Creating a map book &lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19 sections&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Exporting_Data_Driven_Pages/00sm00000008000000/"&gt;Exporting data driven pages&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Exporting_Data_Driven_Pages/00sm00000008000000/"&gt;Arcpy general reference&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lots of sections&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Introduction_to_arcpy_mapping/00s300000032000000/"&gt;Arcpy's mapping module &lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a good read&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 03:34:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198320#M15220</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-06-09T03:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198321#M15221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sephe for the suggestion. I have tried your method for making a page the size of the entire brochure (back and face). It worked well. However, when I talked to the printing service, they asked for the front and back of the one page brochure to be in separate pdf files... &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 21:56:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198321#M15221</guid>
      <dc:creator>AicamLaacouri</dc:creator>
      <dc:date>2015-06-15T21:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198322#M15222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was a good read indeed:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 21:57:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198322#M15222</guid>
      <dc:creator>AicamLaacouri</dc:creator>
      <dc:date>2015-06-15T21:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198323#M15223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have tried the two mxd projects and it worked the best especially after combining the two pdfs...&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 21:58:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198323#M15223</guid>
      <dc:creator>AicamLaacouri</dc:creator>
      <dc:date>2015-06-15T21:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198324#M15224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! It's always best to get the exact specs form the printer. Happy designing to you! Do you mind marking your question as answered, if that is the case. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 22:01:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198324#M15224</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-06-15T22:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198325#M15225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just adding my own two cents to this.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do this sort of work fairly regularly, but instead of using DDP, I just have several map templates which already have the polygon feature, make a feature layer based on each ID number zoom to extent then change text elements based on attribute fields and export to PDF.&amp;nbsp; It loops through each row with a cursor and exports out each map to pdf.&amp;nbsp; Haven't tried with DDP, but might look into it in the future. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 22:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198325#M15225</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2015-06-15T22:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198326#M15226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;This is a related question: so using one of the solutions above (either DDP, layout with guides/dynamic labels or Ian's solution), you will get a PDF for each polygon based on the shapefile. Now, would the PDF display an image background or just the plain polygon? &lt;/P&gt;&lt;P&gt;Ian: Thanks for the explanation. So do you use python at all in doing this task? I have not worked with templates before.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 20:16:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198326#M15226</guid>
      <dc:creator>AicamLaacouri</dc:creator>
      <dc:date>2015-07-24T20:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom brochure printing Python</title>
      <link>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198327#M15227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I use Python extensively with my templates.&amp;nbsp; I had to create the same set of three maps for several hundred polygon features, so I set up a template for each of the three maps I need, and used python to make a feature layer of each polygon ID in turn, zoom to it, then control each text elements already in the templates with data from the attribute table accessed via a search cursor.&amp;nbsp; All the layers I need for each map already exist in the templates and I have them turned on and off via python depending on other attributes.&amp;nbsp; So in the end I created ~2000 map documents and pdfs for the several hundred geometries in my feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could post a sample code for working with one of the templates if you wanted to see what it looked like, the arcpy mapping module has a good amount of control for controlling elements within map documents.&amp;nbsp; I wouldn't post more than 1 though, since the code gets a bit long.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 12:59:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-brochure-printing-python/m-p/198327#M15227</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2015-07-27T12:59:46Z</dc:date>
    </item>
  </channel>
</rss>

