Spectrum Spatial (SSA/LIM)

Expand all | Collapse all

Using Custom Symbols in Spectrum Spatial Analyst

  • 1.  Using Custom Symbols in Spectrum Spatial Analyst

    Posted 03-13-2018 14:13

    Hi, I have a MapInfo layer with custom True Type Font Symbols. When I upload this layer to SSA, I do not see these fonts.

    Can you let me know, how to install these custom fonts to SSA?

    Thank you

    Marek Roth



  • 2.  RE: Using Custom Symbols in Spectrum Spatial Analyst

    Posted 03-14-2018 04:10

    Hi Marek

    You need to build the custom symbols into a JAR file and then publish this JAR file on your Spectrum server.

    Here are some more details:

    Building the WAR

    Open command line or Shell prompt and run the following commands. Make sure to execute them in the folder where the images are actually located (otherwise you get folders in the jar file)

    jar cvf <MyJarFileName>.jar *.png

    where <MyJarFileName> is the name of the JAR file you are creating. This statement will include all the png files in the JAR file you are creating.

    Deploying the JAR on the server

    Copy the newly created JAR file and paste it into this folder on the Spectrum server: install_dir/server/modules/spatial/lib.

    where install_dir is the folder where you installed SSA, typically C:\Program Files\Pitney Bowes\Spectrum.



  • 3.  RE: Using Custom Symbols in Spectrum Spatial Analyst

    Posted 03-14-2018 05:15

    Thank you Peter,

    Are these steps the same, if I have True Type Font in *.ttf file?

    jar cvf <MyJarFileName>.jar *.ttf

    Marek



  • 4.  RE: Using Custom Symbols in Spectrum Spatial Analyst

    Posted 03-15-2018 06:54
    Not sure about this one, Marek, I thought it would use the fonts installed on the server but maybe it works differently with Java...


  • 5.  RE: Using Custom Symbols in Spectrum Spatial Analyst

    Posted 03-18-2018 10:30

    You are rigth Peter, I have installed Tru Type Font on server with standard way and the layer in now displayed correctly.  Thank you for your help. Marek?



  • 6.  RE: Using Custom Symbols in Spectrum Spatial Analyst

    Posted 11-23-2018 13:04
    This has worked for me, thanks @Peter Møller.
    However, they don't appear in Spatial Manager as an option.
    Should these new symbols be available in Spatial Manager?
    Or is there another step?
    Thanks
    John​

    ------------------------------
    John Ievers
    CDR Group
    Hope Valley, United Kingdom
    ------------------------------



  • 7.  RE: Using Custom Symbols in Spectrum Spatial Analyst

    Posted 11-26-2018 05:41
    Hi John

    Do you mean you can't select them when configuring a layer in Spatial Manager?
    You should be able to see a map using these custom symbols.

    Maybe the files needs to be placed in a certain folder for Spatial Manager to list them.

    ------------------------------
    Peter Horsbøll Møller
    Pitney Bowes
    ------------------------------



  • 8.  RE: Using Custom Symbols in Spectrum Spatial Analyst

    Pitney Bowes
    Posted 11-26-2018 17:05
    ​In the release coming at the end of this week, (Spectrum version 18.2) there will be a few additions relating to custom image symbols.
    First of all, the administrator can configure a folder in a properties file where external items, including image symbols can be stored in their native form. So no .jar file is necessary. Very much like the Custom Symbol folder in MapInfo Pro.
    This folder has to do with more than custom symbols and includes custom data providers or JDBC drivers but for most people it will be useful for custom symbols.
    Once this this is configured adding symbols to the SpatialSymbols folder underneath it is just putting the image files there. No restart is necessary.
    These symbols will show up in Spatial Manager when creating or modifying a style override in the "Uploaded Symbols" category.
    Note that it is important that the folder NOT be under the Spectrum install so that all the symbols can be maintained (left alone) during an upgrade. Anything under the Spectrum Install folder is removed.
    As for symbols loaded the older way via a .jar file in the Spatial\lib folder, these will continue to work but will not show up in any UI.
    My recommendation is that once you upgrade, rather than adding back the symbols jar file, extract all the images to your configured folder.

    ------------------------------
    Eric Blasenheim
    Technical Product Manager, Spectrum Spatial
    Pitney Bowes Software
    Troy NY
    ------------------------------