Package org.geotools.coverage.grid.io

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


            } else {
                nativeCoverageName = reader.getGridCoverageNames()[0];
            }
        }
       
        GranuleSource source = reader.getGranules(nativeCoverageName, true);
        SimpleFeatureType schema = source.getSchema();
        List<AttributeTypeInfo> attributes = new CatalogBuilder(catalog).getAttributes(schema, null);
       
        return new IndexSchema(attributes);
    }
View Full Code Here


    protected Object handleObjectGet() throws Exception {
        StructuredGridCoverage2DReader reader = (StructuredGridCoverage2DReader) coverage
                .getGridCoverageReader(null, null);
        String nativeCoverageName = getNativeCoverageName(reader);

        GranuleSource source = reader.getGranules(nativeCoverageName, true);
        Query q = getResourceQuery();
        return forceNonNullNamespace(source.getGranules(q));
    }
View Full Code Here

TOP

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

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.