<?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 Vector Tile Package min and max scales not honored with arcpy script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/create-vector-tile-package-min-and-max-scales-not/m-p/746166#M57686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;So the esri community is&amp;nbsp;aware of what they can do to properly &lt;STRONG&gt;REFERENCE&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;ESCALATE&lt;/STRONG&gt; this bug with Esri: &lt;SPAN style="font-size: 15px;"&gt;Login to your My Esri account and go here (&lt;STRONG&gt;BUG-000124749&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-size: 15px;"&gt;&lt;A href="https://my.esri.com/#/support/bugs/BUG-000124749"&gt;&lt;SPAN style="text-decoration: underline;"&gt;https://my.esri.com/#/support/bugs/BUG-000124749&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-size: 15px;"&gt;Click &lt;STRONG&gt;Escalate&lt;/STRONG&gt; with the number of users affected (many in our case) and business justification for escalation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-size: 15px;"&gt;My understanding is that despite this bug being identified all the way back on 8/23/2019 with 2.4.x the issue was not resolved in 2.4.2 and is unlikely to be resolved in 2.4.3.&amp;nbsp; I can only imagine this is because of priorities&amp;nbsp;resulting from&amp;nbsp;a lack of escalation.&amp;nbsp; From my perspective - &lt;SPAN style="color: #4c4c4c; font-size: 15px;"&gt;this bug produces VTPK files that our clients cannot use (we cannot zoom in on equipment like poles and fuses&amp;nbsp;that are drawn close together spatially&amp;nbsp;-&amp;nbsp;the features&amp;nbsp;completely disappear from the map as they start to spread apart and show labels) and a "workaround" of using the Desktop provides an unacceptable inability for our staff to fully automate (i.e. on a clock and with a computer, not with human hands) the scripted Vector Tile Package generation for the 18 or so regions we've compartmentalized across our company service territory.&amp;nbsp; We must have this fixed and until we can we are stuck frozen on ArcGIS Pro 2.3.2 on our MMPK/VTPK generation machine which creates security exceptions and software incompatibilities across our enterprise as we try to keep up with the esri ArcGIS Pro releases for other GIS deliverables.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-size: 15px;"&gt;- PacifiCorp IT GIS Team&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-size: 15px;"&gt;p.s. Example of the line of Python code we ran - the "0" isn't being respected (most examples use 70.5310735 which looks to be the internal default it is now returning in the VTPK files.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-size: 13pt;"&gt;arcpy.management.CreateVectorTilePackage(vtpk_map, vtpk, "ONLINE", "", "INDEXED", 295828763.795777, 0) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Dec 2019 21:58:44 GMT</pubDate>
    <dc:creator>FrankCampbell-Gillies</dc:creator>
    <dc:date>2019-12-13T21:58:44Z</dc:date>
    <item>
      <title>Create Vector Tile Package min and max scales not honored with arcpy script</title>
      <link>https://community.esri.com/t5/python-questions/create-vector-tile-package-min-and-max-scales-not/m-p/746163#M57683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a python script that I want to use to automate the creation of a VTPK. My issue is that the script does not actually use the min and max scales that I enter, but is only caching levels 0 - 19. If I run the tool within Pro, it will cache the correct levels, but running outside will only cache levels 0-19 no matter what I put in for the min/max scales. I've seen another discussion close to this &lt;A _jive_internal="true" href="https://community.esri.com/message/751859-create-vector-tile-package-different-results-in-arcgis-pro-and-standalone-python-script?q=Create%20Vector%20Tile%20Package%20min%20and%20max%20scales%20not%20used%20with%20arcpy%20script" target="_blank"&gt;here&lt;/A&gt;, but it seems unnecessarily complex for what I'm trying to accomplish. Has anyone else encountered this issue and found a solution? Here is just a basic version of the code I'm trying to get to work, using an existing tiling scheme&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy

arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;workspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;workspace path&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;overwriteOutput &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;True&lt;/SPAN&gt;

aprx &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mp&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ArcGISProject&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;path to project&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
m &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; aprx&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;listMaps&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
vtpk &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;path of vtpk&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;
tiling_scheme &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;path to tiling scheme&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;\VTTS_3567_NAD_1983_StatePlane_Utah_South_FIPS_4303_Feet&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;xml"
min_scale &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;537922.337401&lt;/SPAN&gt;
max_scale &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;65.664348&lt;/SPAN&gt;


arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;management&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CreateVectorTilePackage&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;m&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; vtpk&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"EXISTING"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; tiling_scheme&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"INDEXED"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; min_scale&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; max_scale&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:44:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-vector-tile-package-min-and-max-scales-not/m-p/746163#M57683</guid>
      <dc:creator>TraceStanford1</dc:creator>
      <dc:date>2021-12-12T07:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create Vector Tile Package min and max scales not honored with arcpy script</title>
      <link>https://community.esri.com/t5/python-questions/create-vector-tile-package-min-and-max-scales-not/m-p/746164#M57684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a known defect in ArcGIS Pro 2.4. The Create Vector Tile Package tool does not honor the min_cached_scale and max_cached_scale parameters when run from Python, and the workaround is to run the Create Vector Tile Package as a geoprocessing tool in Pro. Development is aware of this bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2019 15:34:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-vector-tile-package-min-and-max-scales-not/m-p/746164#M57684</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-20T15:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create Vector Tile Package min and max scales not honored with arcpy script</title>
      <link>https://community.esri.com/t5/python-questions/create-vector-tile-package-min-and-max-scales-not/m-p/746165#M57685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Gillian - I'm glad I did a search on this I was going nuts, experiencing the same exact issue as the poster&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/225856"&gt;Trace Stanford&lt;/A&gt;‌. I am at Pro 2.4.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 15:38:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-vector-tile-package-min-and-max-scales-not/m-p/746165#M57685</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2019-10-17T15:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create Vector Tile Package min and max scales not honored with arcpy script</title>
      <link>https://community.esri.com/t5/python-questions/create-vector-tile-package-min-and-max-scales-not/m-p/746166#M57686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;So the esri community is&amp;nbsp;aware of what they can do to properly &lt;STRONG&gt;REFERENCE&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;ESCALATE&lt;/STRONG&gt; this bug with Esri: &lt;SPAN style="font-size: 15px;"&gt;Login to your My Esri account and go here (&lt;STRONG&gt;BUG-000124749&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-size: 15px;"&gt;&lt;A href="https://my.esri.com/#/support/bugs/BUG-000124749"&gt;&lt;SPAN style="text-decoration: underline;"&gt;https://my.esri.com/#/support/bugs/BUG-000124749&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-size: 15px;"&gt;Click &lt;STRONG&gt;Escalate&lt;/STRONG&gt; with the number of users affected (many in our case) and business justification for escalation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-size: 15px;"&gt;My understanding is that despite this bug being identified all the way back on 8/23/2019 with 2.4.x the issue was not resolved in 2.4.2 and is unlikely to be resolved in 2.4.3.&amp;nbsp; I can only imagine this is because of priorities&amp;nbsp;resulting from&amp;nbsp;a lack of escalation.&amp;nbsp; From my perspective - &lt;SPAN style="color: #4c4c4c; font-size: 15px;"&gt;this bug produces VTPK files that our clients cannot use (we cannot zoom in on equipment like poles and fuses&amp;nbsp;that are drawn close together spatially&amp;nbsp;-&amp;nbsp;the features&amp;nbsp;completely disappear from the map as they start to spread apart and show labels) and a "workaround" of using the Desktop provides an unacceptable inability for our staff to fully automate (i.e. on a clock and with a computer, not with human hands) the scripted Vector Tile Package generation for the 18 or so regions we've compartmentalized across our company service territory.&amp;nbsp; We must have this fixed and until we can we are stuck frozen on ArcGIS Pro 2.3.2 on our MMPK/VTPK generation machine which creates security exceptions and software incompatibilities across our enterprise as we try to keep up with the esri ArcGIS Pro releases for other GIS deliverables.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-size: 15px;"&gt;- PacifiCorp IT GIS Team&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-size: 15px;"&gt;p.s. Example of the line of Python code we ran - the "0" isn't being respected (most examples use 70.5310735 which looks to be the internal default it is now returning in the VTPK files.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-size: 13pt;"&gt;arcpy.management.CreateVectorTilePackage(vtpk_map, vtpk, "ONLINE", "", "INDEXED", 295828763.795777, 0) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 21:58:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-vector-tile-package-min-and-max-scales-not/m-p/746166#M57686</guid>
      <dc:creator>FrankCampbell-Gillies</dc:creator>
      <dc:date>2019-12-13T21:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create Vector Tile Package min and max scales not honored with arcpy script</title>
      <link>https://community.esri.com/t5/python-questions/create-vector-tile-package-min-and-max-scales-not/m-p/1571807#M73437</link>
      <description>&lt;P&gt;Is fixed in arcgis pro3.3.1?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 03:24:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-vector-tile-package-min-and-max-scales-not/m-p/1571807#M73437</guid>
      <dc:creator>jiaqili1</dc:creator>
      <dc:date>2024-12-31T03:24:19Z</dc:date>
    </item>
  </channel>
</rss>

