Package org.codice.alliance.libs.klv
Class LocationKlvProcessor
java.lang.Object
org.codice.alliance.libs.klv.LocationKlvProcessor
- All Implemented Interfaces:
KlvProcessor
Generate the location metadata based on the klv corner data. Callers must supply a
KlvProcessor.Configuration that contains a postive (>0) Integer for KlvProcessor.Configuration.SUBSAMPLE_COUNT.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.codice.alliance.libs.klv.KlvProcessor
KlvProcessor.Configuration, KlvProcessor.Visitor -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLocationKlvProcessor(GeometryOperator preUnionGeometryOperator, GeometryOperator postUnionGeometryOperator) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(KlvProcessor.Visitor visitor) voidprocess(Map<String, KlvHandler> handlers, ddf.catalog.data.Metacard metacard, KlvProcessor.Configuration configuration)
-
Field Details
-
MIN_SUBSAMPLE_COUNT
-
-
Constructor Details
-
LocationKlvProcessor
public LocationKlvProcessor() -
LocationKlvProcessor
public LocationKlvProcessor(GeometryOperator preUnionGeometryOperator, GeometryOperator postUnionGeometryOperator) - Parameters:
preUnionGeometryOperator- transform the final Geometry object (must be non-null)postUnionGeometryOperator- transform the final Geometry object (must be non-null)
-
-
Method Details
-
getGeometryFunction
-
process
public void process(Map<String, KlvHandler> handlers, ddf.catalog.data.Metacard metacard, KlvProcessor.Configuration configuration) - Specified by:
processin interfaceKlvProcessor
-
accept
- Specified by:
acceptin interfaceKlvProcessor
-