Search in sources :

Example 1 with TreUtilityTest

use of org.codice.alliance.transformer.nitf.TreUtilityTest in project alliance by codice.

the class NitfGmtiTransformerTest method setUp.

@Before
public void setUp() {
    this.metacardFactory = new MetacardFactory();
    metacardFactory.setMetacardType(new MetacardTypeImpl(GMTI_METACARD, metacardTypeList));
    this.nitfHeaderTransformer = new NitfHeaderTransformer();
    this.nitfGmtiTransformer = new NitfGmtiTransformer();
    this.nitfGmtiTransformer.setGeometryFactory(new GeometryFactory());
    TreUtilityTest.createFileIfNecessary(GMTI_TEST_NITF, TreUtilityTest::createNitfNoImageTres);
    NitfTestCommons.setupNitfUtilities("US", Collections.singletonList("USA"));
}
Also used : MetacardFactory(org.codice.alliance.transformer.nitf.MetacardFactory) GeometryFactory(com.vividsolutions.jts.geom.GeometryFactory) MetacardTypeImpl(ddf.catalog.data.impl.MetacardTypeImpl) TreUtilityTest(org.codice.alliance.transformer.nitf.TreUtilityTest) NitfHeaderTransformer(org.codice.alliance.transformer.nitf.common.NitfHeaderTransformer) Before(org.junit.Before)

Aggregations

GeometryFactory (com.vividsolutions.jts.geom.GeometryFactory)1 MetacardTypeImpl (ddf.catalog.data.impl.MetacardTypeImpl)1 MetacardFactory (org.codice.alliance.transformer.nitf.MetacardFactory)1 TreUtilityTest (org.codice.alliance.transformer.nitf.TreUtilityTest)1 NitfHeaderTransformer (org.codice.alliance.transformer.nitf.common.NitfHeaderTransformer)1 Before (org.junit.Before)1