Package org.geotools.coverage.grid.io

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


        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

        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

Related Classes of org.geotools.coverage.grid.io.GridFormatFactorySpi

Copyright © 2018 www.massapicom. 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.