<?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: Automating Map Series Pages in ArcGIS Pro With Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274976#M21239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thanks Rebecca, however those links don't seem to cover what I am looking for.&amp;nbsp; I'm wondering how to access and export the pages in a Map Series.... something similar to the functionality&amp;nbsp; of the arcpy.mapping.datadrivenPages class.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Mar 2016 05:27:56 GMT</pubDate>
    <dc:creator>SeanFadum1</dc:creator>
    <dc:date>2016-03-25T05:27:56Z</dc:date>
    <item>
      <title>Automating Map Series Pages in ArcGIS Pro With Python</title>
      <link>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274974#M21237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering if anyone has come across any documentation to access the Map Series Pages in ArcGIS Pro via ArcPy.&amp;nbsp; I thought this would have been part of the mapping module.&amp;nbsp; Can this be done, or is it something coming in future releases.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 23:40:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274974#M21237</guid>
      <dc:creator>SeanFadum1</dc:creator>
      <dc:date>2016-03-24T23:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Map Series Pages in ArcGIS Pro With Python</title>
      <link>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274975#M21238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might help &lt;A href="http://pro.arcgis.com/en/pro-app/arcpy/mapping/migratingfrom10xarcpymapping.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/mapping/migratingfrom10xarcpymapping.htm"&gt;Migrating from arcpy.mapping to ArcGIS Pro—ArcPy | ArcGIS for Desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and in particular &lt;A href="http://pro.arcgis.com/en/pro-app/arcpy/mapping/introduction-to-arcpy-mp.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/mapping/introduction-to-arcpy-mp.htm"&gt;Introduction to arcpy.mp—ArcPy | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://video.arcgis.com/watch/4454/arcgis-pro-map-automation-with-python" title="http://video.arcgis.com/watch/4454/arcgis-pro-map-automation-with-python"&gt;ArcGIS Pro: Map Automation with Python | ArcGIS Video&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (from Dev Summit 2015)&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.esri.com/esri/arcgis/2015/02/06/analysis-geoprocessing-in-arcgis-pro-frequently-asked-questions/" title="https://blogs.esri.com/esri/arcgis/2015/02/06/analysis-geoprocessing-in-arcgis-pro-frequently-asked-questions/"&gt;Analysis &amp;amp; Geoprocessing in ArcGIS Pro: Frequently Asked Questions | ArcGIS Blog&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (from early 2015)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: added additional resources and discussions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 23:44:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274975#M21238</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-03-24T23:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Map Series Pages in ArcGIS Pro With Python</title>
      <link>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274976#M21239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thanks Rebecca, however those links don't seem to cover what I am looking for.&amp;nbsp; I'm wondering how to access and export the pages in a Map Series.... something similar to the functionality&amp;nbsp; of the arcpy.mapping.datadrivenPages class.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 05:27:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274976#M21239</guid>
      <dc:creator>SeanFadum1</dc:creator>
      <dc:date>2016-03-25T05:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Map Series Pages in ArcGIS Pro With Python</title>
      <link>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274977#M21240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm.&amp;nbsp; so I guess this sums it up for now then...&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/help/projects/20045-import-data-driven-pages.htm" title="https://pro.arcgis.com/en/pro-app/help/projects/20045-import-data-driven-pages.htm"&gt;20045: Data Driven Pages are not yet supported—ArcGIS Pro | ArcGIS for Desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt; Not real helpful on a time line or if they will be supported.....but sounds like for know you are out of luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 05:33:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274977#M21240</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-03-25T05:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Map Series Pages in ArcGIS Pro With Python</title>
      <link>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274978#M21241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes... it was promised for the PRO 1.2 releases (some workarounds given)&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/164035"&gt;Data Driven Pages in ArcGIS Pro (Customization)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but now called map series ( but still can't find a definitive.... yes... ddp is now map series... quote0&lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.stackexchange.com/questions/185301/finding-data-driven-pages-for-arcgis-pro" title="http://gis.stackexchange.com/questions/185301/finding-data-driven-pages-for-arcgis-pro"&gt;Finding data driven pages for ArcGIS Pro? - Geographic Information Systems Stack Exchange&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="https://pro.arcgis.com/en/pro-app/help/layouts/map-series.htm" title="https://pro.arcgis.com/en/pro-app/help/layouts/map-series.htm"&gt;Map series—Layouts | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that the pdfdocument and associated materials is what you are looking for&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/pdfdocument-class.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/pdfdocument-class.htm"&gt;PDFDocument—ArcPy | ArcGIS for Desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/migratingfrom10xarcpymapping.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/migratingfrom10xarcpymapping.htm"&gt;Migrating from arcpy.mapping to ArcGIS Pro—ArcPy | ArcGIS for Desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/arcgisproject-class.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/arcgisproject-class.htm"&gt;ArcGISProject—ArcPy | ArcGIS for Desktop&lt;/A&gt; begin here for classes&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/pdfdocumentcreate.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/pdfdocumentcreate.htm"&gt;PDFDocumentCreate—ArcPy | ArcGIS for Desktop&lt;/A&gt; how to create pdf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 05:52:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274978#M21241</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-03-25T05:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Map Series Pages in ArcGIS Pro With Python</title>
      <link>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274979#M21242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for a way to automate the export of each page in a map series to a png or jpeg. This is possible with data driven pages in ArcMap - but doesn't appear to be possible in Pro (1.4). From the &lt;A href="http://pro.arcgis.com/en/pro-app/help/layouts/export-options.htm"&gt;docs&lt;/A&gt;:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;"&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt; If you have a map series enabled and export to a format other than PDF (for example, JPG), you'll only generate a single page output file. If you want a JPG file for every page in the map series, you'll need to &lt;STRONG&gt;manually display and export each page.&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;**Insert complaints and griping here**&lt;/P&gt;&lt;P&gt;Any workarounds?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 16:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274979#M21242</guid>
      <dc:creator>BrandonFlessner</dc:creator>
      <dc:date>2017-03-23T16:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Map Series Pages in ArcGIS Pro With Python</title>
      <link>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274980#M21243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brandon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I too am looking to automate jpg exports from a Map Series and so far have nothing (admittedly I have wasted my time on this in a while) &amp;nbsp;The only workaround I can think of is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) instead of using map series, create the extents of your maps manually and bookmark them&lt;/P&gt;&lt;P&gt;2) in python, loop through your bookmarks (setting the extent of your maps) and then export each one as jpeg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just a thought, and I have not tested / investigated the feasibility of it. &amp;nbsp;If you try it, please let me know how it turns out for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope they just update the Arcpy module to handle this properly in the fall release of ArcGIS Pro (1.5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 16:56:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274980#M21243</guid>
      <dc:creator>SeanFadum1</dc:creator>
      <dc:date>2017-03-23T16:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Map Series Pages in ArcGIS Pro With Python</title>
      <link>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274981#M21244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I realize this is old, but I am working with this now in pro. I thought I would share my code sample, and report that within the ArcGIS Pro interface itself I am finding garbage collection issues related to image exports at the scale of 1000 images.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;aprx = mp.ArcGISProject(project)
layout = aprx.listLayouts(layout_name)[&lt;SPAN style="color: #0000ff;"&gt;0&lt;/SPAN&gt;]
map_frame = layout.listElements(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"MAPFRAME_ELEMENT"&lt;/SPAN&gt;)[&lt;SPAN style="color: #0000ff;"&gt;0&lt;/SPAN&gt;]&amp;nbsp; &lt;SPAN style="color: #808080;"&gt;# Use First one
&lt;/SPAN&gt;PLM.arc_print(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"Working with layout {0}"&lt;/SPAN&gt;.format(layout.name))
field_tuple = (&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"SHAPE@"&lt;/SPAN&gt;PLM.arc_print(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"Starting image export. Check if images are blank. If they are, the Map Frame Projection "
&lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "should be set to match the projection of the labeled feature class."&lt;/SPAN&gt;)
&lt;SPAN style="color: #000080; font-weight: bold;"&gt;with &lt;/SPAN&gt;arcpy.da.SearchCursor(in_features, field_tuple) &lt;SPAN style="color: #000080; font-weight: bold;"&gt;as &lt;/SPAN&gt;curs:
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;for &lt;/SPAN&gt;row &lt;SPAN style="color: #000080; font-weight: bold;"&gt;in &lt;/SPAN&gt;curs:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter += &lt;SPAN style="color: #0000ff;"&gt;1
&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;shape = row[&lt;SPAN style="color: #0000ff;"&gt;0&lt;/SPAN&gt;]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; image_name = &lt;SPAN style="color: #000080;"&gt;str&lt;/SPAN&gt;(base_name) + &lt;SPAN style="color: #008080; font-weight: bold;"&gt;"_" &lt;/SPAN&gt;+ &lt;SPAN style="color: #000080;"&gt;str&lt;/SPAN&gt;(counter) + &lt;SPAN style="color: #008080; font-weight: bold;"&gt;".jpg"
&lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;image_path = os.path.join(output_folder, image_name)&lt;SPAN style="color: #000080; font-weight: bold;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;extent = shape.extent
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map_frame.panToExtent(extent)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;if &lt;/SPAN&gt;counter % &lt;SPAN style="color: #0000ff;"&gt;100 &lt;/SPAN&gt;== &lt;SPAN style="color: #0000ff;"&gt;0&lt;/SPAN&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PLM.arc_print(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"Exporting JPEG at feature number {0}."&lt;/SPAN&gt;.format(counter))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout.exportToJPEG(image_path)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Running something like this outside of ArcGIS Pro seems to work best, but maybe this will be helpful for someone trying to automate these workflows.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/automating-map-series-pages-in-arcgis-pro-with/m-p/274981#M21244</guid>
      <dc:creator>DavidWasserman</dc:creator>
      <dc:date>2021-12-11T13:24:44Z</dc:date>
    </item>
  </channel>
</rss>

