<?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: Incompatible Spatial References in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1662355#M13235</link>
    <description>&lt;P&gt;Radek, I will change this in the next release.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Oct 2025 21:08:48 GMT</pubDate>
    <dc:creator>AnnetteLocke</dc:creator>
    <dc:date>2025-10-30T21:08:48Z</dc:date>
    <item>
      <title>Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/842890#M3936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Pro SDK API, I am getting the "Incompatible spatial references" error when performing Geometry Engine operations like Distance or Difference on two geometries. The first geometry comes from a feature in an enterprise geodatabase feature class contained in a feature dataset. The second feature comes from a file geodatabase feature class created programmatically, with the spatial reference copied from the SDE feature class. When I look at spatial references of both geometry objects in debug mode, they have identical WKT strings. The workaround I&amp;nbsp;found was to convert both geometries to JSON and re-create them from the JSON strings. The Geometry Engine operations no longer fail.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is that as long as spatial reference WKT strings for two geometries are identical, their spatial references are the same. Is there something I am missing? Could this possibly be a bug?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Pro 2.6 SDK. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 16:04:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/842890#M3936</guid>
      <dc:creator>AlexZlotin1</dc:creator>
      <dc:date>2020-10-29T16:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1299593#M9939</link>
      <description>&lt;P&gt;I'm seeing exactly the same thing in pro 3.1.0, two features with the same spatial reference. The layers have the same spatial reference, I check they have the same WKID in code just to be sure, still fails.&lt;/P&gt;&lt;P&gt;Feels like a bug in the code of the geometry engine&amp;nbsp;&amp;nbsp;" at ArcGIS.Core.Geometry.GeometryEngine.CheckForEqualSpatialReferences(SpatialReference sr1, SpatialReference sr2)\&lt;/P&gt;&lt;P&gt;To me its feels like the code might be they are checking that they are the same instance of spatial reference object, rather than that they are the same?&lt;/P&gt;&lt;P&gt;My workaround therefore was to use the SR of on of the layers to rebuild the geometry of the other. In my case I used the SR of the polygon layer to create a new point&lt;/P&gt;&lt;P&gt;var point = new MapPointBuilderEx(inPoint.X, inPoint.Y, polyLayer.GetDefinition().GetSpatialReference()).ToGeometry();&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidWilton_0-1686825546270.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/73311i61950345A962AB42/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidWilton_0-1686825546270.png" alt="DavidWilton_0-1686825546270.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 10:48:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1299593#M9939</guid>
      <dc:creator>DavidWilton</dc:creator>
      <dc:date>2023-06-15T10:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1309337#M10053</link>
      <description>&lt;P&gt;I'm seeing the same thing with 3.0. I hope they eventually fix it!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 00:28:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1309337#M10053</guid>
      <dc:creator>DaveWilcox</dc:creator>
      <dc:date>2023-07-19T00:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1491196#M11669</link>
      <description>&lt;P&gt;I am having the same issue at 3.3.&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/145101"&gt;@CharlesMacleod&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 02:50:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1491196#M11669</guid>
      <dc:creator>MK13</dc:creator>
      <dc:date>2024-06-13T02:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1524820#M11988</link>
      <description>&lt;P&gt;I am having this issue now and then from our users.&amp;nbsp; Just hope Pro dev team can look into this.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 23:18:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1524820#M11988</guid>
      <dc:creator>AquanuityDevelopment</dc:creator>
      <dc:date>2024-08-20T23:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1659569#M13216</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I still have the same issue at 3.5.4, fortunately I use the solution by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/95531"&gt;@DaveWilcox&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 11:46:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1659569#M13216</guid>
      <dc:creator>RadekMandovec</dc:creator>
      <dc:date>2025-10-22T11:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1660645#M13223</link>
      <description>&lt;P&gt;Hi Radek. I was just made aware of this issue. Can you check the xy-tolerances of the spatial references to see if they are the same? Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 18:50:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1660645#M13223</guid>
      <dc:creator>AnnetteLocke</dc:creator>
      <dc:date>2025-10-24T18:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1661658#M13231</link>
      <description>&lt;P&gt;Hi Annette, the XYTolerance values are different. While the first feature has XYTolerance = 0.0002, the second one has 0.0001.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 06:00:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1661658#M13231</guid>
      <dc:creator>RadekMandovec</dc:creator>
      <dc:date>2025-10-29T06:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1662065#M13234</link>
      <description>&lt;P&gt;The tolerances being different is the reason that the exception is thrown. I will look into changing the behavior so that if only the tolerances are different, then the operation will succeed. I need to test for unexpected repercussions before I can commit to the change, though. I will reply to this thread with the outcome.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 22:18:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1662065#M13234</guid>
      <dc:creator>AnnetteLocke</dc:creator>
      <dc:date>2025-10-29T22:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1662355#M13235</link>
      <description>&lt;P&gt;Radek, I will change this in the next release.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 21:08:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1662355#M13235</guid>
      <dc:creator>AnnetteLocke</dc:creator>
      <dc:date>2025-10-30T21:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1662431#M13236</link>
      <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2025 05:05:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1662431#M13236</guid>
      <dc:creator>RadekMandovec</dc:creator>
      <dc:date>2025-10-31T05:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1662432#M13237</link>
      <description>&lt;P&gt;Just a small note. The feature with XYTolerance = 0.0002 is the one I obtained by clicking on the map.&lt;/P&gt;&lt;PRE&gt; &lt;SPAN&gt;var&lt;/SPAN&gt; mapPoint = MapView.Active.ClientToMap(e.ClientPoint);&lt;/PRE&gt;&lt;P&gt;I tried to find out whether the Map itself has any XYTolerance, but I couldn’t find anything anywhere, so I actually don’t know where the point gets its XYTolerance from. However, it definitely differs from the XYTolerance of all connected feature classes.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2025 06:32:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1662432#M13237</guid>
      <dc:creator>RadekMandovec</dc:creator>
      <dc:date>2025-10-31T06:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1698474#M13512</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Annette, I just want to inform you I use ArcGIS Pro 3.6.3 at the moment and the problem is still there. Did you already fix it or not?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2026 06:31:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1698474#M13512</guid>
      <dc:creator>RadekMandovec</dc:creator>
      <dc:date>2026-04-27T06:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Incompatible Spatial References</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1698632#M13513</link>
      <description>&lt;P&gt;Hi Radek, the issue was fixed in ArcGIS Pro 3.7 which is expected to be available in May.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2026 20:15:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/incompatible-spatial-references/m-p/1698632#M13513</guid>
      <dc:creator>AnnetteLocke</dc:creator>
      <dc:date>2026-04-27T20:15:24Z</dc:date>
    </item>
  </channel>
</rss>

