<?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: Feet to Decimal Degrees function in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289899#M22462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;BTW: in v10.1 there are no more .prj files, and you need to track down the projection codes (the prj code for WGS84 is 4326). So that would be the Spatial reference code you could use in the cursor provided you wanted to return WGS84 coordinates. You can also use the SR name, but good luck tracking down which SR "name" is the correct one (is it "WGS 84" or "GCS_WGS_1984").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, unless I am mistaken, the cursor SR parameter doesn't allow for datum transformations, so things could be off by quite a bit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Safe method: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Project your centroid points (using the appropriate datum transformation)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Read the coordinates in a search cursor&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Oct 2012 20:03:11 GMT</pubDate>
    <dc:creator>ChrisSnyder</dc:creator>
    <dc:date>2012-10-31T20:03:11Z</dc:date>
    <item>
      <title>Feet to Decimal Degrees function</title>
      <link>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289896#M22459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If there is a quicker way to do this conversion let me know (but I will still finish this for the fun of it regardless :D). I was looking for a way to take the state plane coords in feet from a polygon centroid and convert to decimal degrees. I found this post from 2002 &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=64&amp;amp;f=792&amp;amp;t=67737"&gt;http://forums.esri.com/Thread.asp?c=64&amp;amp;f=792&amp;amp;t=67737&lt;/A&gt;&lt;SPAN&gt; which has a funtion to do just that. Its in VB but the trouble isn't converting that over to Python, its that I cant find all of the constants I need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; The script is for Washington State South NAD27 and I use Florida State North NAD83. The constants are all in the projection file for Florida North NAD83 except the major radius and the eccentricity. I looked in the projection file for NAD83 and saw that it is built on the GRS1980 spheroid. The Wikipedia page for that spheroid doesn't have those values and there isn't and page dedicated to the values for NAD83. At lease the GRS1980 values which seem to be the ones I may need are named differently from the script so I cant tell if they are the right ones. Any help? I will post this once I get it converted for anyone to steal for their own projects.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 17:03:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289896#M22459</guid>
      <dc:creator>ChrisMathers</dc:creator>
      <dc:date>2012-10-31T17:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Feet to Decimal Degrees function</title>
      <link>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289897#M22460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can achieve this using an Update Cursor.&amp;nbsp; Cursors give you have the ability to set a working coordinate system.&amp;nbsp; Take a look at the 5th post &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/43213-field-calculator?highlight=convert+decimal+degrees"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 17:17:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289897#M22460</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2012-10-31T17:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Feet to Decimal Degrees function</title>
      <link>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289898#M22461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well that is easier. Going to finish anyways. its important to know how these things work!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 17:24:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289898#M22461</guid>
      <dc:creator>ChrisMathers</dc:creator>
      <dc:date>2012-10-31T17:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Feet to Decimal Degrees function</title>
      <link>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289899#M22462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;BTW: in v10.1 there are no more .prj files, and you need to track down the projection codes (the prj code for WGS84 is 4326). So that would be the Spatial reference code you could use in the cursor provided you wanted to return WGS84 coordinates. You can also use the SR name, but good luck tracking down which SR "name" is the correct one (is it "WGS 84" or "GCS_WGS_1984").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, unless I am mistaken, the cursor SR parameter doesn't allow for datum transformations, so things could be off by quite a bit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Safe method: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Project your centroid points (using the appropriate datum transformation)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Read the coordinates in a search cursor&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 20:03:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289899#M22462</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2012-10-31T20:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Feet to Decimal Degrees function</title>
      <link>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289900#M22463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Assuming the coordinates in feet are stroed in a point feature class, you can use Convert Coordinate Notation tool (Data Management &amp;gt; Projections and Transformations) to get coordinate values in decimal degrees.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 21:32:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289900#M22463</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2012-10-31T21:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Feet to Decimal Degrees function</title>
      <link>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289901#M22464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK so not much was really needed to take that code and make it work. And it really does work. Ive taken the coordinates in feet and run them through then compared them to the decimal degrees I can get with 'calculate geometry' and they are the same. I will play with all these methods and see which one I like incorporating the best.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
def Ft_DD(x,y):
&amp;nbsp;&amp;nbsp;&amp;nbsp; ## This function converts coordinates from Florida State Plane North Zone NAD83 feet
&amp;nbsp;&amp;nbsp;&amp;nbsp; ## to Geographic coordinates in decimal degrees
&amp;nbsp;&amp;nbsp;&amp;nbsp; ##
&amp;nbsp;&amp;nbsp;&amp;nbsp; ## The formula this program is based on are from "Map Projections,
&amp;nbsp;&amp;nbsp;&amp;nbsp; ## A Working Manual" by John P. Snyder, U.S. Geological Survey
&amp;nbsp;&amp;nbsp;&amp;nbsp; ## Professional Paper 1395, 1987, pages 295-298
&amp;nbsp;&amp;nbsp;&amp;nbsp; ##
&amp;nbsp;&amp;nbsp;&amp;nbsp; ##Function originally provided by Dan Saul, Washington State Department of Ecology
&amp;nbsp;&amp;nbsp;&amp;nbsp; ##
&amp;nbsp;&amp;nbsp;&amp;nbsp; ## Set up the coordinate system parameters.
&amp;nbsp;&amp;nbsp;&amp;nbsp; A = 20925604.47&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## major radius of GRS 1980 ellipsoid, feet
&amp;nbsp;&amp;nbsp;&amp;nbsp; Ec = 0.0818191910435&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## eccentricity of GRD 1980 ellipsoid
&amp;nbsp;&amp;nbsp;&amp;nbsp; Ec2 = Ec * Ec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## eccentricity squared
&amp;nbsp;&amp;nbsp;&amp;nbsp; AngRad = 0.017453292519943299&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## number of radians in a degree
&amp;nbsp;&amp;nbsp;&amp;nbsp; Pi4 = 3.141592653582 / 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## Pi / 4
&amp;nbsp;&amp;nbsp;&amp;nbsp; P1 = 29.583333333333329000 * AngRad&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## latitude of first standard parallel
&amp;nbsp;&amp;nbsp;&amp;nbsp; P2 = 30.750000000000000000 * AngRad&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## latitude of second standard parallel
&amp;nbsp;&amp;nbsp;&amp;nbsp; P0 = 29.000000000000000000 * AngRad&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## latitude of origin
&amp;nbsp;&amp;nbsp;&amp;nbsp; M0 = -84.5 * AngRad&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## central meridian
&amp;nbsp;&amp;nbsp;&amp;nbsp; X0 = 1968500.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## False easting of central meridian, map units

&amp;nbsp;&amp;nbsp;&amp;nbsp; ## Calculate the coordinate system constants.
&amp;nbsp;&amp;nbsp;&amp;nbsp; m1 = math.cos(P1) / math.sqrt(1 - (Ec2 * pow((math.sin(P1)),2)))
&amp;nbsp;&amp;nbsp;&amp;nbsp; m2 = math.cos(P2) / math.sqrt(1 - (Ec2 * pow((math.sin(P2)),2)))
&amp;nbsp;&amp;nbsp;&amp;nbsp; t1 = math.tan(Pi4 - (P1 / 2)) / pow((1 - Ec * math.sin(P1)) / (1 + Ec * math.sin(P1)),(Ec/2))
&amp;nbsp;&amp;nbsp;&amp;nbsp; t2 = math.tan(Pi4 - (P2 / 2)) / pow((1 - Ec * math.sin(P2)) / (1 + Ec * math.sin(P2)),(Ec/2))
&amp;nbsp;&amp;nbsp;&amp;nbsp; t0 = math.tan(Pi4 - (P0 / 2)) / pow((1 - Ec * math.sin(P0)) / (1 + Ec * math.sin(P0)),(Ec/2))
&amp;nbsp;&amp;nbsp;&amp;nbsp; n = math.log(m1 / m2) / math.log(t1 / t2)
&amp;nbsp;&amp;nbsp;&amp;nbsp; F = m1 / (n * pow(t1,n))
&amp;nbsp;&amp;nbsp;&amp;nbsp; rho0 = A * F * pow(t0,n)
&amp;nbsp;&amp;nbsp;&amp;nbsp; ## Convert the coordinate to Latitude/Longitude.

&amp;nbsp;&amp;nbsp;&amp;nbsp; ## Calculate the Longitude.
&amp;nbsp;&amp;nbsp;&amp;nbsp; x = x - X0
&amp;nbsp;&amp;nbsp;&amp;nbsp; Pi2 = Pi4 * 2
&amp;nbsp;&amp;nbsp;&amp;nbsp; rho = math.sqrt(pow(x,2) + (pow(rho0 - y,2)))
&amp;nbsp;&amp;nbsp;&amp;nbsp; theta = math.atan(x/(rho0 - y))
&amp;nbsp;&amp;nbsp;&amp;nbsp; t = pow(rho / (A * F),(1 / n))
&amp;nbsp;&amp;nbsp;&amp;nbsp; LonR = theta / n + M0
&amp;nbsp;&amp;nbsp;&amp;nbsp; x = x + X0

&amp;nbsp;&amp;nbsp;&amp;nbsp; ## Estimate the Latitude
&amp;nbsp;&amp;nbsp;&amp;nbsp; Lat0 = Pi2 - (2 * math.atan(t))

&amp;nbsp;&amp;nbsp;&amp;nbsp; ## Substitute the estimate into the iterative calculation that
&amp;nbsp;&amp;nbsp;&amp;nbsp; ## converges on the correct Latitude value.
&amp;nbsp;&amp;nbsp;&amp;nbsp; part1 = (1 - (Ec * math.sin(Lat0))) / (1 + (Ec * math.sin(Lat0)))
&amp;nbsp;&amp;nbsp;&amp;nbsp; LatR = Pi2 - (2 * math.atan(t * pow(part1,(Ec/2))))
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Lat0 = LatR
&amp;nbsp;&amp;nbsp;&amp;nbsp; part1 = (1 - (Ec * math.sin(Lat0))) / (1 + (Ec * math.sin(Lat0)))
&amp;nbsp;&amp;nbsp;&amp;nbsp; ##LatR = Pi2 - (2 * math.atan2((t * (part1**(Ec/2))),1))
&amp;nbsp;&amp;nbsp;&amp;nbsp; LatR = Pi2 - (2 * math.atan(t * pow(part1,(Ec/2))))
&amp;nbsp;&amp;nbsp;&amp;nbsp; print LatR,LonR
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (abs(LatR - Lat0) &amp;gt; 0.000000002):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## Convert from radians to degrees.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lat = LatR / AngRad
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lon = LonR / AngRad
&amp;nbsp;&amp;nbsp;&amp;nbsp; print str(Lon) + "|" + str(Lat)
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:59:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289901#M22464</guid>
      <dc:creator>ChrisMathers</dc:creator>
      <dc:date>2021-12-11T13:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Feet to Decimal Degrees function</title>
      <link>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289902#M22465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to do similar conversion of California II State Plane&amp;nbsp;in US Survey feet to geographic coordinates in decimal degrees. I am not totally comfortable with python but need to have it in python. I updated the parameters in California values. But not getting desired output. Here is the updated part of the script your wrote in California values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A = 20925604.47&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;## major radius of GRS 1980 ellipsoid, feet&lt;BR /&gt; Ec = 0.0818191910435&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;## eccentricity of GRD 1980 ellipsoid&lt;BR /&gt; Ec2 = Ec * Ec&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ## eccentricity squared&lt;BR /&gt; AngRad = 0.017453292519943299&amp;nbsp; &amp;nbsp; &amp;nbsp; ## number of radians in a degree&lt;BR /&gt; Pi4 = 3.141592653582 / 4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;## Pi / 4&lt;BR /&gt; P1 = 38.33333333 * AngRad&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ## latitude of first standard parallel&lt;BR /&gt; P2 = 39.83333333 * AngRad&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ## latitude of second standard parallel&lt;BR /&gt; P0 = 37.66666667 * AngRad&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ## latitude of origin&lt;BR /&gt; M0 = -122 * AngRad&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;## central meridian&lt;BR /&gt; X0 = 6561666.66666667&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ## False easting of central meridian, map units&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is the snapshot of Data Source:&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/400419_pastedImage_1.png" style="width: 620px; height: 354px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unsure where the problem is. If it is due to no parameter for False northing or...?&lt;/P&gt;&lt;P&gt;Basically, the sample CA State Plane II x,y: 7079975.52661,2184310.50409 should give me: 39.1457869, -120.1722625 and if I run your code with above updated parameters, I am getting:&amp;nbsp;43.642324406,&amp;nbsp;-120.048031426.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how to fix that would be great!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 22:06:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289902#M22465</guid>
      <dc:creator>LubicaCverckova2</dc:creator>
      <dc:date>2018-04-02T22:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Feet to Decimal Degrees function</title>
      <link>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289903#M22466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An alternative perhaps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy&amp;nbsp; 

x &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;7079975.52661&lt;/SPAN&gt;&amp;nbsp; 
y &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2184310.50409&lt;/SPAN&gt;&amp;nbsp; 

&lt;SPAN class="comment token"&gt;# WGS 1984 : (4326) Lat/Lon&amp;nbsp; &lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# NAD_1983_2011_StatePlane_California_II_FIPS_0402_Ft_US - WKID: 6418 &lt;/SPAN&gt;

ptGeometry &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;PointGeometry&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Point&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;x&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;y&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SpatialReference&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;6418&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;projectAs&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SpatialReference&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4326&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&amp;nbsp; 

&lt;SPAN class="comment token"&gt;# print ptGeometry.JSON&amp;nbsp; &lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; ptGeometry&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;firstPoint&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;X&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ptGeometry&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;firstPoint&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Y&amp;nbsp; 

&lt;SPAN class="comment token"&gt;# Result:&amp;nbsp; -120.172262515 39.1457869508‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:59:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289903#M22466</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2021-12-11T13:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Feet to Decimal Degrees function</title>
      <link>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289904#M22467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Randy. It worked!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 21:59:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/feet-to-decimal-degrees-function/m-p/289904#M22467</guid>
      <dc:creator>LubicaCverckova2</dc:creator>
      <dc:date>2018-04-03T21:59:42Z</dc:date>
    </item>
  </channel>
</rss>

