public class BoundarySeries extends Object implements IVmtiMetadataValue, IVTrackMetadataValue
From ST0903:
BoundarySeries is of type BoundarySeries that specifies a bounding area or volume, which encloses the full extent of VMTI detections for the entity. For a simple, planar bounding box, the area will generally lie on the surface of the Earth (although not necessarily, depending upon the Height values provided) defining the “footprint” of the track. By specifying additional vertices, enables describing complex, multifaceted volumes.
Constructor and Description |
---|
BoundarySeries(byte[] bytes)
Deprecated.
use
BoundarySeries(byte[], EncodingMode) to explicitly specify the
encoding mode use in the embedded LocationPack floating point values. |
BoundarySeries(byte[] bytes,
EncodingMode encodingMode)
Create from encoded bytes.
|
BoundarySeries(List<LocationPack> locations)
Create from value.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Get the encoded bytes.
|
String |
getDisplayableValue()
Return a string of the displayable value.
|
String |
getDisplayName()
Get the human-readable name for the value.
|
List<LocationPack> |
getLocations()
Get the TargetLocation structure.
|
public BoundarySeries(List<LocationPack> locations)
locations
- the Location Packs to add.@Deprecated public BoundarySeries(byte[] bytes) throws KlvParseException
BoundarySeries(byte[], EncodingMode)
to explicitly specify the
encoding mode use in the embedded LocationPack floating point values.bytes
- Encoded byte array comprising the BoundarySeriesKlvParseException
- if the byte array could not be parsed.public BoundarySeries(byte[] bytes, EncodingMode encodingMode) throws KlvParseException
ST0903 changed the encoding for the Location to 2-byte IMAPB (4-byte IMAPB for Latitude /
Longitude) in ST0903.4. Earlier versions used a set of unsigned integer encoding that was
then mapped into the same ranges that the IMAPB encoding uses. Which formatting applies can
only be determined from the ST0903 version in the parent VmtiLocalSet
. The compatibilityMode
parameter determines
whether to parse using the legacy encoding or current encoding.
Note that this only affects parsing. Output encoding is IMAPB (ST0903.4 or later).
bytes
- Encoded byte array comprising the BoundarySeriesencodingMode
- which encoding mode the bytes
parameter uses.KlvParseException
- if the byte array could not be parsed.public byte[] getBytes()
IVmtiMetadataValue
getBytes
in interface IVmtiMetadataValue
getBytes
in interface IVTrackMetadataValue
public String getDisplayableValue()
IKlvValue
getDisplayableValue
in interface IKlvValue
public String getDisplayName()
IKlvValue
getDisplayName
in interface IKlvValue
public List<LocationPack> getLocations()
Copyright © 2022 West Ridge Systems. All rights reserved.