Package org.geotools.coverage.grid.io

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 JP2MrSIDFormatFactory) {
              found = true;
              break;
          }
      }
 
      Assert.assertTrue("JP2MrSIDFormatFactory not registered", found);
      Assert.assertTrue("JP2MrSIDFormatFactory not available", fac.isAvailable());
      Assert.assertNotNull(new JP2MrSIDFormatFactory().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 JP2KFormatFactory) {
              found = true;
 
              break;
          }
      }
 
      Assert.assertTrue("JP2KFormatFactory not registered", found);
      Assert.assertTrue("JP2KFormatFactory not available", fac.isAvailable());
      Assert.assertNotNull(new JP2KFormatFactory().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 MrSIDFormatFactory) {
              found = true;
 
              break;
          }
      }
 
      Assert.assertTrue("MrSIDFormatFactory not registered", found);
      Assert.assertTrue("MrSIDFormatFactory not available", fac.isAvailable());
      Assert.assertNotNull(new MrSIDFormatFactory().createFormat());
  }
View Full Code Here

        GridFormatFinder.scanForPlugins();

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

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

            if (fac instanceof DTEDFormatFactory) {
                found = true;

                break;
            }
        }

        Assert.assertTrue("DTEDFormatFactory not registered", found);
        Assert.assertTrue("DTEDFormatFactory not available", fac.isAvailable());
        Assert.assertNotNull(new DTEDFormatFactory().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 RPFTOCFormatFactory) {
        found = true;
 
        break;
      }
    }
 
    Assert.assertTrue("RPFTOCFormatFactory not registered", found);
    Assert.assertTrue("RPFTOCFormatFactory not available", fac.isAvailable());
    Assert.assertNotNull(new RPFTOCFormatFactory().createFormat());
  }
View Full Code Here

  public void testIsAvailable() {
    Iterator list = GridFormatFinder.getAvailableFormats().iterator();
    boolean found = false;

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

      if (fac instanceof GeoTiffFormatFactorySpi) {
        found = true;

        break;
View Full Code Here

    }

    public void testIsAvailable() {
        Iterator list = GridFormatFinder.getAvailableFormats().iterator();
        boolean found = false;
        GridFormatFactorySpi fac;
        while (list.hasNext()) {
            fac = (GridFormatFactorySpi) list.next();

            if (fac instanceof GTopo30FormatFactory) {
                found = true;
View Full Code Here

  }

  public void testIsAvailable() {
    Iterator list = GridFormatFinder.getAvailableFormats().iterator();
    boolean found = false;
    GridFormatFactorySpi fac;
    while (list.hasNext()) {
      fac = (GridFormatFactorySpi) list.next();

      if (fac instanceof WorldImageFormatFactory) {
        found = true;
View Full Code Here

  public void testIsAvailable() throws NoSuchAuthorityCodeException,
      FactoryException {
    GridFormatFinder.scanForPlugins();
    Iterator<GridFormatFactorySpi> list = GridFormatFinder.getAvailableFormats().iterator();
    boolean found = false;
    GridFormatFactorySpi fac = null;
    while (list.hasNext()) {
      fac = (GridFormatFactorySpi) list.next();

      if (fac instanceof ArcGridFormatFactory) {
        found = true;

        break;
      }
    }

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

        GridFormatFinder.scanForPlugins();

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

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

            if (fac instanceof MatFile5FormatFactory) {
                found = true;

                break;
            }
        }

        assertTrue("MatFile5FormatFactory not registered", found);
        assertTrue("MatFile5FormatFactory not available", fac.isAvailable());
        assertNotNull(new MatFile5FormatFactory().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.