<?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 10.4 ArcPy ExporttoPDF only exports parts of layers in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675796#M52333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to clarify: This bat file runs a python script that uses ExportToPDF with data driven pages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2016 16:08:50 GMT</pubDate>
    <dc:creator>RandyMcGregor</dc:creator>
    <dc:date>2016-11-28T16:08:50Z</dc:date>
    <item>
      <title>ArcGIS 10.4 ArcPy ExporttoPDF only exports parts of layers</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675788#M52325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While attempting to migrate to ArcGIS 10.4 from 10.2, I am finding that the 10.4 version of ExportToPDF in ArcPy is only generating portions of layers.&amp;nbsp; I have attached a pdf to show that the points and boundaries started to render and just stopped a quarter of the way through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw that in 10.3 there was a bug that caused similar errors but it was related to region settings and did not affect english versions, so I will add that I am using US english version of 10.4 so that bug should not apply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tested with a super basic script&amp;nbsp; (like below)and recreated the mxd in Desktop 10.4 and it still only renders a portion of the map.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
print "Start Generating PDF Output..."
mxd = arcpy.mapping.MapDocument(r"F:\arcgisserver\arcgisresources\ExportPDF\Layouts\Landscape8x11.mxd")
arcpy.mapping.ExportToPDF(mxd, r"F:\data\temp\temp\Test_ArcPy_Mapping_ExportToPDFProject.pdf")
print "Finished generating output.&amp;nbsp; Check c:\\temp"
del mxd&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:29:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675788#M52325</guid>
      <dc:creator>NeoGeo</dc:creator>
      <dc:date>2021-12-12T04:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.4 ArcPy ExporttoPDF only exports parts of layers</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675789#M52326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just found that 10.4.1 release was released and installed it, but it did not help.&amp;nbsp; After more testing, the problem in the 10.4.x version seems to be a bug in handling ArcGIS server services.&amp;nbsp; Flat files like shapefiles seem to be rendering ok, but services are not.&amp;nbsp; I tried both ArcGIS server services from both ArcGIS Server 10.2 and 10.4 in the mxd, but it fails on rendering both.&amp;nbsp; It is strange that it sometimes renders part of it though, almost as if it times out and pulls the plug partway through.&amp;nbsp; This is odd since it worked in 10.0, 10.1, and 10.2 (not sure about 10.3).&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jun 2016 06:34:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675789#M52326</guid>
      <dc:creator>NeoGeo</dc:creator>
      <dc:date>2016-06-04T06:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.4 ArcPy ExporttoPDF only exports parts of layers</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675790#M52327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have opened an ESRI tech support ticket for this issue.&amp;nbsp; They had me try it in ArcMap without ArcPy and it turns out that the problem exists in Desktop 10.4.1 just doing an export to pdf without any programming.&amp;nbsp; They were able to recreate the problem on their side.&amp;nbsp; Will update this when I have more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 21:08:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675790#M52327</guid>
      <dc:creator>NeoGeo</dc:creator>
      <dc:date>2016-06-08T21:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.4 ArcPy ExporttoPDF only exports parts of layers</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675791#M52328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lake County, Illinois has just stumbled on this issue too. Our tech support contact was able to reproduce. It seems to happen when you have a service from ArcGIS Online or ArcGIS Server in your MXD. The export to pdf function (and SVG and perhaps others) are unable to completely render the AGOL/AGS service. We are attempting to get attached to your issue, that will help speed this through tech support. I will update this post with a BUG number when we have one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 20:43:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675791#M52328</guid>
      <dc:creator>PeterSchoenfield</dc:creator>
      <dc:date>2016-06-09T20:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.4 ArcPy ExporttoPDF only exports parts of layers</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675792#M52329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been logged as [BUG-000094602: In ArcGIS 10.4 for Desktop, some or all parts of a service layer disappear when exported to PDF] and is marked with a high priority.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're experiencing this issue, please log a case with Esri Technical Support to let them know that you're experiencing this issue and get attached to the bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 11:56:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675792#M52329</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2016-06-10T11:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.4 ArcPy ExporttoPDF only exports parts of layers</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675793#M52330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I stumbled across this issue yesterday while trying to export out a map that had a map service.&amp;nbsp; I just had just upgraded from 10.3 to 10.4 and this is within desktop, not using ArcPy.&amp;nbsp; The map service was not cached and would only export out the top quarter of the map page.&amp;nbsp; The other layer (point feature class located in a file geodatabase) exported just fine.&amp;nbsp; I then tried a cached image service and that fully exported.&amp;nbsp; I then tried a cached map service and that also exported fully.&amp;nbsp; Could it be something with dynamic map services?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2016 13:47:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675793#M52330</guid>
      <dc:creator>ChrisRobinson</dc:creator>
      <dc:date>2016-08-03T13:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.4 ArcPy ExporttoPDF only exports parts of layers</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675794#M52331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the time I was testing 10.4 and then 10.4.1, ESRI had confirmed this was a bug and that there was no fix or workaround yet.&amp;nbsp; I was forced to migrate backward to 10.3.1 because of the following bugs which had no fixes&lt;/P&gt;&lt;P&gt;1) This one - pdf exports only partially both in Desktop and in Scripts (still no fix at the time I write this)&lt;/P&gt;&lt;P&gt;2) Services which took 10-15 seconds to publish in 10.2-10.3 took 15-20 minutes on 10.4.1 resulting in that much service downtime.&amp;nbsp; (per my other thread, ESRI later released a bug fix for this)&lt;/P&gt;&lt;P&gt;3) Bing maps do not work in PDF exports with ArcPy on ArcGIS server (does work on desktop).&amp;nbsp; This one was broken in previous versions as well, just not fixed yet.&lt;/P&gt;&lt;P&gt;4) Not compatible with SQL Server 2008 R2 (This one is not a bug.&amp;nbsp; ESRI does not claim it is supposed to work.&amp;nbsp; Do not try it even temporarily.&amp;nbsp; It caused corruption when testing to see if we could temporarily get by)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2016 15:23:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675794#M52331</guid>
      <dc:creator>NeoGeo</dc:creator>
      <dc:date>2016-08-03T15:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.4 ArcPy ExporttoPDF only exports parts of layers</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675795#M52332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a similar problem (I think). I have a bat file that exports map sheets nightly. I got so used to it working that I was caught off guard when told that no sheets had been exported for several nights.&lt;/P&gt;&lt;P&gt;Turns out that, at 10.4, it started failing. When I look at the output, the last three sheets (pdfs) have fewer and fewer features on them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 16:06:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675795#M52332</guid>
      <dc:creator>RandyMcGregor</dc:creator>
      <dc:date>2016-11-28T16:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.4 ArcPy ExporttoPDF only exports parts of layers</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675796#M52333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to clarify: This bat file runs a python script that uses ExportToPDF with data driven pages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 16:08:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-4-arcpy-exporttopdf-only-exports-parts/m-p/675796#M52333</guid>
      <dc:creator>RandyMcGregor</dc:creator>
      <dc:date>2016-11-28T16:08:50Z</dc:date>
    </item>
  </channel>
</rss>

