<?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: Arcpy reclassify label display issue in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-reclassify-label-display-issue/m-p/580630#M45525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;I looked into this before but all it seems to do is allow me to add more text to the range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;1.25-2.45 - without description&lt;/P&gt;&lt;P&gt;1.25-2.45 test - with description added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the thought!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2015 18:21:42 GMT</pubDate>
    <dc:creator>MatthewCieri</dc:creator>
    <dc:date>2015-03-26T18:21:42Z</dc:date>
    <item>
      <title>Arcpy reclassify label display issue</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-reclassify-label-display-issue/m-p/580627#M45522</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 have been looking for about 2 days and I can't seem to figure out or find a work around for the symbology labels after a reclassify when trying to automate maps. I run the following code and it is almost doing exactly what i want it to do.&amp;nbsp; After I change a data source path I run the following 2 lines of code.&amp;nbsp; The layer is set to have the colors i want and the numbers match what should be there. The only issue is the display of the labels for the classification.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.UpdateLayer(df, lyr, updateLayer, True)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lyr.symbology.reclassify()&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The map is set to have 1 decimal place as is the layer file but after the reclass is set to 4 significant digits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rangelableExampl.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/78928_rangelableExampl.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any thoughts?&amp;nbsp; This is the one thing i need to fully automate the maps i am working on.&amp;nbsp; It seems crazy that after doing a change path and a reclass that i have to open the mxd reset the layer properties and then update notes that i have generated based on the new classes with the update ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 16:47:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-reclassify-label-display-issue/m-p/580627#M45522</guid>
      <dc:creator>MatthewCieri</dc:creator>
      <dc:date>2015-03-26T16:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy reclassify label display issue</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-reclassify-label-display-issue/m-p/580628#M45523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not explicitly stated, but possibly you can use the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00s30000005z000000"&gt;classBreakDescriptions property&lt;/A&gt; to enforce this. You might have to get the descriptions, read and modify them into a new list, then add that back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Never used this myself, so take the idea for what it's worth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 17:59:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-reclassify-label-display-issue/m-p/580628#M45523</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2015-03-26T17:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy reclassify label display issue</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-reclassify-label-display-issue/m-p/580629#M45524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not tried this personally in python script but give it a try and see if this works...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 18:15:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-reclassify-label-display-issue/m-p/580629#M45524</guid>
      <dc:creator>DEAF_PROBERT_68</dc:creator>
      <dc:date>2015-03-26T18:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy reclassify label display issue</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-reclassify-label-display-issue/m-p/580630#M45525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;I looked into this before but all it seems to do is allow me to add more text to the range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;1.25-2.45 - without description&lt;/P&gt;&lt;P&gt;1.25-2.45 test - with description added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the thought!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 18:21:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-reclassify-label-display-issue/m-p/580630#M45525</guid>
      <dc:creator>MatthewCieri</dc:creator>
      <dc:date>2015-03-26T18:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy reclassify label display issue</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-reclassify-label-display-issue/m-p/580631#M45526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As stated above it seems to only allow you to add text to the ranges. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 18:23:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-reclassify-label-display-issue/m-p/580631#M45526</guid>
      <dc:creator>MatthewCieri</dc:creator>
      <dc:date>2015-03-26T18:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy reclassify label display issue</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-reclassify-label-display-issue/m-p/580632#M45527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i figured out my own solution by building my ranges my self from the classBreakValues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; lower_range1 =&amp;nbsp; "{:.1f}".format(lyr.symbology.classBreakValues[0]) + " - " + "{:.1f}".format(lyr.symbology.classBreakValues[1])&lt;/P&gt;&lt;P&gt; lower_range2 =&amp;nbsp;&amp;nbsp; "{:.1f}".format(lyr.symbology.classBreakValues[1] + .1) + " - " + "{:.1f}".format(lyr.symbology.classBreakValues[2])&lt;/P&gt;&lt;P&gt; lower_range3 =&amp;nbsp;&amp;nbsp; "{:.1f}".format(lyr.symbology.classBreakValues[2] + .1) + " - " + "{:.1f}".format(lyr.symbology.classBreakValues[3])&lt;/P&gt;&lt;P&gt; lower_range4 =&amp;nbsp;&amp;nbsp; "{:.1f}".format(lyr.symbology.classBreakValues[3] + .1) + " - " + "{:.1f}".format(lyr.symbology.classBreakValues[4])&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output&lt;/P&gt;&lt;P&gt;15.4 - 24.6&lt;/P&gt;&lt;P&gt;24.7 - 28.5&lt;/P&gt;&lt;P&gt;28.6 - 34.6&lt;/P&gt;&lt;P&gt;34.7 - 60.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still say it would be much easier if these were settings of GRADUATED_COLORS symbology.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 20:30:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-reclassify-label-display-issue/m-p/580632#M45527</guid>
      <dc:creator>MatthewCieri</dc:creator>
      <dc:date>2015-03-26T20:30:46Z</dc:date>
    </item>
  </channel>
</rss>

