Examples of GridFormatFactorySpi


Examples of org.geotools.coverage.grid.io.GridFormatFactorySpi

  @Test
  public void isAvailable() {
    final Iterator<GridFormatFactorySpi> list = GridFormatFinder.getAvailableFormats().iterator();
    boolean found = false;
    while (list.hasNext()) {
      final GridFormatFactorySpi fac = (GridFormatFactorySpi) list.next();

      if (fac instanceof ImageMosaicFormatFactory) {
        found = true;

        break;
View Full Code Here

Examples of org.geotools.coverage.grid.io.GridFormatFactorySpi

        GridFormatFinder.scanForPlugins();

        Iterator list = GridFormatFinder.getAvailableFormats().iterator();
        boolean found = false;
        GridFormatFactorySpi fac = null;

        while (list.hasNext()) {
            fac = (GridFormatFactorySpi) list.next();

            if (fac instanceof ECWFormatFactory) {
                found = true;

                break;
            }
        }

        Assert.assertTrue("ECWFormatFactory not registered", found);
        Assert.assertTrue("ECWFormatFactory not available", fac.isAvailable());
        Assert.assertNotNull(new ECWFormatFactory().createFormat());
   
View Full Code Here

Examples of org.geotools.coverage.grid.io.GridFormatFactorySpi

        GridFormatFinder.scanForPlugins();

        Iterator list = GridFormatFinder.getAvailableFormats().iterator();
        boolean found = false;
        GridFormatFactorySpi fac = null;

        while (list.hasNext()) {
            fac = (GridFormatFactorySpi) list.next();

            if (fac instanceof EnviHdrFormatFactory) {
                found = true;

                break;
            }
        }

        Assert.assertTrue("EnviHdrFormatFactory not registered", found);
        Assert.assertTrue("EnviHdrFormatFactory not available", fac.isAvailable());
        Assert.assertNotNull(new EnviHdrFormatFactory().createFormat());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.