<?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 label classes using Python, or is there a simpler way? in New to GIS Questions</title>
    <link>https://community.esri.com/t5/new-to-gis-questions/create-label-classes-using-python-or-is-there-a/m-p/728015#M1925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that would really work for us, since we still want to show ownership that fits within the parcel. Otherwise, our table would be too large&amp;nbsp;(we have 3670 parcels).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jan 2017 14:53:33 GMT</pubDate>
    <dc:creator>EricHeinrichs</dc:creator>
    <dc:date>2017-01-18T14:53:33Z</dc:date>
    <item>
      <title>Create label classes using Python, or is there a simpler way?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/create-label-classes-using-python-or-is-there-a/m-p/728013#M1923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I am working on a land ownership map for my rural municipality. I need to create a new label class for each section, since I need the key numbering for the labels to reset for each section.&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I have 324&amp;nbsp;sections for the municipality, and creating a new label class and key numbering group for each section would be an incredibly tedious and long manual task.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Is there any chance that I could create label classes and key numbering groups iteratively using a Python script?&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Or, is there a way to achieve this outcome in a simpler way?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/304150_KeyNumbering.PNG" style="width: 620px; height: 432px;" /&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;Here's an example of what I am doing. I will convert the labels to annotations, and move the key numbering labels&amp;nbsp;to the left&amp;nbsp;side of the map to act as a legend to correspond to the numbers within the polygons that are too small to label.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 20:09:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/create-label-classes-using-python-or-is-there-a/m-p/728013#M1923</guid>
      <dc:creator>EricHeinrichs</dc:creator>
      <dc:date>2017-01-17T20:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create label classes using Python, or is there a simpler way?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/create-label-classes-using-python-or-is-there-a/m-p/728014#M1924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I usually number everything with the OID field then turn off all fields i don't need and add table to the map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 21:03:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/create-label-classes-using-python-or-is-there-a/m-p/728014#M1924</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2017-01-17T21:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create label classes using Python, or is there a simpler way?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/create-label-classes-using-python-or-is-there-a/m-p/728015#M1925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that would really work for us, since we still want to show ownership that fits within the parcel. Otherwise, our table would be too large&amp;nbsp;(we have 3670 parcels).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 14:53:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/create-label-classes-using-python-or-is-there-a/m-p/728015#M1925</guid>
      <dc:creator>EricHeinrichs</dc:creator>
      <dc:date>2017-01-18T14:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create label classes using Python, or is there a simpler way?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/create-label-classes-using-python-or-is-there-a/m-p/728016#M1926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try a query based on parcel size. Find out the smallest parcels being labeled then create a table for those less than that size.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 18:54:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/create-label-classes-using-python-or-is-there-a/m-p/728016#M1926</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2017-01-18T18:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create label classes using Python, or is there a simpler way?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/create-label-classes-using-python-or-is-there-a/m-p/728017#M1927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your platform SQL based? If so, then you should be able to easily do what you want in sql server. Stack Overflow has more than a few questions about iterative numbering. This link&amp;nbsp;&lt;A class="link-titled" href="http://stackoverflow.com/questions/5463384/sequentially-number-rows-by-keyed-group-in-sql" title="http://stackoverflow.com/questions/5463384/sequentially-number-rows-by-keyed-group-in-sql"&gt;sequential - Sequentially number rows by keyed group in SQL? - Stack Overflow&lt;/A&gt;&amp;nbsp; has some good ideas. After numbering your records (based upon the groups), convert back to a shapefile. Your labeling can be based off one of the new fields. You could include some extra code if you only want to label polygons that are less than a certain size.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 18:57:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/create-label-classes-using-python-or-is-there-a/m-p/728017#M1927</guid>
      <dc:creator>TiffanySelvidge1</dc:creator>
      <dc:date>2017-01-18T18:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create label classes using Python, or is there a simpler way?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/create-label-classes-using-python-or-is-there-a/m-p/728018#M1928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have thought about this, and it looks good, so&amp;nbsp;I think I will try something along these lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll have to fudge it a bit, and just set a physical size limit to labelling, instead of relying on ArcMap to handle it for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sounds like the fastest and least stressful way to do this, especially when our parcel map changes with splits and subdivisions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 19:18:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/create-label-classes-using-python-or-is-there-a/m-p/728018#M1928</guid>
      <dc:creator>EricHeinrichs</dc:creator>
      <dc:date>2017-01-18T19:18:16Z</dc:date>
    </item>
  </channel>
</rss>

