long AddMilStd2525Symbol(long layer_handle, double lat, double lon, BSTR symbol_id);
AddMilStd2525Symbol adds a MIL-STD-2525B symbol to the layer with the given layer_handle.
Parameters
- layer_handle - the value of the layer handle
- lat - the latitude between -90 and 90
- lon - the longitude between -180 and 180
- symbol_id - the 15-character alphanumeric MIL-STD-2525B identifier
Returns
- object handle >= 0 (success - the object handle identifies the new symbol object)
- -1 (failure)
-- Carey Cilyok - 18 Oct 2006
Hi,
After adding a MilStd2525 symbol is it possible to rotate it? I ask because I've added a METOC symbol (wind barb) and want to rotate it. In C# I used the following code:
myObject = mILayer.AddMilStd2525Symbol(LayerHandle, temp.Lat, temp.Long, "WA--W----------");
FVW_Result = mILayer.MoveSymbol(LayerHandle, myObject, temp.Lat, temp.Long, 90.0);
Unfortunately the symbol doesn't rotate.
My second question: Is it possible to modify the METOC Windbarb symbol to vary the number of "barbs" to reflect wind strength?
Regards.
-- ScottMarshall - 08 Jun 2007
The wind barbs can’t be rotated and the speed flags can’t be set. It’s something that we could easily put in to FalconView, but right now it’s a static (and admittedly useless) symbol.
-- JoelOdom - 15 Jun 2007
Mapping MilStd2525 Symbol Code to a *.ico file
Hello,
I've created a layer editor that adds/removes items on the falconview map using milstd2525 symbol codes. I've run into some of the stability issues that are documented in the SDK.
Question: Is there any way possible to access the mappings that falcon view uses to translate from a milstd2525 symbol code (i.e. "WA--W----------") to the actual icon file located in the PFPS\falcon\data\icons\threat directory?
Regards.
-- JeffBuser - 29 Jun 2007
A) In 4.x you can use IParametrics to look it up. In earlier versions you can look it up in the !ThreatDB.prm database which is in the Falcon\data\intel directory. It is an access database that links each icon with the parametrics and the Mil Std code. You need to realize that it is not necessarily one to one. For instance there are many missile icons but only one Mil Std symbol.
-- ChrisBailey - 03 Jul 2007
Q) Is there any more documentation on the IParametrics class available than what is on the current wiki page? Specifically, return codes and expected parameters for GetParametrics()
-- RobertGustafson - 06 Jul 2007
A) There is a little more in the !ThreatInterfacesICD in the SDK (See GetTheSdk)
-- ChrisBailey - 10 Jul 2007
