Package org.geotools.coverage.grid.io

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


    }
    return null;
  }
 
  private static AbstractGridFormat getFormatForObject(URL id, File file) {
    final GridFormatFactorySpi spi=getFactoryForObject(id, file);
    return spi!=null?(AbstractGridFormat)spi.createFormat():null;
 
View Full Code Here


  public void testIsAvailable() {
    Iterator<GridFormatFactorySpi> 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

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

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

      if (fac instanceof ImageMosaicJDBCFormatFactory) {
        found = true;

        break;
View Full Code Here

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

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

      if (fac instanceof ImagePyramidFormatFactory) {
        found = true;

        break;
View Full Code Here

        GridFormatFinder.scanForPlugins();

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

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

            if (fac instanceof JP2KFormatFactory) {
                found = true;

                break;
            }
        }

        assertTrue("JP2KFormatFactory not registered", found);
        assertTrue("JP2KFormatFactory not available", fac.isAvailable());
        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 AIGFormatFactory) {
                found = true;

                break;
            }
        }

        Assert.assertTrue("IDRISIFormatFactory not registered", found);
        Assert.assertTrue("IDRISIFormatFactory not available", fac.isAvailable());
        Assert.assertNotNull(new AIGFormatFactory().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 EsriHdrFormatFactory) {
                found = true;

                break;
            }
        }

        Assert.assertTrue("EsriHdrFormatFactory not registered", found);
        Assert.assertTrue("EsriHdrFormatFactory not available", fac.isAvailable());
        Assert.assertNotNull(new EsriHdrFormatFactory().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 ErdasImgFormatFactory) {
                found = true;

                break;
            }
        }

        Assert.assertTrue("ErdasImgFormatFactory not registered", found);
        Assert.assertTrue("ErdasImgFormatFactory not available", fac.isAvailable());
        Assert.assertNotNull(new ErdasImgFormatFactory().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 NITFFormatFactory) {
        found = true;
 
        break;
      }
    }
 
    Assert.assertTrue("NITFFormatFactory not registered", found);
    Assert.assertTrue("NITFFormatFactory not available", fac.isAvailable());
    Assert.assertNotNull(new NITFFormatFactory().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 IDRISIFormatFactory) {
                found = true;

                break;
            }
        }

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