Select to view content in your preferred language

Loading layer files

845
2
04-28-2018 08:29 AM
achmadsudibyo
New Contributor

Hi, i am using .Net sdk v.100.2.1, in this post [https://community.esri.com/message/600770?q=Loading%20*.lyr%20file ] stated that *.lyr file is not currently supported, or is it already is?, if not supported is there workaround for it?can it converted to shp or any other layer type that supported by v.100.x.x

Thankyou

0 Kudos
2 Replies
MichaelBranscomb
Esri Frequent Contributor

Hi,

ArcMap Layer files (.lyr) are not supported directly in the ArcGIS Runtime API. For specific ArcGIS Runtime SDKs (.NET WPF, Java, and Qt) the ArcGIS Runtime Local Server component enables support for Layer Files via Geoprocessing scripts/tools.

What data formats do your Layer Files reference?

For more information on the layer types support by the API, please see Layer types described—ArcGIS Runtime SDK for .NET (WPF) | ArcGIS for Developers.

Cheers

Mike

0 Kudos
OmairJamil
New Contributor II

We were using ArcGIS engine to display .lyr layer files in our application. Now in Runtime/Maps there is no support. With Local server we have to create a gpkx of each lyr file in order to display it in our application.

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?

0 Kudos