<?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: Load offline ECW raster in local server in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/load-offline-ecw-raster-in-local-server/m-p/1088059#M10350</link>
    <description>&lt;P&gt;Thanks a lot!&amp;nbsp;&lt;BR /&gt;Now I have been able to load ecw in my application.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For anyone else, make sure you are using blank map in local map service.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Aug 2021 18:56:12 GMT</pubDate>
    <dc:creator>TasawarAhmad</dc:creator>
    <dc:date>2021-08-11T18:56:12Z</dc:date>
    <item>
      <title>Load offline ECW raster in local server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/load-offline-ecw-raster-in-local-server/m-p/1087560#M10347</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;I am using arcgis local server to load map from map service.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Now I have some substantially large offline ecw files which I need to add as layer on that loaded map. I have tried the below code with online raster file. How can I achieve this same functionality with offline ecw files placed in my computer using local server preferably?&lt;/P&gt;&lt;P&gt;Additionally I have edited my ARCGIS deployment file to accept ProECWRasters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt; ImageServiceRaster imageServiceRaster = new ImageServiceRaster(new Uri("https://sampleserver6.arcgisonline.com/arcgis/rest/services/NLCDLandCover2001/ImageServer"));
await imageServiceRaster .LoadAsync();             
RasterLayer rasterLayer = new RasterLayer(imageServiceRaster);
await rasterLayer.LoadAsync();
Map.OperationalLayers.Add(rasterLayer);
MainMapView.Map = Map;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 17:25:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/load-offline-ecw-raster-in-local-server/m-p/1087560#M10347</guid>
      <dc:creator>TasawarAhmad</dc:creator>
      <dc:date>2021-08-10T17:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Load offline ECW raster in local server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/load-offline-ecw-raster-in-local-server/m-p/1087604#M10348</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For raster datasets in ECW format, it is still necessary to use the Local Server component because it's not &lt;A href="https://developers.arcgis.com/net/layers/add-raster-data/#supported-raster-formats" target="_blank" rel="noopener"&gt;one of the formats supported&lt;/A&gt; for direct read by the API.&lt;/P&gt;&lt;P&gt;Local Server does not provide an equivalent ImageServer endpoint, therefore to access raster dataset via Local Server you can use the dynamic workspace approach shown in this sample:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-dotnet/tree/v100.7.0/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Local%20Server/DynamicWorkspaceRaster" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-dotnet/tree/v100.7.0/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Local%20Server/DynamicWorkspaceRaster&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 18:28:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/load-offline-ecw-raster-in-local-server/m-p/1087604#M10348</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2021-08-10T18:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Load offline ECW raster in local server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/load-offline-ecw-raster-in-local-server/m-p/1088059#M10350</link>
      <description>&lt;P&gt;Thanks a lot!&amp;nbsp;&lt;BR /&gt;Now I have been able to load ecw in my application.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For anyone else, make sure you are using blank map in local map service.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 18:56:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/load-offline-ecw-raster-in-local-server/m-p/1088059#M10350</guid>
      <dc:creator>TasawarAhmad</dc:creator>
      <dc:date>2021-08-11T18:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Load offline ECW raster in local server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/load-offline-ecw-raster-in-local-server/m-p/1088068#M10351</link>
      <description>&lt;P&gt;That's great news.&lt;/P&gt;&lt;P&gt;It shouldn't need to be an empty map package, but that's a cleaner way to do it. Ideally the spatial references of your data, map package (local map service), and mapview are the same to avoid the overhead of any dynamic reprojection. But the local server will reproject on-the-fly if needed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 19:08:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/load-offline-ecw-raster-in-local-server/m-p/1088068#M10351</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2021-08-11T19:08:44Z</dc:date>
    </item>
  </channel>
</rss>

