<?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 Map Series export to multiple PDFs not maintaining map extent constraints in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/map-series-export-to-multiple-pdfs-not-maintaining/m-p/55908#M2349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to export a series of 200 individual PDF maps using the Map Series Export to Multiple PDFs option in ArcGIS Pro 2.5.0. The&amp;nbsp;layout contains two map frames with different base maps that show the same index feature but at different scales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frame A is fixed at a 1:5000 scale and contains&amp;nbsp;the index layer used to&amp;nbsp;define the map series and frame B is set to a 1:40000 scale. The extent for frame B is set using a map frame constraint that links frame B to frame A and the index layer using a linked map frame center and a margin set to achieve the 1:40000 desired scale for frame B.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When attempting to export the map series to individual PDFs, the extents are maintained for the first&amp;nbsp;2-20 exported maps and then at some point the extent for frame B changes to a different value for the rest of the maps. I have tried running the export from the Share -&amp;gt; Export Layout toolbar and using&amp;nbsp;basic arcpy scripting within a Jupyter notebook and have the same issue with both methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get the exported map series PDFs to maintain the fixed extents for each map frame?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is similar to&amp;nbsp;&lt;A href="https://community.esri.com/thread/208488" target="_blank"&gt;Multiple Map Frame for Map Series&lt;/A&gt;&amp;nbsp;, but I would like to be able to have fixed extents in both map frames that are centered on each index feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an FYI Here's the arcypy code I'm using to export the map series:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;p = arcpy.mp.ArcGISProject("CURRENT")
l = p.listLayouts("Prelim")[0]
if not l.mapSeries is None:
 ms = l.mapSeries
 if ms.enabled:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for pageNum in range(1, ms.pageCount + 1):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ms.currentPageNumber = pageNum
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print("Exporting {0}".format(ms.pageRow.FieldID))
&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pageName = ms.pageRow.FieldID
&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;l.exportToPDF(os.path.join(exportDirectory, f"Prelim_{ms.pageRow.FieldID}.pdf"))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 15:58:17 GMT</pubDate>
    <dc:creator>AndreaKrzystan1</dc:creator>
    <dc:date>2021-12-12T15:58:17Z</dc:date>
    <item>
      <title>Map Series export to multiple PDFs not maintaining map extent constraints</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/map-series-export-to-multiple-pdfs-not-maintaining/m-p/55908#M2349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to export a series of 200 individual PDF maps using the Map Series Export to Multiple PDFs option in ArcGIS Pro 2.5.0. The&amp;nbsp;layout contains two map frames with different base maps that show the same index feature but at different scales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frame A is fixed at a 1:5000 scale and contains&amp;nbsp;the index layer used to&amp;nbsp;define the map series and frame B is set to a 1:40000 scale. The extent for frame B is set using a map frame constraint that links frame B to frame A and the index layer using a linked map frame center and a margin set to achieve the 1:40000 desired scale for frame B.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When attempting to export the map series to individual PDFs, the extents are maintained for the first&amp;nbsp;2-20 exported maps and then at some point the extent for frame B changes to a different value for the rest of the maps. I have tried running the export from the Share -&amp;gt; Export Layout toolbar and using&amp;nbsp;basic arcpy scripting within a Jupyter notebook and have the same issue with both methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get the exported map series PDFs to maintain the fixed extents for each map frame?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is similar to&amp;nbsp;&lt;A href="https://community.esri.com/thread/208488" target="_blank"&gt;Multiple Map Frame for Map Series&lt;/A&gt;&amp;nbsp;, but I would like to be able to have fixed extents in both map frames that are centered on each index feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an FYI Here's the arcypy code I'm using to export the map series:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;p = arcpy.mp.ArcGISProject("CURRENT")
l = p.listLayouts("Prelim")[0]
if not l.mapSeries is None:
 ms = l.mapSeries
 if ms.enabled:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for pageNum in range(1, ms.pageCount + 1):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ms.currentPageNumber = pageNum
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print("Exporting {0}".format(ms.pageRow.FieldID))
&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pageName = ms.pageRow.FieldID
&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;l.exportToPDF(os.path.join(exportDirectory, f"Prelim_{ms.pageRow.FieldID}.pdf"))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 15:58:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/map-series-export-to-multiple-pdfs-not-maintaining/m-p/55908#M2349</guid>
      <dc:creator>AndreaKrzystan1</dc:creator>
      <dc:date>2021-12-12T15:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Map Series export to multiple PDFs not maintaining map extent constraints</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/map-series-export-to-multiple-pdfs-not-maintaining/m-p/55909#M2350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrea,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may be running into&amp;nbsp;&lt;STRONG&gt;BUG-000133166 &lt;EM&gt;Map frames in an ArcGIS Pro 2.6 map series project do not maintain the correct extents when exported to layouts&lt;/EM&gt;.&lt;/STRONG&gt; A fix for this issue will be in the 2.7 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, without knowing the exact details of your workflow, the spatial reference of the maps &amp;amp; data, and the geometries of the the index features, it would only be a guess that your issue is the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You state:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;When attempting to export the map series to individual PDFs, the extents are maintained for the first&amp;nbsp;2-20 exported maps and then at some point the extent for frame B changes to a different value for the rest of the maps.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm assuming that page 1 is ok and that page 21 is when the results are incorrect and that results 21-200 are always incorrect.&amp;nbsp; Is this consistent? Is there something "special" about the index feature for page 21? Is it an odd shape compared to the other index features?&amp;nbsp; Where does it lie within the spatial reference of your map? Is it at the edge?&amp;nbsp; If&amp;nbsp;you export to a single PDF do you get the same results. Do pages 21-200 give incorrect results?&amp;nbsp; What is the difference between the index features that give you good results and those that do not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just the start of the troubleshooting process and may help you discover a workaround.&amp;nbsp; This sounds like a bug.&amp;nbsp; Can you contact Esri Support? They are better equipped to handle troubleshooting steps and gather bug data. They can be contacted at &lt;A href="https://support.esri.com/en/contact-tech-support"&gt;https://support.esri.com/en/contact-tech-support&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2020 13:21:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/map-series-export-to-multiple-pdfs-not-maintaining/m-p/55909#M2350</guid>
      <dc:creator>TomBole</dc:creator>
      <dc:date>2020-10-23T13:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Map Series export to multiple PDFs not maintaining map extent constraints</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/map-series-export-to-multiple-pdfs-not-maintaining/m-p/55910#M2351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. Based just on the name of that bug, this could be the same issue I'm having, but I will look into following up&amp;nbsp;with ESRI Support to see if that's the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There doesn't seem to be a pattern in which index features trigger the change in the scale for frame B. The index features are a simple 5 m buffer of a point feature class, so all the index features are the same size/shape. Nothing seems out of order with the attributes for any of the index features either as I was able to export these maps using the same index layer but with Data Driven Pages in ArcGIS Desktop 10.6 without issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After doing a few more test runs, it&amp;nbsp;seems that the issue&amp;nbsp;may be related to the value used in the Margin field in the map frame constraint Display Options settings for frame B and an inconsistency in how that translates to the corresponding Scale value under the map constraint Display Options -&amp;gt; Location Settings depending on which map page I use to define the initial Margin value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2020 18:06:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/map-series-export-to-multiple-pdfs-not-maintaining/m-p/55910#M2351</guid>
      <dc:creator>AndreaKrzystan1</dc:creator>
      <dc:date>2020-10-23T18:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Map Series export to multiple PDFs not maintaining map extent constraints</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/map-series-export-to-multiple-pdfs-not-maintaining/m-p/1101468#M45950</link>
      <description>&lt;P&gt;Andrea did you ever find a solution?&amp;nbsp; I'm up to date with ArcPro (version 2.8 I believe).&amp;nbsp; I am using rectangular extent boxes that I custom sized using a script that took awhile (should have used points and referenced a col for scales like you!).&amp;nbsp; But I have 20 rectangular indices with a total of 7 different sizes.&amp;nbsp; And no matter how I set my margins in the Map Sheets settings in my Layout I get varying buffer sizes per sheet.&amp;nbsp; I set a 0 buffer in multiple values units --&amp;gt; points, inches, percent, etc. yet my margins change from sheet to sheet.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you find a solution?&lt;/P&gt;&lt;P&gt;Here are two sheets to show what happens with different size rectangles (same exact lenght:width ration).&amp;nbsp; In this case ~1:1000 and 1:1,500 respectively.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="troubleshoot_mapseries_Page_1.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23746i7B7D04CA9AAF5E34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="troubleshoot_mapseries_Page_1.png" alt="troubleshoot_mapseries_Page_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="troubleshoot_mapseries_Page_2.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23747iE29092F0DBF2E309/image-size/medium?v=v2&amp;amp;px=400" role="button" title="troubleshoot_mapseries_Page_2.png" alt="troubleshoot_mapseries_Page_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; NOTICE the ORANGE box.&amp;nbsp; Those are my indices.&lt;/P&gt;&lt;P&gt;Thanks - Zach&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 21:19:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/map-series-export-to-multiple-pdfs-not-maintaining/m-p/1101468#M45950</guid>
      <dc:creator>ZacharyUhlmann1</dc:creator>
      <dc:date>2021-09-23T21:19:57Z</dc:date>
    </item>
  </channel>
</rss>

