<?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: Data Driven Pages in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/data-driven-pages/m-p/189891#M14560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you get through the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Getting_started_with_arcpy_mapping_tutorial/00s30000006w000000/"&gt;tutorial on data access mapping?&lt;/A&gt; Kind of a wide open question as it stands since we have no idea what you know about the topic or what problems you have found.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 May 2015 10:20:39 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2015-05-23T10:20:39Z</dc:date>
    <item>
      <title>Data Driven Pages</title>
      <link>https://community.esri.com/t5/python-questions/data-driven-pages/m-p/189890#M14559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to export around 150 .tiffs from a .mxd using Data driven pages based on Index grid automatically using Python script. Pls share your ideas...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2015 09:31:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/data-driven-pages/m-p/189890#M14559</guid>
      <dc:creator>MANESK</dc:creator>
      <dc:date>2015-05-23T09:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Data Driven Pages</title>
      <link>https://community.esri.com/t5/python-questions/data-driven-pages/m-p/189891#M14560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you get through the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Getting_started_with_arcpy_mapping_tutorial/00s30000006w000000/"&gt;tutorial on data access mapping?&lt;/A&gt; Kind of a wide open question as it stands since we have no idea what you know about the topic or what problems you have found.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2015 10:20:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/data-driven-pages/m-p/189891#M14560</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-05-23T10:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Data Driven Pages</title>
      <link>https://community.esri.com/t5/python-questions/data-driven-pages/m-p/189892#M14561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Manu, straight from the help files, the syntax is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exportToPDF (out_pdf, {page_range_type}, {page_range_string}, {multiple_files}, {resolution}, {image_quality}, {colorspace}, {compress_vectors}, {image_compression}, {picture_symbol}, {convert_markers}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality}, {show_selection_symbology})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried this yet? Has it given any problems? If you don't understand the parameters, you can look at the help file: &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00s300000030000000" title="http://resources.arcgis.com/en/help/main/10.1/index.html#//00s300000030000000"&gt;ArcGIS Help 10.1&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2015 00:54:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/data-driven-pages/m-p/189892#M14561</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-05-24T00:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Data Driven Pages</title>
      <link>https://community.esri.com/t5/python-questions/data-driven-pages/m-p/189893#M14562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;You may want to provide some insight in the version of ArcMap you are working with, since sometimes functionality might be different depending the version.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the sample provided at the end of the Help:&amp;nbsp; &lt;A href="http://desktop.arcgis.com/en/desktop/latest/map/page-layouts/exporting-data-driven-pages.htm" title="http://desktop.arcgis.com/en/desktop/latest/map/page-layouts/exporting-data-driven-pages.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Exporting Data Driven Pages—Help | ArcGIS for Desktop&lt;/A&gt; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
mxd = arcpy.mapping.MapDocument("CURRENT")
for pageNum in range(1, mxd.dataDrivenPages.pageCount + 1):
&amp;nbsp; mxd.dataDrivenPages.currentPageID = pageNum
&amp;nbsp; arcpy.mapping.ExportToPNG(mxd, r"C:\Temp\ParcelAtlas_Page" + str(pageNum) + ".png")
del mxd&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this sample uses PNG as output format you will also want to check out the Help on: &lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-mapping/exporttotiff.htm" title="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-mapping/exporttotiff.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;ExportToTIFF—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;arcpy.mapping.ExportToTIFF(mxd, out_tiff, {data_frame}, {df_export_width}, {df_export_height}, {resolution}, {world_file}, {color_mode}, {tiff_compression}, {geoTIFF_tags})&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, this will only work if you have set up your data driven pages correctly. And if you have your DDP set up correctly, you actually don't need code to export the result...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So... why do you need python code to export the DDP to TIFF?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:33:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/data-driven-pages/m-p/189893#M14562</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T09:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data Driven Pages</title>
      <link>https://community.esri.com/t5/python-questions/data-driven-pages/m-p/189894#M14563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know why I read that as exporting to PDF! Just what I'm used to doing, I guess.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 16:13:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/data-driven-pages/m-p/189894#M14563</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-05-25T16:13:10Z</dc:date>
    </item>
  </channel>
</rss>

