<?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 ArcGISView missing SpatialReference - Trying to convert from Lat/Lon to Unity space coordinates in ArcGIS Maps SDK for Unity Questions</title>
    <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/arcgisview-missing-spatialreference-trying-to/m-p/1342859#M674</link>
    <description>&lt;P&gt;Hello! I'm currently attempting to convert a coordinate position (ArcGISPoint or Lat/Lon) to Unity engine coordinates in my local map scene. The suggestion is to use ArcGISView.GeographicToWorld(ArcGISPoint) to get a world position ("worldPos") and then use HPRoot.TransformPoint(worldPos) to get the corresponding Unity transform value, but I only get NaN values from GeographicToWorld because the view is supposedly missing a spatial reference.&lt;BR /&gt;&lt;BR /&gt;How do I overcome this? The documentation has nothing about&amp;nbsp;&lt;EM&gt;why&lt;/EM&gt; the view would be missing a spatial reference so I have no clue how to fix this. Is there a way to assign a spatial reference? Or just another way to calculate the Unity position entirely?&lt;BR /&gt;&lt;BR /&gt;For reference this is the post I've been trying to work off of:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/world-position-to-unity-position-from-geographical/td-p/1227932" target="_blank"&gt;https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/world-position-to-unity-position-from-geographical/td-p/1227932&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2023 17:59:53 GMT</pubDate>
    <dc:creator>JacobDunbar</dc:creator>
    <dc:date>2023-10-27T17:59:53Z</dc:date>
    <item>
      <title>ArcGISView missing SpatialReference - Trying to convert from Lat/Lon to Unity space coordinates</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/arcgisview-missing-spatialreference-trying-to/m-p/1342859#M674</link>
      <description>&lt;P&gt;Hello! I'm currently attempting to convert a coordinate position (ArcGISPoint or Lat/Lon) to Unity engine coordinates in my local map scene. The suggestion is to use ArcGISView.GeographicToWorld(ArcGISPoint) to get a world position ("worldPos") and then use HPRoot.TransformPoint(worldPos) to get the corresponding Unity transform value, but I only get NaN values from GeographicToWorld because the view is supposedly missing a spatial reference.&lt;BR /&gt;&lt;BR /&gt;How do I overcome this? The documentation has nothing about&amp;nbsp;&lt;EM&gt;why&lt;/EM&gt; the view would be missing a spatial reference so I have no clue how to fix this. Is there a way to assign a spatial reference? Or just another way to calculate the Unity position entirely?&lt;BR /&gt;&lt;BR /&gt;For reference this is the post I've been trying to work off of:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/world-position-to-unity-position-from-geographical/td-p/1227932" target="_blank"&gt;https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/world-position-to-unity-position-from-geographical/td-p/1227932&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 17:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/arcgisview-missing-spatialreference-trying-to/m-p/1342859#M674</guid>
      <dc:creator>JacobDunbar</dc:creator>
      <dc:date>2023-10-27T17:59:53Z</dc:date>
    </item>
  </channel>
</rss>

