-
Notifications
You must be signed in to change notification settings - Fork 32
Create an app to create stylx file #296
Comments
@dfoll @topowright - a quick app to create a new Pro Style from SVGs is now available to test at: https://esri.box.com/s/s042ujvrzrhtx7kufz6o8srxcweibeaq Install the app from ...\GenerateSVGStyle\bin\Debug This App takes as input:
|
Updated addin app is now available to test at: https://esri.box.com/s/s042ujvrzrhtx7kufz6o8srxcweibeaq Should look like this now and eliminate the edit-csv step (I crossed out above): |
The style creation addin app has been updated to add the step of merging the lines-area-labels style and point style: This eliminates this step in the old process: Merge - part of Overall Process Updated app at: https://esri.box.com/s/s042ujvrzrhtx7kufz6o8srxcweibeaq I believe the only remaining steps for this task are:
|
Added a step to addin to update/add the label rules to the style:
Tasks to finish this item
|
I hit a snag on this task L24 when testing the final/resulting style in Runtime/Pro - the final style was not compatible with runtime (i.e. crashed Pro / doesn't draw in Runtime) - I just need make a few changes to ensure each step of the process is working with a mobile style. Also the 2 bad icons mentioned above were actually repeated unique keys, so this was an input data problem. I'll update once I have a fully working style and have tested in Runtime/Pro |
After ensuring we are using a mobile style everywhere and looking at this problem closer - I think there is an issue with Pro that we won't be able to workaround creating these styles. To be compatible with Runtime, the mobile-compatible symbols are supposed to vectorize the text, but that does not appear to be happening - so any symbols with text are not drawing in Runtime (and causing Pro to crash): Here is an example of CIM that is not compatible that is showing up in the mobile style
I'll write up the details of this issue and pass on to the PEs (FYI @ACueva @topowright @dfoll ) to coordinate with Core. This likely means we won't be able to use Pro to author these mobile styles, but Core might be able to point us to a workaround in the short term. |
This task is impeded due to the issue reported in last comment - opened new issue #324 that should be reported to Core. @topowright @ACueva @dfoll |
Created PR: #335 to address the original issue and some recommended enhancements/feedback this week:
The only 2 issues I have noticed using this app/process/stylx-created are noted in:
|
#296 - Update Stylx Creation Process
This issue was moved to Esri/military-symbology#287 |
Background
The stylx creation process has changed since Pro 1.2.
At Pro 2 support was added for
The old process at: https://github.com/Esri/military-features-data/tree/dev/military-symbology-styles/utils-and-source-data/style-creation-utilities
is no longer necessary (in addition to being overly complex and error-prone).
Current State
The currently documented style creation process should be updated to use Pro 2
Steps to Reproduce / Requirement / Workflow
Use Pro 2 to create Mobile Style(stylx) from metadata and SVG icons
Expected Results / Behavior
Version
The app / stylx will target:
Pro 2.2-2.3
Runtime 100.4
Server 10.7
The text was updated successfully, but these errors were encountered: