<?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: Labelling in ArcMap 10 in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labelling-in-arcmap-10/m-p/539011#M7393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much...I am not very good at constructing syntax so will have a go at building on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2011 11:41:45 GMT</pubDate>
    <dc:creator>SimonKettle</dc:creator>
    <dc:date>2011-11-02T11:41:45Z</dc:date>
    <item>
      <title>Labelling in ArcMap 10</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labelling-in-arcmap-10/m-p/539009#M7391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am looking to label points on a map however the text is rather long and when put onto a stand label in ArcMap is very long and not very good looking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way of putting a return in the middle (or after a specified number of characters) of a text field using the VB Script in the labels tab of a layers properties?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 11:51:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labelling-in-arcmap-10/m-p/539009#M7391</guid>
      <dc:creator>SimonKettle</dc:creator>
      <dc:date>2011-11-01T11:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Labelling in ArcMap 10</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labelling-in-arcmap-10/m-p/539010#M7392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am looking to label points on a map however the text is rather long and when put onto a stand label in ArcMap is very long and not very good looking.&lt;BR /&gt;&lt;BR /&gt;Is there a way of putting a return in the middle (or after a specified number of characters) of a text field using the VB Script in the labels tab of a layers properties?&lt;BR /&gt;&lt;BR /&gt;Thanks for any help!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code will split the label in half:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Function FindLabel ( [name] )
firsthalf =&amp;nbsp;&amp;nbsp; left([name],len([name])/2)
secondhalf = right([name],len([name])/2)
FindLabel = firsthalf &amp;amp; vbnewline &amp;amp; secondhalf
End Function
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not ideal but should but is the basic syntax that can be built upon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So for my test label it shows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"This is a very long label for rea&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lly only needing to label Toronto"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:23:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labelling-in-arcmap-10/m-p/539010#M7392</guid>
      <dc:creator>JimW1</dc:creator>
      <dc:date>2021-12-11T23:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Labelling in ArcMap 10</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labelling-in-arcmap-10/m-p/539011#M7393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much...I am not very good at constructing syntax so will have a go at building on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 11:41:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labelling-in-arcmap-10/m-p/539011#M7393</guid>
      <dc:creator>SimonKettle</dc:creator>
      <dc:date>2011-11-02T11:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Labelling in ArcMap 10</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labelling-in-arcmap-10/m-p/539012#M7394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thank you very much...I am not very good at constructing syntax so will have a go at building on it.&lt;BR /&gt;&lt;BR /&gt;Cheers again.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another trick I have done for well labels is to make a table in Excel and use the much quicker/easier Excel commands to format the text strings. Then make a copy of your table using 'Paste Values' to get rid of the formulas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now in ArcMap just join your Excel table to the base data and use the text string field from the join table (the Excel table) in your map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had one project where I had to label the top 3 offending parameters for drinking water wells and that would be absolute torture to try and code in VB Script - if it is even possible. I used nested IF statements in Excel to make the label strings and did the join trick to label the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 12:52:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labelling-in-arcmap-10/m-p/539012#M7394</guid>
      <dc:creator>JimW1</dc:creator>
      <dc:date>2011-11-02T12:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Labelling in ArcMap 10</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labelling-in-arcmap-10/m-p/539013#M7395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like you are getting some great ideas.&amp;nbsp; I'll chip in with one more which uses VB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the labeling expression field type "VbNewline" to move a field to another line of text in the label. The basic expression is: [Field 1] &amp;amp; vbNewline &amp;amp; [Field 2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the following example the Install date is on a separate line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[W_DIAMETER] &amp;amp; "'' " &amp;amp; [W_TYPE] &amp;amp; VbNewline &amp;amp; [W_INSTALL]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The above creates a label like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;8" Cast Iron&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1956&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wish you the best.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 14:30:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labelling-in-arcmap-10/m-p/539013#M7395</guid>
      <dc:creator>JoshuaDamron</dc:creator>
      <dc:date>2011-11-02T14:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Labelling in ArcMap 10</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labelling-in-arcmap-10/m-p/539014#M7396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for all your help...I will have a look at utilising all your ideas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for all your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 13:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/labelling-in-arcmap-10/m-p/539014#M7396</guid>
      <dc:creator>SimonKettle</dc:creator>
      <dc:date>2011-11-04T13:48:51Z</dc:date>
    </item>
  </channel>
</rss>

