<?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 Python - Complex if/then field calculating in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/python-complex-if-then-field-calculating/m-p/643730#M21493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: rdharles&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know how you are going to "rank" them but I'd use python and use a CURSOR to read through both fields, "do the ranking", and then write the rank to the 3rd field (for each record).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Apr 2010 16:44:52 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2010-04-09T16:44:52Z</dc:date>
    <item>
      <title>Python - Complex if/then field calculating</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-complex-if-then-field-calculating/m-p/643729#M21492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: SStrand&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a line feature with attributes for length and also curve radius. I would like to calculate a third field where these two are combined into a ranking of 1 to 6. Im self taught in python and have not tried anything like this and have not found anything in tutorials that would help me. I believe an if/then statement would be used to complete it but I can't figure it out. Any advice would be much appreciated. Thank you. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 17:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-complex-if-then-field-calculating/m-p/643729#M21492</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-04-08T17:37:39Z</dc:date>
    </item>
    <item>
      <title>Python - Complex if/then field calculating</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-complex-if-then-field-calculating/m-p/643730#M21493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: rdharles&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know how you are going to "rank" them but I'd use python and use a CURSOR to read through both fields, "do the ranking", and then write the rank to the 3rd field (for each record).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 16:44:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-complex-if-then-field-calculating/m-p/643730#M21493</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-04-09T16:44:52Z</dc:date>
    </item>
  </channel>
</rss>

