<?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: SpatialReference pour raster layer in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446065#M5416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other idea about my request ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jun 2020 07:33:01 GMT</pubDate>
    <dc:creator>GEORLEVE2019</dc:creator>
    <dc:date>2020-06-11T07:33:01Z</dc:date>
    <item>
      <title>SpatialReference pour raster layer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446060#M5411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dans notre application mobile, nous utilisons des images géoréférencées provenant d'autres applications. Ces images ont été générés avec la projection Lambert93.&lt;/P&gt;&lt;P&gt;Nous utilisons les instructions suivantes:&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;Esri.ArcGISRuntime.Rasters.Raster rasterFile = new Esri.ArcGISRuntime.Rasters.Raster(rasterFileName);&lt;BR /&gt; rasterLayer = new RasterLayer(rasterFile) { Name = "IMG_" + &lt;SPAN&gt;rasterFileName&lt;/SPAN&gt; };&lt;/P&gt;&lt;P&gt;await rasterLayer.LoadAsync();&lt;/P&gt;&lt;P&gt;CurrentMap.OperationalLayers.Add( rasterLayer);&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;Nous obtenons un message d'erreur indiquant que le SpatialReference n'est pas défini.&lt;/P&gt;&lt;P&gt;Que faire pour forcer le SpatialReference à "Lambert93" ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2020 15:44:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446060#M5411</guid>
      <dc:creator>GEORLEVE2019</dc:creator>
      <dc:date>2020-06-03T15:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference pour raster layer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446061#M5412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does "CurrentMap" already contain a Basemap or other layers in the OperationalLayers collection when you add the raster data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2020 16:36:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446061#M5412</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-06-03T16:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference pour raster layer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446062#M5413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, the Basemap already has a map in it and OperationalLayers is filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Augustin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2020 07:13:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446062#M5413</guid>
      <dc:creator>GEORLEVE2019</dc:creator>
      <dc:date>2020-06-04T07:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference pour raster layer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446063#M5414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because the Map already has a Basemap that will have determined the spatial reference of the MapView. &lt;A href="https://developers.arcgis.com/net/latest/wpf/guide/layer-types-described.htm"&gt;Most layers in the OperationalLayers collection will be reprojected on-the-fly &lt;/A&gt;if they don't match the spatial reference of the MapView.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;.tfw file you attached should define the projection of the raster dataset and allow it to be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you see and LoadError (on the layer) or LayerViewState error (on the MapView)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2020 16:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446063#M5414</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-06-04T16:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference pour raster layer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446064#M5415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mike,&lt;/P&gt;&lt;P&gt;Here is what i get in LayerViewState Error&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #201f1e; "&gt;Esri.ArcGISRuntime.ArcGISRuntimeException: Internal error: The raster layer does not have a spatial reference.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #201f1e; background-color: #ffffff;"&gt;I have an other raster file which displays correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #201f1e; background-color: #ffffff;"&gt;What is missing in&amp;nbsp;the .tif and .tfw files ? And how can I dynamically add these informations ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #201f1e; background-color: #ffffff;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #201f1e; background-color: #ffffff;"&gt;Augustin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2020 07:09:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446064#M5415</guid>
      <dc:creator>GEORLEVE2019</dc:creator>
      <dc:date>2020-06-05T07:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference pour raster layer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446065#M5416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other idea about my request ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2020 07:33:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446065#M5416</guid>
      <dc:creator>GEORLEVE2019</dc:creator>
      <dc:date>2020-06-11T07:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference pour raster layer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446066#M5417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately your raster dataset is missing spatial reference information. You can use the ArcGIS Pro `Define Projection` tool to add the spatial reference information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you building a WPF application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2020 16:14:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446066#M5417</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-06-11T16:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference pour raster layer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446067#M5418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No I'm building an Xamarin forms application with the ArcGis Runtime SDK for .Net.&lt;/P&gt;&lt;P&gt;Where can I find the 'Define Projection' tool and how to make it available and easy for use to my users ?&lt;/P&gt;&lt;H1 class="" style="color: #222222; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;/H1&gt;&lt;DIV data-async-context="query:esri%20arcgis%20runtime%20sdk%20for%20.net" style="color: #222222; background-color: #ffffff; font-size: medium; margin-top: 6px;"&gt;&lt;DIV class="" data-hveid="CAcQAA" style="font-size: 14px; margin-bottom: 28px;"&gt;&lt;DIV&gt;&lt;DIV class="" data-hveid="CAcQAQ" data-ved="2ahUKEwiHyYid5IXqAhUmA2MBHZejAYsQFSgAMAB6BAgHEAE"&gt;&lt;DIV class="" style="font-weight: normal; font-size: small;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2020 07:15:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/spatialreference-pour-raster-layer/m-p/446067#M5418</guid>
      <dc:creator>GEORLEVE2019</dc:creator>
      <dc:date>2020-06-16T07:15:03Z</dc:date>
    </item>
  </channel>
</rss>

