<?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: ArcGIS Pro 3.1 Legend not exporting correctly for raster data in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1306437#M70885</link>
    <description>&lt;P&gt;One further work around is to copy and paste as an image that part of the legend that doesn't export to pdf.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2023 04:23:23 GMT</pubDate>
    <dc:creator>OliverScheidegger</dc:creator>
    <dc:date>2023-07-07T04:23:23Z</dc:date>
    <item>
      <title>ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1276541#M67706</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Since updating to Pro 3.1 I have been experiencing problems exporting my layout to a graphics file and also printing. Specifically, if I have classified raster data in my map, and use the layout legend option 'Only show features visible in the map extent', the legend for the raster data does not export correctly. Variously, it either does not show any of the data classes at all, or it only shows the first class in the legend list, even if there is more than one class visible in the map layout. This does not happen with vector data using symbology with unique values.&amp;nbsp;The same thing also happens printing to a PDF file or paper. The legend prints correctly without the option selected.&lt;/P&gt;&lt;P&gt;I have tried various solutions including a clean install of Pro.&amp;nbsp; Esri support have not been able to replicate this so it could be something specific to my machine, however, this wasn't an issue before 3.1.&amp;nbsp;Interestingly, using Python to export works fine.&lt;/P&gt;&lt;P&gt;Has anyone had the same issue and found a workaround?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 14:44:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1276541#M67706</guid>
      <dc:creator>StephenKing3</dc:creator>
      <dc:date>2023-04-07T14:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1276606#M67716</link>
      <description>&lt;P&gt;It looks like you might be running into this bug &lt;A href="https://support.esri.com/en-us/bug/all-but-the-first-symbolized-class-is-dropped-in-the-le-bug-000157166" target="_blank"&gt;https://support.esri.com/en-us/bug/all-but-the-first-symbolized-class-is-dropped-in-the-le-bug-000157166&lt;/A&gt;&amp;nbsp;which is being investigated. You can subscribe to get updates on when it is fixed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 16:29:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1276606#M67716</guid>
      <dc:creator>AubriOtis</dc:creator>
      <dc:date>2023-04-07T16:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1276614#M67720</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/374676"&gt;@AubriOtis&lt;/a&gt;, thank you that does sound very similar.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 16:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1276614#M67720</guid>
      <dc:creator>StephenKing3</dc:creator>
      <dc:date>2023-04-07T16:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1305647#M70800</link>
      <description>&lt;P&gt;3.1.2 - i am having the same issue, legend for a raster layer is showing before i export print to pdf, then after export only the legend for raster layer is not showing. All other vector legend items show up. Does not seem to be exactly the same as the reported Bug.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 05:16:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1305647#M70800</guid>
      <dc:creator>OliverScheidegger</dc:creator>
      <dc:date>2023-07-05T05:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1305650#M70801</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OliverScheidegger_0-1688535515091.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74795iE5D7A6B2B0BAE0ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OliverScheidegger_0-1688535515091.png" alt="OliverScheidegger_0-1688535515091.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Legend before exporting as pdf&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 05:38:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1305650#M70801</guid>
      <dc:creator>OliverScheidegger</dc:creator>
      <dc:date>2023-07-05T05:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1305652#M70802</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OliverScheidegger_1-1688535550591.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74796i668FC297BFABADAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OliverScheidegger_1-1688535550591.png" alt="OliverScheidegger_1-1688535550591.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Legend after exporting to pdf, ArcGIS Pro why have you dropped of the raster legend item??????&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 05:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1305652#M70802</guid>
      <dc:creator>OliverScheidegger</dc:creator>
      <dc:date>2023-07-05T05:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1305654#M70803</link>
      <description>&lt;P&gt;Confirmed the issue only occurs when "Only show features visible in the map extent" box is ticked.&lt;/P&gt;&lt;P&gt;When unticked, all legends items including raster layer is visible in exported pdf.&lt;/P&gt;&lt;P&gt;Very annoying! I lost 2 hours of work time on this issue.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 06:08:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1305654#M70803</guid>
      <dc:creator>OliverScheidegger</dc:creator>
      <dc:date>2023-07-05T06:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1306437#M70885</link>
      <description>&lt;P&gt;One further work around is to copy and paste as an image that part of the legend that doesn't export to pdf.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 04:23:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1306437#M70885</guid>
      <dc:creator>OliverScheidegger</dc:creator>
      <dc:date>2023-07-07T04:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1323560#M72584</link>
      <description>&lt;P&gt;Thank you for finding a workaround...its unfortunate that setting isn't working since this is essential to a bulk of the the figures I produce.&amp;nbsp; pretty critical feature already not working after upgrading to 3.1&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 17:01:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1323560#M72584</guid>
      <dc:creator>Ben_York</dc:creator>
      <dc:date>2023-08-29T17:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1366861#M77010</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am also having this issue and the easiest fix I've found is to &lt;STRONG&gt;convert the legend to graphics&lt;/STRONG&gt;. Right click the legend object and 'Convert to Graphics.' Be sure that the legend is finalized, as you'll not be able to make any further adjustments after it is converted. This allows you to maintain the '&lt;SPAN&gt;Only show features visible in the map extent' setting. Still need to fix the bug, but this is a solid work-around.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 16:21:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1366861#M77010</guid>
      <dc:creator>CVWDGIS</dc:creator>
      <dc:date>2024-01-05T16:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1382174#M78743</link>
      <description>&lt;P&gt;I have been having this issue and found exporting using the python terminal is good workaround.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a one page map something as simple as the below would work:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;import arcpy&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# Reference the CURRENT project&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;project = arcpy.mp.ArcGISProject("CURRENT")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# Reference the active layout&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;layout = project.listLayouts()[0] # Change index based on your active layout&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# Export the current layout view to a PDF&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;layout.exportToPDF(r"C:\path\to\output\your_output.pdf")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;print("PDF export completed.")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;For a map series you would need to export all series pages individually (i use temp files) and then combine in to one, the below worked for me:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;import arcpy&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;import os&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# Reference the CURRENT project&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;project = arcpy.mp.ArcGISProject("CURRENT")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# Reference the active layout&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;layout = project.listLayouts()[0] # Change index based on your active layout&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# Check if the layout has a map series&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;if layout.mapSeries is not None:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ms = layout.mapSeries&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# Create a PDF document to append pages&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;final_pdf = arcpy.mp.PDFDocumentCreate(r"C:\path\to\output\final_output.pdf")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# Loop through each page in the map series and export&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;for pageNum in range(1, ms.pageCount + 1):&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ms.currentPageNumber = pageNum&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;temp_pdf_path = r"C:\path\to\output\temp_map_{}.pdf".format(pageNum)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;print(f"Exporting page {pageNum}...")&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;layout.exportToPDF(temp_pdf_path)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;final_pdf.appendPages(temp_pdf_path)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;os.remove(temp_pdf_path) # Delete the temporary file&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# Save and close the final PDF&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;final_pdf.saveAndClose()&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;print("PDF export completed.")&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 14:11:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1382174#M78743</guid>
      <dc:creator>FraserLumb</dc:creator>
      <dc:date>2024-02-14T14:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1382629#M78818</link>
      <description>Yes, agree. Export via python terminal works for me too. Legend appears normally.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Feb 2024 00:53:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1382629#M78818</guid>
      <dc:creator>OliverScheidegger</dc:creator>
      <dc:date>2024-02-15T00:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1407324#M81598</link>
      <description>&lt;P&gt;This bums me out. I have a few co-workers having this issue. It seems to have just started in the last week or so.&lt;BR /&gt;It's not a "Kernel Density" issue like the bug reports. It's any Raster Layer.&amp;nbsp;&lt;BR /&gt;I&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 22:00:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1407324#M81598</guid>
      <dc:creator>Wayne_Rennick</dc:creator>
      <dc:date>2024-04-08T22:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1407334#M81599</link>
      <description>&lt;P&gt;I'm sorry! Did you update your software recently? I'm curious why it just started and want to make sure you aren't running into an additional problem or bug.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 22:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1407334#M81599</guid>
      <dc:creator>AubriOtis</dc:creator>
      <dc:date>2024-04-08T22:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.1 Legend not exporting correctly for raster data</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1409771#M81846</link>
      <description>&lt;P&gt;I'm not sure but I think it was using 3.2.1 when this occurred. If I run into it again I'll post some details.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 15:25:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-3-1-legend-not-exporting-correctly-for/m-p/1409771#M81846</guid>
      <dc:creator>Wayne_Rennick</dc:creator>
      <dc:date>2024-04-15T15:25:26Z</dc:date>
    </item>
  </channel>
</rss>

