<?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>idea Arcade function to convert direction in DMS to Decimal degrees in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idi-p/1014488</link>
    <description>&lt;P&gt;I have data where direction for the line is in&amp;nbsp;&lt;SPAN&gt;DMS north azimuth.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;To convert this data to decimal degrees, you need to&amp;nbsp;&lt;SPAN&gt;strip off the degree, minutes seconds characters and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;then convert it to decimal degrees.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It will be a time saver if arcade had a function that could strip off the characters and convert to decimal&amp;nbsp;degrees. This function will be very useful when converting data to load into a parcel fabric.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The current label expression shipped with COGO enabled lines converts decimal degrees to DMS north azimuth. What I am looking for is the reverse function.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jan 2021 23:14:39 GMT</pubDate>
    <dc:creator>IreneHwang</dc:creator>
    <dc:date>2021-01-06T23:14:39Z</dc:date>
    <item>
      <title>Arcade function to convert direction in DMS to Decimal degrees</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idi-p/1014488</link>
      <description>&lt;P&gt;I have data where direction for the line is in&amp;nbsp;&lt;SPAN&gt;DMS north azimuth.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;To convert this data to decimal degrees, you need to&amp;nbsp;&lt;SPAN&gt;strip off the degree, minutes seconds characters and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;then convert it to decimal degrees.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It will be a time saver if arcade had a function that could strip off the characters and convert to decimal&amp;nbsp;degrees. This function will be very useful when converting data to load into a parcel fabric.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The current label expression shipped with COGO enabled lines converts decimal degrees to DMS north azimuth. What I am looking for is the reverse function.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 23:14:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idi-p/1014488</guid>
      <dc:creator>IreneHwang</dc:creator>
      <dc:date>2021-01-06T23:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1014529#M14757</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/63439"&gt;@IreneHwang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;There's an easier way of converting DMS to DD without using Arcade, If you are after a quick solution in ArcGIS Pro.&lt;/P&gt;&lt;P&gt;1. Create two new fields (eg., Long_DD and Lat_DD)&lt;/P&gt;&lt;P&gt;2. Right click on Long_DD field &amp;gt; select Calculate Geometry&lt;/P&gt;&lt;P&gt;3. For the Property &amp;gt; select&amp;nbsp;Point x-coordinate&lt;/P&gt;&lt;P&gt;4. For Coordinate Format, select Decimal Degrees &amp;gt; Ok&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MehdiPira1_0-1609981816019.png" style="width: 314px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3353i69E3C83A8E3B88B4/image-dimensions/314x439?v=v2" width="314" height="439" role="button" title="MehdiPira1_0-1609981816019.png" alt="MehdiPira1_0-1609981816019.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do the same for Lat_DD, selecting Point y-coordinate.&lt;/P&gt;&lt;P&gt;and if you're looking into automating, you can use python:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.management.CalculateGeometryAttributes("GPS_data", "Long_DD POINT_X", '', '', None, "DD")

arcpy.management.CalculateGeometryAttributes("GPS_data", "Lat_DD POINT_Y", '', '', None, "DD")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 01:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1014529#M14757</guid>
      <dc:creator>MehdiPira1</dc:creator>
      <dc:date>2021-01-07T01:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1014592#M14758</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/43250"&gt;@MehdiPira1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your suggestion would work if the direction is derived from the geoemtry.&lt;/P&gt;&lt;P&gt;I believe&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/63439"&gt;@IreneHwang&lt;/a&gt;&amp;nbsp; is using an attribute that originates from a legal document and is not guaranteed to match the feature geometry.&lt;/P&gt;&lt;P&gt;Common reasons for the mismatch are parcel misclose adjustment, least-square adjustment and ground to grid correction.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 11:05:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1014592#M14758</guid>
      <dc:creator>AmirBar-Maor</dc:creator>
      <dc:date>2021-01-07T11:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1014951#M14773</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3062"&gt;@AmirBar-Maor&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If that's the case, then &lt;STRONG&gt;Convert Coordinate Notation&lt;/STRONG&gt; tool in ArcGIS Pro will do the job.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Mehdi&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 02:07:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1014951#M14773</guid>
      <dc:creator>MehdiPira1</dc:creator>
      <dc:date>2021-01-08T02:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1014978#M14775</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/43250"&gt;@MehdiPira1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes - this python method would work in ArcGIS Pro.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/63439"&gt;@IreneHwang&lt;/a&gt;&amp;nbsp;is asking for Arcade method. Arcade is a portable, lightweight expression language that is used with Attribute Rules, labeling, popups etc. on ALL ArcGIS clients.&lt;/P&gt;&lt;P&gt;Attribute Rules can be set to react to triggers (Insert, update, delete) on the geodatabase level, stored as part of the feature class definition (portable) and without the need to write python scripts that are project dependent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AmirBar-Maor_0-1610093613461.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3443iDF1326BC6481D77F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AmirBar-Maor_0-1610093613461.png" alt="AmirBar-Maor_0-1610093613461.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 08:17:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1014978#M14775</guid>
      <dc:creator>AmirBar-Maor</dc:creator>
      <dc:date>2021-01-08T08:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1015320#M14793</link>
      <description>&lt;P&gt;I am also looking for something similar, where I have cogo values in quadrant bearings and need to convert them to the new Argis Pro cogo format of decimal degrees, preferably in the calculate field tool. An example would be converting S&amp;nbsp;1-45-0 E to&amp;nbsp; 91.75&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jan 2021 16:23:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1015320#M14793</guid>
      <dc:creator>MattEitrem</dc:creator>
      <dc:date>2021-01-09T16:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1015700#M14802</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17436"&gt;@MattEitrem&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I might have created the tool that you need!&amp;nbsp; &lt;A href="https://community.esri.com/t5/arcgis-parcel-fabric-blog/migrate-arcmap-cogo-to-pro/ba-p/885059" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-parcel-fabric-blog/migrate-arcmap-cogo-to-pro/ba-p/885059&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This GP script tool will convert those pesky COGO string values to DOUBLE values.&amp;nbsp; It will create a full brand new feature class during the conversion.&amp;nbsp; None of your existing data will be effected.&amp;nbsp; Let me know if this works for you.&lt;/P&gt;&lt;P&gt;-Jason&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 21:12:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1015700#M14802</guid>
      <dc:creator>JasonCamerano</dc:creator>
      <dc:date>2021-01-11T21:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1015775#M14809</link>
      <description>&lt;P&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/43250" target="_blank"&gt;@MehdiPira1&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for the great suggestions. The options you describe will help me out in the short-term. However, for the data that is from a legal document, I am looking to convert it and also validate it using attribute rules which makes the arcade method very attractive. In addition, I would like enable the other users in our organization to leverage this validation along with popups, labelling etc.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Irene&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 22:21:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1015775#M14809</guid>
      <dc:creator>IreneHwang</dc:creator>
      <dc:date>2021-01-11T22:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1048025#M15724</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/63439"&gt;@IreneHwang&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17436"&gt;@MattEitrem&lt;/a&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Good&amp;nbsp;news!&amp;nbsp;Arcade1.13&amp;nbsp;has&amp;nbsp;just&amp;nbsp;been&amp;nbsp;released&amp;nbsp;and&amp;nbsp;includes&amp;nbsp;the&amp;nbsp;ConvertDirection&amp;nbsp;function&amp;nbsp;(&lt;A href="https://developers.arcgis.com/arcade/function-reference/geometry_functions/#convertdirection" target="_blank"&gt;https://developers.arcgis.com/arcade/function-reference/geometry_functions/#convertdirection&lt;/A&gt;).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This&amp;nbsp;allows&amp;nbsp;users&amp;nbsp;to&amp;nbsp;translate&amp;nbsp;angles&amp;nbsp;between&amp;nbsp;many&amp;nbsp;text&amp;nbsp;and&amp;nbsp;value&amp;nbsp;formats.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;For&amp;nbsp;the&amp;nbsp;examples&amp;nbsp;mentioned&amp;nbsp;above&amp;nbsp;you&amp;nbsp;should&amp;nbsp;be&amp;nbsp;able&amp;nbsp;to&amp;nbsp;write&amp;nbsp;Arcade&amp;nbsp;script&amp;nbsp;such&amp;nbsp;as:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#333399"&gt;&lt;SPAN&gt;ConvertDirection(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#333399"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;myTextAngle1,&amp;nbsp;//e.g.&amp;nbsp;78°&amp;nbsp;34'&amp;nbsp;25"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#333399"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;{"angleType":"dms","directionType":"north"},&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#333399"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;{"outputType":"value","angleType":"degrees","directionType":"north"}&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#333399"&gt;&lt;SPAN&gt;)&amp;nbsp;//gives&amp;nbsp;78.5736&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#333399"&gt;&lt;SPAN&gt;ConvertDirection(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#333399"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;myTextAngle2,&amp;nbsp;//e.g.&amp;nbsp;S&amp;nbsp;1-45-0&amp;nbsp;E&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#333399"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;{"angleType":"dms","directionType":"quadrant"},&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#333399"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;{"outputType":"value","angleType":"degrees","directionType":"polar"}&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#333399"&gt;&lt;SPAN&gt;)&amp;nbsp;//gives&amp;nbsp;271.75&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;(My&amp;nbsp;thanks&amp;nbsp;to&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3062"&gt;@AmirBar-Maor&lt;/a&gt;&amp;nbsp;for&amp;nbsp;regularly&amp;nbsp;reminding&amp;nbsp;us&amp;nbsp;how&amp;nbsp;useful&amp;nbsp;this&amp;nbsp;function&amp;nbsp;would&amp;nbsp;be!)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Please&amp;nbsp;let&amp;nbsp;us&amp;nbsp;know&amp;nbsp;if&amp;nbsp;you&amp;nbsp;have&amp;nbsp;any&amp;nbsp;questions&amp;nbsp;or&amp;nbsp;comments.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Apr 2021 09:22:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1048025#M15724</guid>
      <dc:creator>RichardShepherd</dc:creator>
      <dc:date>2021-04-16T09:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees - Status changed to: In Product Plan</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1048071#M15727</link>
      <description />
      <pubDate>Fri, 16 Apr 2021 12:57:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1048071#M15727</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2021-04-16T12:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1048186#M15731</link>
      <description>&lt;P&gt;Fantastic! This will be extremely helpful to a number of us&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 15:59:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1048186#M15731</guid>
      <dc:creator>IreneHwang1</dc:creator>
      <dc:date>2021-04-16T15:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1048593#M15750</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/214428"&gt;@RichardShepherd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Awesome! Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 00:53:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1048593#M15750</guid>
      <dc:creator>MehdiPira1</dc:creator>
      <dc:date>2021-04-19T00:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees - Status changed to: Implemented</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1057923#M15968</link>
      <description>&lt;P&gt;Implemented in ArcGIS Pro 2.8.&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;LI-MESSAGE title="Ideas in ArcGIS Pro 2.8" uid="1053991" url="https://community.esri.com/t5/arcgis-ideas-blog/ideas-in-arcgis-pro-2-8/m-p/1053991#U1053991" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://youtu.be/Yeok2KffeuI?t=77" target="_blank" rel="noopener nofollow noreferrer"&gt;(1:17)&lt;/A&gt;&amp;nbsp;in the video.&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 23:11:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1057923#M15968</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2021-05-13T23:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1352564#M27181</link>
      <description>&lt;P&gt;I was recently using this arcade function and ran into an issue (possible bug) between SQL enterprise geodatabase and a file geodatabase. I was converting DMS to Degrees and likely the other way around too. The script below worked in the file geodatabase but not in the enterprise geodatabase where it gave the error "expecting a mutable array".&lt;/P&gt;&lt;P&gt;Function DMS2DD(theTextAngle){&lt;BR /&gt;return ConvertDirection(theTextAngle,&lt;BR /&gt;{'angleType':'dms','directionType':'north'},{'outputType':'value','angleType':'degrees','directionType':'north'})&lt;BR /&gt;}&lt;BR /&gt;-DMS2DD($feature.TEXTANGLE)&lt;/P&gt;&lt;P&gt;After some research looking at the tables in SQL we decided that maybe it wasn't finding the recently added TEXTANGLE field. We compressed the SQL geodatabase and the above Arcade expression then worked in ArcGIS Pro Field Calculator.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 15:28:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1352564#M27181</guid>
      <dc:creator>DarylHochhalter</dc:creator>
      <dc:date>2023-11-22T15:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to convert direction in DMS to Decimal degrees</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1352762#M27198</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/228359"&gt;@DarylHochhalter&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Its possible that rather unhelpful error message should actually indicate "Invalid Argument" for ConvertDirections first argument, we'll look to replace that with a more helpful message!&lt;/P&gt;&lt;P&gt;Can $feature.TEXTANGLE ever be null? If so the call to convert direction would fail with the unhelpful message. Checking the type of theTextAngle param in DMS2DD is text might also help narrow down the problem.&lt;/P&gt;&lt;P&gt;Thanks for getting in touch with the issue!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 19:53:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-convert-direction-in-dms-to/idc-p/1352762#M27198</guid>
      <dc:creator>Robert_Houston</dc:creator>
      <dc:date>2023-11-22T19:53:13Z</dc:date>
    </item>
  </channel>
</rss>

