<?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: Create Map Tile Package tpk faster! in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402086#M2692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have started a new tpk job on a new machine with 10.3. This one is going quite a bit faster. It has overtaken first one in outout size in four days. The first on has been building for about 12 days. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As to why this it is going faster this time; I do not know for sure but I have done a few things differently:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I reprojected all of the source data to the SRS of the tpk. Before I was letting Arc reproject on the fly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I changed layer transparency to colors. I am unclear how this would help with the generation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2015 17:09:45 GMT</pubDate>
    <dc:creator>forestknutsen1</dc:creator>
    <dc:date>2015-03-19T17:09:45Z</dc:date>
    <item>
      <title>Create Map Tile Package tpk faster!</title>
      <link>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402084#M2690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using tpk files as basemaps for a Android application. Which works great. But they take a very long time to generate. The last one was around 8 or 10 days as I recall. I have one building now. It is on day 7 and at around 2.2GB. I would guess that in the end it is going to be over 5GB someplace. So, my question is how can we speed this up. Is it depended on cpu speed? Would getting a more powerful machine help? The source data is in a gdb on the machine's local drive and the output location is also on the local drive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now I have it running on a Lenovo ThinkPad with:&lt;/P&gt;&lt;P&gt;Intel i7-4800MQ @ 2.70GHz&lt;/P&gt;&lt;P&gt;16GB RAM&lt;/P&gt;&lt;P&gt;NVIDIA Quadro K2100M&lt;/P&gt;&lt;P&gt;ArcGIS 10.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at task manager it does not look like I am using much of the machine's resources...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/73135_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 18:15:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402084#M2690</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2015-03-13T18:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Tile Package tpk faster!</title>
      <link>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402085#M2691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Forest,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many tools within the Tile Caching toolset honor the "Parallel Processing Factor" environment setting. It may be worth boosting this factor if you're hoping to apply more of your computer's resources to the task. If executing these tools from Python, add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN class="n"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;env&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;parallelProcessingFactor&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="s" style="color: #a31515;"&gt;"100%"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to the top of your script. Otherwise, set this in the environment settings of the tool dialog in the stand-alone tool or in ModelBuilder. Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Micah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 16:55:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402085#M2691</guid>
      <dc:creator>MicahBabinski</dc:creator>
      <dc:date>2015-03-19T16:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Tile Package tpk faster!</title>
      <link>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402086#M2692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have started a new tpk job on a new machine with 10.3. This one is going quite a bit faster. It has overtaken first one in outout size in four days. The first on has been building for about 12 days. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As to why this it is going faster this time; I do not know for sure but I have done a few things differently:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I reprojected all of the source data to the SRS of the tpk. Before I was letting Arc reproject on the fly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I changed layer transparency to colors. I am unclear how this would help with the generation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 17:09:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402086#M2692</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2015-03-19T17:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Tile Package tpk faster!</title>
      <link>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402087#M2693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Micah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the input - I was unaware of &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; "Parallel Processing Factor" environment setting. I am going to take a look at this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Forest&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 17:12:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402087#M2693</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2015-03-19T17:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Tile Package tpk faster!</title>
      <link>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402088#M2694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may also wish to think about if you need to have all of the information in the tiles packages and at all of the levels as well: &lt;A href="http://desktop.arcgis.com/en/desktop/latest/map/working-with-arcmap/tips-for-creating-tile-packages.htm" title="http://desktop.arcgis.com/en/desktop/latest/map/working-with-arcmap/tips-for-creating-tile-packages.htm"&gt;Tips for creating tile packages—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 17:23:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402088#M2694</guid>
      <dc:creator>AndySmith</dc:creator>
      <dc:date>2015-03-19T17:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Tile Package tpk faster!</title>
      <link>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402089#M2695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to do something very similar for a Android application every month...except I have to create several dozen very large TPK files.&amp;nbsp; It started to become unmanageable time wise.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I ended up do is creating a straight up ArcGIS Server Map cache for the area that I need the TPK for.&amp;nbsp; This way, you can crank it up to use every last bit of CPU you have available (I never could get the &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Parallel Processing Factor var to work right in py).&amp;nbsp; Then use the Export Map Server Cache tool to dump it out to a TPK.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Scripted all out, this ended up being on the magnitude of 50x faster than just creating a TPK file the normal way.&amp;nbsp; Of course the caveat is that you need a ArcGIS Server available.&amp;nbsp; But, all you would need is a EDN level license to do it.&amp;nbsp; Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 17:38:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402089#M2695</guid>
      <dc:creator>JasonHarris2</dc:creator>
      <dc:date>2015-03-19T17:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Tile Package tpk faster!</title>
      <link>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402090#M2696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well it looks like the tpk generation does not support the &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Parallel Processing Factor. It does not say that it is supported in the documentation. Also, I have run a small test and the generation time is the same with it set to 100%. But next time I do a big raster project I am going to start setting this. Thanks for the help Micah.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 18:22:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402090#M2696</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2015-03-19T18:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Tile Package tpk faster!</title>
      <link>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402091#M2697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, I am using a mxd that has scale levels set for the layers so that everything does not try to draw at all scale levels. I also have a tiling custom scheme that I have made up for the area....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 18:26:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402091#M2697</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2015-03-19T18:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Tile Package tpk faster!</title>
      <link>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402092#M2698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds interesting. We do have ArcGIS Server available. Thanks Jason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 18:33:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402092#M2698</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2015-03-19T18:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Tile Package tpk faster!</title>
      <link>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402093#M2699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll be quite pleased at how fast it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 18:39:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/402093#M2699</guid>
      <dc:creator>JasonHarris2</dc:creator>
      <dc:date>2015-03-19T18:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Tile Package tpk faster!</title>
      <link>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/1148861#M6195</link>
      <description>&lt;P&gt;Brilliant!&amp;nbsp; I love that a post from 2015 was still helpful today.&amp;nbsp; I was struggling to Create a TPK from ArcGIS Pro.&amp;nbsp; Thanks to this, I published it to ArcGIS Server and created the tile cache there, then was able to quickly export to TPK.&amp;nbsp; High five!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 23:02:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-map-tile-package-tpk-faster/m-p/1148861#M6195</guid>
      <dc:creator>sblazeycov</dc:creator>
      <dc:date>2022-02-28T23:02:47Z</dc:date>
    </item>
  </channel>
</rss>

