<?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: selecting multiples of 10 in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/selecting-multiples-of-10/m-p/1511860#M27368</link>
    <description>&lt;P&gt;I've found using MOD doesn't quite give me the result I want. If I use&amp;nbsp;&lt;SPAN&gt;MOD(FIELD_NAME, 10) = 0, values like 10.1234, 20.1234 etc. will not get filtered out. The value seems to be evaluated as an integer, so 20.1234 gets evaluated as 20, so it meets the definition query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Instead, I use &lt;STRONG&gt;FIELD_NAME/10 = ROUND(FIELD_NAME/10,0)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jul 2024 19:48:11 GMT</pubDate>
    <dc:creator>MatthewLeonard</dc:creator>
    <dc:date>2024-07-29T19:48:11Z</dc:date>
    <item>
      <title>selecting multiples of 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-multiples-of-10/m-p/318762#M11197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi - I have a data layer that has 5 ft contour intervals.&amp;nbsp; I would like to extract only the contours that are multiples of 10, so that I can have a data layer that is 10 ft contours.&amp;nbsp; What is the selection query I need to get this to work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help; I am tired of banging my head on this one!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pam&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 14:53:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-multiples-of-10/m-p/318762#M11197</guid>
      <dc:creator>PamBrangan</dc:creator>
      <dc:date>2010-11-11T14:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: selecting multiples of 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-multiples-of-10/m-p/318763#M11198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi - I have a data layer that has 5 ft contour intervals.&amp;nbsp; I would like to extract only the contours that are multiples of 10, so that I can have a data layer that is 10 ft contours.&amp;nbsp; What is the selection query I need to get this to work?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any help; I am tired of banging my head on this one!&lt;BR /&gt;&lt;BR /&gt;Pam&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The SQl you need is for the MOD function.&amp;nbsp; The syntax for its use depends on the database (PGDB, FGDB, SDE Oracle, etc.).&amp;nbsp; I believe the syntax for a FGDB is something like the following (assumes your contours have a field called ELEVATION):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MOD([ELEVATION], 10) = 0&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 19:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-multiples-of-10/m-p/318763#M11198</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2010-11-11T19:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: selecting multiples of 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-multiples-of-10/m-p/318764#M11199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Richard!&amp;nbsp; That did the trick.&amp;nbsp; I'm going to save that query for future use.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 12:05:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-multiples-of-10/m-p/318764#M11199</guid>
      <dc:creator>PamBrangan</dc:creator>
      <dc:date>2010-11-12T12:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: selecting multiples of 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-multiples-of-10/m-p/1511860#M27368</link>
      <description>&lt;P&gt;I've found using MOD doesn't quite give me the result I want. If I use&amp;nbsp;&lt;SPAN&gt;MOD(FIELD_NAME, 10) = 0, values like 10.1234, 20.1234 etc. will not get filtered out. The value seems to be evaluated as an integer, so 20.1234 gets evaluated as 20, so it meets the definition query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Instead, I use &lt;STRONG&gt;FIELD_NAME/10 = ROUND(FIELD_NAME/10,0)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 19:48:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-multiples-of-10/m-p/1511860#M27368</guid>
      <dc:creator>MatthewLeonard</dc:creator>
      <dc:date>2024-07-29T19:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: selecting multiples of 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-multiples-of-10/m-p/1514651#M27379</link>
      <description>&lt;P&gt;The original suggestion using MOD only reliably works if the field being evaluated is a Short, Long or Big Integer field.&amp;nbsp; However, if the field being evaluated is a Float or Double and contains any values that are not whole numbers, the expression suggested by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/32570"&gt;@MatthewLeonard&lt;/a&gt; is the way to go.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 16:18:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-multiples-of-10/m-p/1514651#M27379</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2024-08-03T16:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: selecting multiples of 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-multiples-of-10/m-p/1514652#M27380</link>
      <description>&lt;P&gt;Well yeah, since the OP asked about contours, I suppose they weren’t dealing with any float/double values.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 17:00:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-multiples-of-10/m-p/1514652#M27380</guid>
      <dc:creator>MatthewLeonard</dc:creator>
      <dc:date>2024-08-03T17:00:43Z</dc:date>
    </item>
  </channel>
</rss>

