I m unable to show ENC map getting error "layer could not be added to map because layer initialization failed" and "S57 dictionary not found". I have set symbols path too.

4446
31
Jump to solution
08-20-2016 04:38 AM
AnzarKhatri
New Contributor

I want to show ENC chart in my WPF app but getting these error. I have also attached screen shot of error. I have set symbols path and manifest file too but no success.

<Window x:Class="ArcGISApp1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013"
xmlns:hydro="clr-namespace:Esri.ArcGISRuntime.Hydrographic;assembly=Esri.ArcGISRuntime"
Title="MainWindow"
Height="350"
Width="525">
<Grid>
<esri:MapView x:Name="MyMapView"
LayerLoaded="MyMapView_LayerLoaded">
<esri:Map>
<!--<esri:ArcGISTiledMapServiceLayer ID="Basemap" ServiceUri="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>-->
<esri:GroupLayer ID="Hydrographic">
<hydro:HydrographicS57Layer ID="PK2NB58Z"
Path="US5TX51M.000">
</hydro:HydrographicS57Layer>
</esri:GroupLayer>
</esri:Map>
</esri:MapView>
</Grid>
</Window>

I think there is no issue at all in code. I dont understand what is the reason..........!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Tags (1)
0 Kudos
31 Replies
AnzarKhatri
New Contributor

Hi, thanks a lot Mike I got the samples but other link shows page which

says "Your search did not return any results". Any help?

Another thing I wud like to mention is that if I apply any incorrect

ClientID that water "Licensed for Developer us e only" is removed!!!!!!!!

What does this mean and what effect this will have on license?

I also mentioned previously in this thread that our app will run in totally

disconnected mode using only ENC charts so we are confused about which type

of license we need?

0 Kudos
AnzarKhatri
New Contributor

Hi,

Its a bit long time I m asking u anything.. Can u plz elaborate if I provide dummy license key then the water "Licensed for developers only" is removed. What effect it will have on any functionalities as I told u previously that we r only using offline ENC maps.

Another thing is that how can we draw Arcs or Ellipses in symbols?

We have seen SymbolsDictionary which has thousands of symbols which contain many curves. How these r drawn ? R these symbols saved as pictures in library as these r retrieved as picture symbols or in some other way so that we can also draw such complex symbols?

0 Kudos