<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Military Symbology 2525D Speed Vector in ArcGIS Java SDK in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/military-symbology-2525d-speed-vector-in-arcgis/m-p/1006166#M2279</link>
    <description>&lt;P&gt;The short answer is this is not yet supported by the DictionaryRenderer. So these lines would need to be drawn with a custom line symbol for now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now, as you demonstrated above, the speed attribute controls a label displayed on some symbols (like air, equipment) and the direction attribute controls a direction-of-movement indicator.&lt;/P&gt;&lt;P&gt;The longer answer is that I believe the standard doesn't require, or fully explain/specify the things shown in section K, so would probably require some more information to implement. Although, the speed leader is also mentioned outside of Section K in "FIGURE 13. Dynamic graphic amplifiers for icon-based symbols." Unfortunately, this section also doesn't provide much detail on how to draw, derive the length of the speed line, an error ellipse, etc.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll also forward this to the team responsible for the dictionaryrenderer to see if this in on their radar for a future release.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2020 14:18:42 GMT</pubDate>
    <dc:creator>ChristopherMoore</dc:creator>
    <dc:date>2020-12-02T14:18:42Z</dc:date>
    <item>
      <title>Military Symbology 2525D Speed Vector in ArcGIS Java SDK</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/military-symbology-2525d-speed-vector-in-arcgis/m-p/1005837#M2277</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I've been working on a Java Desktop Application using the ArcGIS runtime SDK v100.7.0. There was a requirement where I had to display Point Graphics using Symbols from the MILSTD 2525D .stylx file. I was able to render these Graphic objects on the Map View just fine. Now, I've come across a requirement where I have to show these symbols with Speed Vectors. According to the official MILSTD 2525D documentation at&amp;nbsp;&lt;A href="https://www.jcs.mil/Portals/36/Documents/Doctrine/Other_Pubs/ms_2525d.pdf" target="_blank" rel="noopener"&gt;MILSTD-2525D-PDF&lt;/A&gt;&amp;nbsp;, it was mentioned here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FuzailSiddiqui_0-1606832145762.jpeg" style="width: 700px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1247i07A54A5258068A60/image-dimensions/700x175?v=v2" width="700" height="175" role="button" title="FuzailSiddiqui_0-1606832145762.jpeg" alt="FuzailSiddiqui_0-1606832145762.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;According to this, the speed vector arrow's length depends upon the speed of that object but I cannot manage to find any such attribute here&amp;nbsp;&lt;A href="https://github.com/Esri/military-symbology/tree/dev/military-overlay/mil2525d" target="_self"&gt;https://github.com/Esri/military-symbology/tree/dev/military-overlay/mil2525d&lt;/A&gt;&amp;nbsp;that can change the length of the "speed vector" present in the military symbol to be rendered.&lt;/P&gt;&lt;P&gt;My code snippet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;private Symbol getMilitarySymbol(String sidc, int speed, int direction) {
        Map&amp;lt;String, Object&amp;gt; attributes = new HashMap&amp;lt;&amp;gt;();

        attributes.put("sidc", sidc); // sidc
        attributes.put("direction", direction);
        attributes.put("speed", speed);

        try {
            // actually returns a MultiLayerPointSymbol with size of 85.333336
            MultilayerPointSymbol symbol = (MultilayerPointSymbol) symbolDictionary.getSymbolAsync(attributes).get();
            symbol.setSize(65.0f);
            return symbol;
        } catch (InterruptedException e) {
            e.printStackTrace();
            System.out.println("InterruptedException - failed to symbolize SIDC: " + sidc);
        } catch (ExecutionException e) {
            e.printStackTrace();
            System.out.println("ExecutionException - failed to symbolize SIDC: " + sidc);
        }

        return null;
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Output on Map View:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FuzailSiddiqui_1-1606832523238.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1249iE22D029829EA0A2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FuzailSiddiqui_1-1606832523238.png" alt="FuzailSiddiqui_1-1606832523238.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note: The length of this arrow remains same no matter what speed value I specify (e.g. 1 or 11)&lt;/P&gt;&lt;P&gt;I want to know,&amp;nbsp; how can I fulfill this requirement ? How do I make the arrow length reflect the speed of the object ?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 14:28:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/military-symbology-2525d-speed-vector-in-arcgis/m-p/1005837#M2277</guid>
      <dc:creator>FuzailSiddiqui</dc:creator>
      <dc:date>2020-12-01T14:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Military Symbology 2525D Speed Vector in ArcGIS Java SDK</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/military-symbology-2525d-speed-vector-in-arcgis/m-p/1006111#M2278</link>
      <description>&lt;P&gt;I'm seeking out someone who knows the MIL2525 symbology...&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 08:40:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/military-symbology-2525d-speed-vector-in-arcgis/m-p/1006111#M2278</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2020-12-02T08:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Military Symbology 2525D Speed Vector in ArcGIS Java SDK</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/military-symbology-2525d-speed-vector-in-arcgis/m-p/1006166#M2279</link>
      <description>&lt;P&gt;The short answer is this is not yet supported by the DictionaryRenderer. So these lines would need to be drawn with a custom line symbol for now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now, as you demonstrated above, the speed attribute controls a label displayed on some symbols (like air, equipment) and the direction attribute controls a direction-of-movement indicator.&lt;/P&gt;&lt;P&gt;The longer answer is that I believe the standard doesn't require, or fully explain/specify the things shown in section K, so would probably require some more information to implement. Although, the speed leader is also mentioned outside of Section K in "FIGURE 13. Dynamic graphic amplifiers for icon-based symbols." Unfortunately, this section also doesn't provide much detail on how to draw, derive the length of the speed line, an error ellipse, etc.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll also forward this to the team responsible for the dictionaryrenderer to see if this in on their radar for a future release.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 14:18:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/military-symbology-2525d-speed-vector-in-arcgis/m-p/1006166#M2279</guid>
      <dc:creator>ChristopherMoore</dc:creator>
      <dc:date>2020-12-02T14:18:42Z</dc:date>
    </item>
  </channel>
</rss>

