<?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 How to display .lyr file? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1164688#M10899</link>
    <description>&lt;P&gt;I have a .lyr file which contains many references to raster (.ecw) files. According to the answer here&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-runtime-sdk-for-net-questions/loading-layer-files/m-p/622897/highlight/true#M7631" target="_blank"&gt;https://community.esri.com/t5/arcgis-runtime-sdk-for-net-questions/loading-layer-files/m-p/622897/highlight/true#M7631&lt;/A&gt;&amp;nbsp;it is possible to display .lyr file by using Local Server Component. However I could not find out how. Any help is appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2022 08:46:24 GMT</pubDate>
    <dc:creator>hesapadam</dc:creator>
    <dc:date>2022-04-15T08:46:24Z</dc:date>
    <item>
      <title>How to display .lyr file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1164688#M10899</link>
      <description>&lt;P&gt;I have a .lyr file which contains many references to raster (.ecw) files. According to the answer here&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-runtime-sdk-for-net-questions/loading-layer-files/m-p/622897/highlight/true#M7631" target="_blank"&gt;https://community.esri.com/t5/arcgis-runtime-sdk-for-net-questions/loading-layer-files/m-p/622897/highlight/true#M7631&lt;/A&gt;&amp;nbsp;it is possible to display .lyr file by using Local Server Component. However I could not find out how. Any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 08:46:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1164688#M10899</guid>
      <dc:creator>hesapadam</dc:creator>
      <dc:date>2022-04-15T08:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to display .lyr file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1164711#M10900</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3014"&gt;@MichaelBranscomb&lt;/a&gt;&amp;nbsp;any suggestions?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 12:21:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1164711#M10900</guid>
      <dc:creator>hesapadam</dc:creator>
      <dc:date>2022-04-15T12:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to display .lyr file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1166253#M10912</link>
      <description>&lt;P&gt;What layer type or data format does your .lyr file apply to?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 17:31:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1166253#M10912</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2022-04-20T17:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to display .lyr file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1166568#M10913</link>
      <description>&lt;P&gt;I'm not sure if this is what you meant, but my .lyr file contains the name of a .ecw file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 06:08:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1166568#M10913</guid>
      <dc:creator>hesapadam</dc:creator>
      <dc:date>2022-04-22T06:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to display .lyr file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1168606#M10928</link>
      <description>&lt;P&gt;ArcGIS Runtime doesn't support .lyr/.lyrx files directly but there are several options depending on what you would like to achieve:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Read the .ecw file directly and define the render with the ArcGIS Runtime API e.g.&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/wpf/sample-code/stretch-renderer/" target="_blank"&gt;https://developers.arcgis.com/net/wpf/sample-code/stretch-renderer/&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Include a layer referencing the .ecw file, and with your desired symbology defined, in your ArcGIS Pro map and share as a mobile map package then open this in ArcGIS Runtime e.g.&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/wpf/sample-code/open-mobile-map-package/" target="_blank"&gt;https://developers.arcgis.com/net/wpf/sample-code/open-mobile-map-package/&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Create a geoprocessing model/script in ArcGIS Pro that opens a .lyrx file and creates a layer. You would then share the model/script as a geoprocessing package and use in conjunction with ArcGIS Runtime Local Server to start a local geoprocessing service, run the geoprocessing task, and add the results to your map operational layers collection as a map image layer e.g.&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/wpf/sample-code/local-server-geoprocessing/" target="_blank"&gt;https://developers.arcgis.com/net/wpf/sample-code/local-server-geoprocessing/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 28 Apr 2022 00:24:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1168606#M10928</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2022-04-28T00:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to display .lyr file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1171453#M10977</link>
      <description>&lt;P&gt;Actually,&amp;nbsp;my .lyr files contain both file geodatabase raster catalogs and feature classes. I have been using ArcGIS Engine and it is quite simple to use .lyr files. By using ArcMap, I was able to add symbology or set scale range to feature classes in the .lyr file. And it was possible to load .lyr files with ArcGIS Engine.&lt;/P&gt;&lt;P&gt;However, I couldn't do that in ArcGIS Runtime. Are there any ways to add feature classes with these features outside from the code in ArcGIS Runtime (symbology, scale ranges, etc.)?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 08:04:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1171453#M10977</guid>
      <dc:creator>hesapadam</dc:creator>
      <dc:date>2022-05-10T08:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to display .lyr file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1330282#M12123</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;We were using ArcGIS engine to display .lyr layer files in our application. Now in Runtime/Maps there is no support. IT looks like, with Local server, we have to create a gpkx of each lyr file in order to display it in our application.&lt;/P&gt;&lt;P&gt;Is there a way where we read the .lyr file(we have 100s of .lyr files) and display it our application using the new API? what is the supported mechanism for this feature?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Sep 2023 17:32:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-display-lyr-file/m-p/1330282#M12123</guid>
      <dc:creator>OmairJamil</dc:creator>
      <dc:date>2023-09-19T17:32:04Z</dc:date>
    </item>
  </channel>
</rss>

