Package org.codice.alliance.libs.klv
package org.codice.alliance.libs.klv
-
ClassDescriptionAll classes with this klv library should use these constants for metacard attribute names, even for names already defined in Metacard so that all attribute names used by the library are in a central location.This implementation provides an empty body for each visit method, since most implementations only need to define a limited number of visit methods.Convert the subpolygons in a geometry to envelopes.For each handler, call its asAttribute() method and add the result to the metacard.Reduces a list of attribute values returned by the KLV handlers to a list of distinct values and adds those values to the metacard.Reduces a list of attribute values returned by the KLV handlers to a list of distinct values, select one of those values (for metacard attributes that only support single values) and add those values to the metacard.Uses
Stanag4609TransportStreamParser.FRAME_CENTER_LATITUDEandStanag4609TransportStreamParser.FRAME_CENTER_LONGITUDEto generate a WKT LINESTRING and store it in the metacard attributeAttributeNameConstants.FRAME_CENTER.This handler expects four latitude-longitude pairs.Some GeometryOperator implementations may need additional configuration values.The KlvHandler receives STANAG 4609 data with theKlvHandler.accept(KlvDataElement)method and generates an optionalAttributewith theKlvHandler.asAttribute()method.A KlvProcessor is used to extract data from KlvHandlers and insert that data into a metacard.This handler expects pairs of latitude and longitude values.This is meant for subsample LINESTRING geometries.ThisKlvProcessordelegates to each KlvProcessor in a list of processors.Generate the location metadata based on the klv corner data.Map distinct values fromStanag4609TransportStreamParser.MISSION_IDtoAttributeNameConstants.MISSION_ID.If the geometry is empty, then returnnull.Use frame center and offset corner data to calculate the corner data.The PostProcessor is called after each klv metadata packet is processed.Classification mapping defined by http://www.gwg.nga.mil/misb//docs/standards/ST0102.7.pdfSet the "temporal.start", "temporal.end" and "created" metacard attributes based on the klv metadata timestamp entries.The methodGeometryOperator.Context.getDistanceTolerance()should return a non-null value if the simplification should include a distance tolerance.This class searches for the KlvHandler that corresponds to a stanag field name.Handle the various KLV data elements/structures that returned by the STANAG 4609 parser.This factory returns aStanag4609Parserthat usesStanag4609TransportStreamParser.Represents objects that are trimmable.Trim all of theTrimmablehandlers.Union the values of multiple stanag fields into a single metacard attribute.