-
Notifications
You must be signed in to change notification settings - Fork 10
Create an app to create stylx file #287
Comments
From @csmoore on March 15, 2018 18:24 @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:
|
From @csmoore on March 16, 2018 15:11 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): |
From @csmoore on March 26, 2018 14:24 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:
|
From @csmoore on March 27, 2018 16:20 I looked at some different approaches to setting the LabelRules in the stylx (and see if these are exposed in any way in Pro): That is - this column is the style that is not exposed: That associates a style item with this table/entry: And I think the most flexible way to do this until it is exposed by Pro is to keep this as a sql script that gets executed as part of the new process/addin. Currently working on adding this step to the addin |
From @csmoore on March 28, 2018 14:37 Added a step to addin to update/add the label rules to the style:
Tasks to finish this item
|
From @csmoore on March 29, 2018 14:20 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 |
From @csmoore on March 29, 2018 20:17 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. |
From @csmoore on March 30, 2018 20:41 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 |
From @csmoore on April 3, 2018 0:34 The steps to use the app have been updated in branch: https://github.com/Esri/military-features-data/tree/csm/%23296-update-stylx-creation-process |
From @csmoore on July 20, 2018 15:40 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:
|
moved this issue to the new repo for situational awareness down the road. This issue will be closed. |
From @csmoore on March 14, 2018 18:29
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
Copied from original issue: Esri/military-features-data#296
The text was updated successfully, but these errors were encountered: