Search in sources :

Example 1 with FeatureRenderProcessor2

use of org.polymap.core.data.feature.FeatureRenderProcessor2 in project polymap4-core by Polymap4.

the class ProcessorSignatureTest method testImageEncodeCompatibelFeatureRender.

@Test
public void testImageEncodeCompatibelFeatureRender() throws Exception {
    ImageEncodeProcessor proc1 = new ImageEncodeProcessor();
    FeatureRenderProcessor2 proc2 = new FeatureRenderProcessor2();
    ProcessorSignature sig1 = new ProcessorSignature(proc1.getClass());
    ProcessorSignature sig2 = new ProcessorSignature(proc2.getClass());
    // log.info( "ImageEncode:\n" + sig1 );
    // log.info( "FeatureRender:\n" + sig2 );
    assertTrue(sig1.isCompatible(sig2));
}
Also used : ImageEncodeProcessor(org.polymap.core.data.image.ImageEncodeProcessor) FeatureRenderProcessor2(org.polymap.core.data.feature.FeatureRenderProcessor2) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 FeatureRenderProcessor2 (org.polymap.core.data.feature.FeatureRenderProcessor2)1 ImageEncodeProcessor (org.polymap.core.data.image.ImageEncodeProcessor)1