Failed to create Rule Engine: mil2525c

497
1
01-09-2018 07:07 AM
MauroCastaldo
New Contributor II

I'm developing an UWP solution using 100.2.0 .NET Runtime and I should display some military tactical graphics on a map.

I'm trying to use mil2525c.stylx with this code:

 

DictionarySymbolStyle symbolDictionary = await DictionarySymbolStyle.OpenAsync("mil2525c", installedLocation.Path + @"\Assets\mil2525c.stylx") as DictionarySymbolStyle;

Running application it shows this error:

File not found: Failed to create Rule Engine: mil2525c

I noticed that that method only accepts "mil2525c_b2" as specification type but it doesn't render any tactical graphics.

The only way I was able to make it render some tactical graphics is using

DictionarySymbolStyle symbolDictionary = await DictionarySymbolStyle.OpenAsync("mil2525c_b2", installedLocation.Path + @"\Assets\mil2525c_b2.stylx") as DictionarySymbolStyle;

 

Frankly I don't understand the relationship between specification type parameter and *.stylx file.

Is specification type related to military standard? 

Is there a list of valid values for every *.stylx file (for example, I would like to know the correct specification type related to the "app6b.stylx")

Thanx in advance.

 

Mauro

0 Kudos
1 Reply
KerryRobinson
Esri Contributor

Please see answers to this question in the Runtime SDK for .NET forum here: https://community.esri.com/message/740643-failed-to-create-rule-engine-mil2525c 

0 Kudos