<?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: Spatial references not matching in the same feature class in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/spatial-references-not-matching-in-the-same/m-p/1392654#M11208</link>
    <description>&lt;P&gt;&lt;SPAN&gt;We discovered that when we copied all of these feature classes and tables from the FGDB with the spatial reference issue described above to a new FGDB&lt;/SPAN&gt;&lt;SPAN&gt;, the data was magically corrected in the new database&lt;/SPAN&gt;&lt;SPAN&gt;. It self&lt;/SPAN&gt;&lt;SPAN&gt;-healed&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2024 16:53:21 GMT</pubDate>
    <dc:creator>TimSexton1</dc:creator>
    <dc:date>2024-03-07T16:53:21Z</dc:date>
    <item>
      <title>Spatial references not matching in the same feature class</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/spatial-references-not-matching-in-the-same/m-p/1385628#M11140</link>
      <description>&lt;P&gt;Should the spatial reference you get from the feature class definition match the spatial reference you get from it's GetExtent()'s spatial reference property?&amp;nbsp; I'm seeing the issue below and I'm wondering if the defined projection on my feature class is set to one thing while the data inside it was created in a different projection.&amp;nbsp; What is the best and most reliable way to get the spatial reference?&amp;nbsp; Does it matter if you get it from the feature class definition, the extent of the feature class or the feature's shape, etc.?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var srFromExtent = featureClass.GetExtent().SpatialReference; 
var srFromDefinition = featureClass.GetDefinition().GetSpatialReference();

// Output from above:
// srFromExtent = NAD_1983_StatePlane_Georgia_West_FIPS_1002_Feet
// srFromDefinition = NAD_1983_2011_Contiguous_USA_Albers&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Pro UI on that same feature class, I see the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TimSexton1_0-1708631250064.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/95545iD6EA3F01C71902EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TimSexton1_0-1708631250064.png" alt="TimSexton1_0-1708631250064.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 19:51:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/spatial-references-not-matching-in-the-same/m-p/1385628#M11140</guid>
      <dc:creator>TimSexton1</dc:creator>
      <dc:date>2024-02-22T19:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial references not matching in the same feature class</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/spatial-references-not-matching-in-the-same/m-p/1392654#M11208</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We discovered that when we copied all of these feature classes and tables from the FGDB with the spatial reference issue described above to a new FGDB&lt;/SPAN&gt;&lt;SPAN&gt;, the data was magically corrected in the new database&lt;/SPAN&gt;&lt;SPAN&gt;. It self&lt;/SPAN&gt;&lt;SPAN&gt;-healed&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 16:53:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/spatial-references-not-matching-in-the-same/m-p/1392654#M11208</guid>
      <dc:creator>TimSexton1</dc:creator>
      <dc:date>2024-03-07T16:53:21Z</dc:date>
    </item>
  </channel>
</rss>

