<?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: Creating a stack of labels within each feature of a layer in Petroleum Questions</title>
    <link>https://community.esri.com/t5/petroleum-questions/creating-a-stack-of-labels-within-each-feature-of/m-p/398617#M59</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kyle - we're on the right track. Can I include logic and formatting into the script?&lt;/P&gt;&lt;P&gt;For instance, can I bold one attribute?&lt;/P&gt;&lt;P&gt;Also, can I append each line onto the label block only if one attribute is non-zero? What I'm labeling is percent ownership of the polygon feature ... some polygons have one owner - others have more. A problem I am facing is that polygons with one owner have empty Own2, Own3, and Own4 in the attribute table, but Pct2, Pct3, Pct4 have 0 ownership percentages which are treated as labels anyway. In the clumsy approach I was taking before learning from you, I suppressed those labels using classes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Feb 2016 22:01:54 GMT</pubDate>
    <dc:creator>MarkLeander</dc:creator>
    <dc:date>2016-02-05T22:01:54Z</dc:date>
    <item>
      <title>Creating a stack of labels within each feature of a layer</title>
      <link>https://community.esri.com/t5/petroleum-questions/creating-a-stack-of-labels-within-each-feature-of/m-p/398614#M56</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a layer of polygons that each have multiple attributes that I would like to label in a nicely organized stack within each polygon with each line in the stack consisting of two attributes. I've tried "fooling' (myself?) into the intended product by making multiple copies of the layer and labeling each attribute separately, but can't seem to effect the centered block of labels I'm seeking.&amp;nbsp; It seems likely that a pro would use a scripted (VBS? Python?) expression to create a single block of the labels for a single layer ... but I don't have scripting in my bag of tricks. I was successful in using the expression builder to put two labels on a single line ([Own1] &amp;amp;" "&amp;amp; [Asgnpct1]) but can't sort out how to add a 'return' to start the next line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is a little more involved than this, but I'm boldly confident that if someone has a script that can get me close, that I can figure it out.&amp;nbsp; Heck, maybe this is the little problem that will encourage to learn Python!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help you can offer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 21:04:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/petroleum-questions/creating-a-stack-of-labels-within-each-feature-of/m-p/398614#M56</guid>
      <dc:creator>MarkLeander</dc:creator>
      <dc:date>2016-02-05T21:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stack of labels within each feature of a layer</title>
      <link>https://community.esri.com/t5/petroleum-questions/creating-a-stack-of-labels-within-each-feature-of/m-p/398615#M57</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;If you leave the parser to VBscript which is the default in ArcMap you need to use vbnewline:&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;([Own1] &amp;amp; vbnewline &amp;amp; [Asgnpct1])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 21:09:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/petroleum-questions/creating-a-stack-of-labels-within-each-feature-of/m-p/398615#M57</guid>
      <dc:creator>KyleHeideman1</dc:creator>
      <dc:date>2016-02-05T21:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stack of labels within each feature of a layer</title>
      <link>https://community.esri.com/t5/petroleum-questions/creating-a-stack-of-labels-within-each-feature-of/m-p/398616#M58</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;The python version would be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;[Own1] + "\n" + [Asgnpct1] &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 21:23:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/petroleum-questions/creating-a-stack-of-labels-within-each-feature-of/m-p/398616#M58</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-02-05T21:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stack of labels within each feature of a layer</title>
      <link>https://community.esri.com/t5/petroleum-questions/creating-a-stack-of-labels-within-each-feature-of/m-p/398617#M59</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kyle - we're on the right track. Can I include logic and formatting into the script?&lt;/P&gt;&lt;P&gt;For instance, can I bold one attribute?&lt;/P&gt;&lt;P&gt;Also, can I append each line onto the label block only if one attribute is non-zero? What I'm labeling is percent ownership of the polygon feature ... some polygons have one owner - others have more. A problem I am facing is that polygons with one owner have empty Own2, Own3, and Own4 in the attribute table, but Pct2, Pct3, Pct4 have 0 ownership percentages which are treated as labels anyway. In the clumsy approach I was taking before learning from you, I suppressed those labels using classes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 22:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/petroleum-questions/creating-a-stack-of-labels-within-each-feature-of/m-p/398617#M59</guid>
      <dc:creator>MarkLeander</dc:creator>
      <dc:date>2016-02-05T22:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stack of labels within each feature of a layer</title>
      <link>https://community.esri.com/t5/petroleum-questions/creating-a-stack-of-labels-within-each-feature-of/m-p/398618#M60</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both logic and formatting are available for labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic: &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00s800000027000000"&gt;Label Expressions&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formatting: &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Formatting_tags_available_in_ArcMap/00s800000017000000/"&gt;Formatting Tags&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 22:45:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/petroleum-questions/creating-a-stack-of-labels-within-each-feature-of/m-p/398618#M60</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-02-05T22:45:03Z</dc:date>
    </item>
  </channel>
</rss>

