/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2008, Open Source Geospatial Foundation (OSGeo) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotools.coverage.io.range; import java.util.Set; import javax.measure.quantity.Quantity; import org.opengis.coverage.SampleDimension; import org.opengis.feature.type.Name; import org.opengis.util.InternationalString; /** * A {@link net.opengis.wcs11.FieldType} describes a * measure/observation/forecast of a certain quantity. A {@link FieldType} may * be a scalar (numeric or text) value, such as population density, or a vector * of many similar values, such as incomes by race, or radiance by wavelength. * * <p> * A {@link FieldType} has an associated quantity from the JScience project * since the goal of a {@link FieldType} is to describe a {@link Quantity}. * Note that I am referring to quantity in the broader term here. As an instance * a {@link FieldType} could describe the bands of a synthetic RGB image. Now, * there might not be a real physical quantity (like Temperature or Pressure) * associated to such a quantity, but still we want to be able to capture * somehow the concept of digital number as the represented quantity as well as * the concept of the bands index or textual representation for the bands. * * <p> * Note that in our proposal a {@link FieldType} shall always contain at least * one {@link Axis}. * * @author Simone Giannecchini, GeoSolutions * * * * * @source $URL$ */ public interface FieldType { /** * Get the {@link FieldType} {@link org.opengis.feature.type.Name} * * @return {@link org.opengis.feature.type.Name} of the {@link FieldType} */ public Name getName(); /** * Get the description of the {@link FieldType} * * @return description of the {@link FieldType} */ public InternationalString getDescription(); /** * List the SampleDimensions of the measure. * * @return Set of {@link SampleDimension} instances */ public Set<SampleDimension> getSampleDimensions(); }