<?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: GisPro_calculate fields sqr in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/gispro-calculate-fields-sqr/m-p/118225#M4839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" class="" data-userid="422328" data-username="yyoonseo" href="https://community.esri.com/people/yyoonseo"&gt;윤서 양&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change "Sqr" to "math.sqrt"&amp;nbsp; like below and try one more time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;!P110003! / ((&lt;SPAN style="font-weight: 400;"&gt;math.sqrt&lt;/SPAN&gt; ( ( !x_coord! - !site1x!)^2 +( !y_coord! - !site1y!)^2 ))/5280)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;Cheers,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;Hamed&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Sep 2020 11:37:20 GMT</pubDate>
    <dc:creator>HamedFarzin</dc:creator>
    <dc:date>2020-09-24T11:37:20Z</dc:date>
    <item>
      <title>GisPro_calculate fields sqr</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/gispro-calculate-fields-sqr/m-p/118224#M4838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, everyone.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGisPro, try to using 'calculate fields' tool.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I import following formula, "*.cal" file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;!P110003! / ((Sqr ( ( !x_coord! - !site1x!)^2 +( !y_coord! - !site1y!)^2 ))/5280)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following error appears.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; ERROR 000539: Traceback (most recent call last):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; File "&amp;lt;expression&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NameError: name 'Sqr' is not defined&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*.cal file works well on ArcGis without an error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I solve this problem?&lt;/P&gt;&lt;P&gt;Please help~! Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2020 01:06:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/gispro-calculate-fields-sqr/m-p/118224#M4838</guid>
      <dc:creator>YoonseoYang</dc:creator>
      <dc:date>2020-09-24T01:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: GisPro_calculate fields sqr</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/gispro-calculate-fields-sqr/m-p/118225#M4839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" class="" data-userid="422328" data-username="yyoonseo" href="https://community.esri.com/people/yyoonseo"&gt;윤서 양&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change "Sqr" to "math.sqrt"&amp;nbsp; like below and try one more time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;!P110003! / ((&lt;SPAN style="font-weight: 400;"&gt;math.sqrt&lt;/SPAN&gt; ( ( !x_coord! - !site1x!)^2 +( !y_coord! - !site1y!)^2 ))/5280)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;Cheers,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;Hamed&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2020 11:37:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/gispro-calculate-fields-sqr/m-p/118225#M4839</guid>
      <dc:creator>HamedFarzin</dc:creator>
      <dc:date>2020-09-24T11:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: GisPro_calculate fields sqr</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/gispro-calculate-fields-sqr/m-p/118226#M4840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your comment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I change "sqr" to "math.sqrt" as following.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!P110003! / ((math.sqrt((!x_coord!-!site1x!)^2+(!y_coord!-!site1y!)^2)) / 5280)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other error appears as following.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="508504" alt="" class="jive-emoji j-img-floatstart image-1 jive-image" height="67" src="/legacyfs/online/508504_화면 캡처 2020-09-25 101300.png" style="float: left;" width="458" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help~! Thanks in advance!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2020 01:15:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/gispro-calculate-fields-sqr/m-p/118226#M4840</guid>
      <dc:creator>YoonseoYang</dc:creator>
      <dc:date>2020-09-25T01:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: GisPro_calculate fields sqr</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/gispro-calculate-fields-sqr/m-p/118227#M4841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;^ should be **&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;!P110003! &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;math&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sqrt&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;!x_coord!&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;!site1x!&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;**&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;!y_coord!&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;!site1y!&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;**&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;5280&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2020 02:06:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/gispro-calculate-fields-sqr/m-p/118227#M4841</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-09-25T02:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: GisPro_calculate fields sqr</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/gispro-calculate-fields-sqr/m-p/118228#M4842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked!!!&amp;nbsp;Thank you Hamed Farzin and Dan Patterson!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2020 02:08:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/gispro-calculate-fields-sqr/m-p/118228#M4842</guid>
      <dc:creator>YoonseoYang</dc:creator>
      <dc:date>2020-09-25T02:08:45Z</dc:date>
    </item>
  </channel>
</rss>

