stylx or CIM editor is required

1454
5
Jump to solution
06-09-2021 07:43 AM
ShaolinShowdown
New Contributor II

Hi, I hope everyone is doing well.

I am working with mil2525d.stylx to create symbols. I want to ask if there is any editor where I can create symbols and export its contents (CIM data), so that they can be used in my Java application.

Thank you

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
MarkBaird
Esri Regular Contributor

You can create your own stylx files with ArcGIS Pro which can contain your own collection of symbols for use in your own app.  The symbols in the style file can be used as separate entities or you can combine them to make up composite symbols.  There is a fun sample showing the use of a custom style file here where you can combine different symbols to make up funny faces:

 

https://github.com/Esri/arcgis-runtime-samples-java/tree/main/symbology/read-symbols-from-mobile-sty...

In Pro when you create a stylx file for use in a runtime application you need to remember to create a mobile style file.  This is a good blog post explaining the process: 

https://community.esri.com/t5/arcgis-runtime-sdks-blog/using-custom-pro-symbols-in-arcgis-runtime/ba...

If you are wanting to create your own symbol shapes, then I believe you will need something like an SVG editor before you bring them into Pro.

 

There is another blog post here which explains a little more about 2525 specific customisation 

https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/create-custom-dictionary-styles-for-arc...

 Does this help?

View solution in original post

5 Replies
MarkBaird
Esri Regular Contributor

You can create your own stylx files with ArcGIS Pro which can contain your own collection of symbols for use in your own app.  The symbols in the style file can be used as separate entities or you can combine them to make up composite symbols.  There is a fun sample showing the use of a custom style file here where you can combine different symbols to make up funny faces:

 

https://github.com/Esri/arcgis-runtime-samples-java/tree/main/symbology/read-symbols-from-mobile-sty...

In Pro when you create a stylx file for use in a runtime application you need to remember to create a mobile style file.  This is a good blog post explaining the process: 

https://community.esri.com/t5/arcgis-runtime-sdks-blog/using-custom-pro-symbols-in-arcgis-runtime/ba...

If you are wanting to create your own symbol shapes, then I believe you will need something like an SVG editor before you bring them into Pro.

 

There is another blog post here which explains a little more about 2525 specific customisation 

https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/create-custom-dictionary-styles-for-arc...

 Does this help?

ShaolinShowdown
New Contributor II

Nice explanation.

"If you are wanting to create your own symbol shapes, then I believe you will need something like an SVG editor before you bring them into Pro."

 

1. If I create an SVG, Do I have the ability in pro to bring them in and export them as styles in stylx?

 

2. Are they exported as CIMs only or SVG needs to be placed somewhere?

 

Thanks for your time.

0 Kudos
MarkBaird
Esri Regular Contributor

@ShaolinShowdown I'm going to try and find someone who know a little more about ArcGIS Pro to answer these specific questions.

ShaolinShowdown
New Contributor II

Yes, it helped.

0 Kudos
DaveWhitla
New Contributor III

Is the schema for stylx published somewhere? I want to create them programmatically.