<?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: Label Expression Remove Every Other in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/label-expression-remove-every-other/m-p/611921#M6644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Walter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could look label all values that end in '0'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var a = right($feature.Contour,1)&lt;BR /&gt;if (number(a) &amp;lt; 1) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp;a = $feature.Contour&lt;BR /&gt;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;else {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; a = ''&lt;BR /&gt;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;return a;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/486424_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2020 21:08:16 GMT</pubDate>
    <dc:creator>MarkBockenhauer</dc:creator>
    <dc:date>2020-03-27T21:08:16Z</dc:date>
    <item>
      <title>Label Expression Remove Every Other</title>
      <link>https://community.esri.com/t5/mapping-questions/label-expression-remove-every-other/m-p/611920#M6643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope everyone is safe!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attempting to label contours, but I need to remove any value starting with 115, 125, 135 etc. But need to keep those that are 120, 130, 140 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function FindLabel ([Contour])&lt;BR /&gt; if (cLng([Contour]) &lt;STRONG&gt;= 115&lt;/STRONG&gt;) then&lt;BR /&gt; FindLabel = ""&lt;BR /&gt; else&lt;BR /&gt; FindLabel = [Contour]&lt;BR /&gt; end if&lt;BR /&gt;End Function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression removes those that are 115, but how do I also remove the remaining others?&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Walter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2020 12:04:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/label-expression-remove-every-other/m-p/611920#M6643</guid>
      <dc:creator>WalterDziuba1</dc:creator>
      <dc:date>2020-03-27T12:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Label Expression Remove Every Other</title>
      <link>https://community.esri.com/t5/mapping-questions/label-expression-remove-every-other/m-p/611921#M6644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Walter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could look label all values that end in '0'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var a = right($feature.Contour,1)&lt;BR /&gt;if (number(a) &amp;lt; 1) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp;a = $feature.Contour&lt;BR /&gt;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;else {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; a = ''&lt;BR /&gt;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;return a;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/486424_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2020 21:08:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/label-expression-remove-every-other/m-p/611921#M6644</guid>
      <dc:creator>MarkBockenhauer</dc:creator>
      <dc:date>2020-03-27T21:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Label Expression Remove Every Other</title>
      <link>https://community.esri.com/t5/mapping-questions/label-expression-remove-every-other/m-p/611922#M6645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Walter,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your label expression, click on Advance and enter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function FindLabel ([ELEVATION]) &lt;BR /&gt;If ([ELEVATION] Mod 10) = 0 Then &lt;BR /&gt;FindLabel = [ELEVATION] &lt;BR /&gt;End If&lt;BR /&gt;End Function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace Mod value if you wish to change the interval, e.g. Mod 100 if value is dividable by 100.&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://desktop.arcgis.com/en/arcmap/10.3/map/working-with-text/placing-labels-for-contours.htm" title="https://desktop.arcgis.com/en/arcmap/10.3/map/working-with-text/placing-labels-for-contours.htm"&gt;Placing labels for contours—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/486592_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;EM style="font-size: 13px; "&gt;If this answer solved your question or if you found it helpful please mark it accordingly to help others who have the same question.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 03:19:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/label-expression-remove-every-other/m-p/611922#M6645</guid>
      <dc:creator>UriGilad_EsriAu</dc:creator>
      <dc:date>2020-03-30T03:19:08Z</dc:date>
    </item>
  </channel>
</rss>

