<?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: MapPoint.Project(...) to other spatial has insufficient accuracy (with 31256) in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/mappoint-project-to-other-spatial-has-insufficient/m-p/1259705#M11703</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yeah... it seems I am missing the transformation for this projection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now with&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var target = SpatialReference.Create(31256);
var transformation = TransformationCatalog.GetTransformation(target, SpatialReferences.Wgs84,
            new Envelope(data.Min(a =&amp;gt; a.X), data.Min(a =&amp;gt; a.Y), data.Max(a =&amp;gt; a.X), data.Max(a =&amp;gt; a.Y), target));
...
var wgs84 = (MapPoint) new MapPoint(x, y, target).Project(SpatialReferences.Wgs84, transformation);
...&lt;/LI-CODE&gt;&lt;P&gt;it delivers the correct values.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sun, 19 Feb 2023 15:13:24 GMT</pubDate>
    <dc:creator>SokoFromNZ</dc:creator>
    <dc:date>2023-02-19T15:13:24Z</dc:date>
    <item>
      <title>MapPoint.Project(...) to other spatial has insufficient accuracy (with 31256)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/mappoint-project-to-other-spatial-has-insufficient/m-p/1257863#M11677</link>
      <description>&lt;P&gt;I have found a bug (?) in your projecting algorithmn which leads to a 200 meter error.&lt;/P&gt;&lt;P&gt;This line:&lt;/P&gt;&lt;PRE&gt;var wgs84 = (MapPoint) new MapPoint(-76819.429, 187725.102, SpatialReference.Create(31256) ).Project(SpatialReferences.Wgs84); &lt;/PRE&gt;&lt;P&gt;Calculates to:&lt;/P&gt;&lt;PRE&gt;{MapPoint[X=15.321529847554814, Y=46.82430179466435, Wkid=4326]}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;As I know what feature on the satellite map should be there I see this is off.&lt;/P&gt;&lt;P&gt;In addition using&amp;nbsp;&lt;A href="https://products.aspose.app/gis/en/transformation" target="_blank"&gt;https://products.aspose.app/gis/en/transformation&lt;/A&gt;&amp;nbsp;for the projection leads to the correct 4326 values of&lt;/P&gt;&lt;PRE&gt;15.32549716745482 46.82433872507569&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I'm a novice in all this geo spatial stuff I may be using it wrong. But I can't see where...&lt;/P&gt;&lt;P&gt;Thanks for your help in advance&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 07:55:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/mappoint-project-to-other-spatial-has-insufficient/m-p/1257863#M11677</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2023-02-14T07:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: MapPoint.Project(...) to other spatial has insufficient accuracy (with 31256)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/mappoint-project-to-other-spatial-has-insufficient/m-p/1258129#M11680</link>
      <description>&lt;P&gt;Does this projection require datum grid transformation? If so, did you supply the projection engine with the data necessary? See&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/spatial-and-data-analysis/spatial-references/#grid-based-transformations" target="_blank"&gt;https://developers.arcgis.com/net/spatial-and-data-analysis/spatial-references/#grid-based-transformations&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 18:53:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/mappoint-project-to-other-spatial-has-insufficient/m-p/1258129#M11680</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2023-02-14T18:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: MapPoint.Project(...) to other spatial has insufficient accuracy (with 31256)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/mappoint-project-to-other-spatial-has-insufficient/m-p/1259705#M11703</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yeah... it seems I am missing the transformation for this projection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now with&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var target = SpatialReference.Create(31256);
var transformation = TransformationCatalog.GetTransformation(target, SpatialReferences.Wgs84,
            new Envelope(data.Min(a =&amp;gt; a.X), data.Min(a =&amp;gt; a.Y), data.Max(a =&amp;gt; a.X), data.Max(a =&amp;gt; a.Y), target));
...
var wgs84 = (MapPoint) new MapPoint(x, y, target).Project(SpatialReferences.Wgs84, transformation);
...&lt;/LI-CODE&gt;&lt;P&gt;it delivers the correct values.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 15:13:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/mappoint-project-to-other-spatial-has-insufficient/m-p/1259705#M11703</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2023-02-19T15:13:24Z</dc:date>
    </item>
  </channel>
</rss>

