org.opengis.referencing.ReferenceSystem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gt-opengis Show documentation
Show all versions of gt-opengis Show documentation
Standard interfaces implemented throughout the library.
The newest version!
/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2011, Open Source Geospatial Foundation (OSGeo)
* (C) 2003-2005, Open Geospatial Consortium Inc.
*
* All Rights Reserved. http://www.opengis.org/legal/
*/
package org.opengis.referencing;
import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;
import org.opengis.annotation.UML;
import org.opengis.metadata.extent.Extent;
import org.opengis.util.InternationalString;
/**
* Description of a spatial and temporal reference system used by a dataset.
*
* @departure This interface was initially derived from an ISO 19111 specification published in
* 2003. Later revisions (in 2005) rely on an interface defined in ISO 19115 instead. The
* annotations were updated accordingly, but this interface is still defined in the referencing
* package instead of metadata and the {@link #getScope()} method still defined here for this
* historical reason.
* @version Abstract
* specification 2.0
* @author Martin Desruisseaux (IRD)
* @since GeoAPI 1.0
* @see org.opengis.referencing.crs.CoordinateReferenceSystem
*/
@UML(identifier = "RS_ReferenceSystem", specification = ISO_19115)
public interface ReferenceSystem extends IdentifiedObject {
/**
* Key for the {@value}
property to be given to the {@linkplain ObjectFactory
* object factory} createFoo(…)
methods. This is used for setting the value
* to be returned by {@link #getDomainOfValidity}.
*
* @see #getDomainOfValidity
* @since GeoAPI 2.1
*/
String DOMAIN_OF_VALIDITY_KEY = "domainOfValidity";
/**
* Key for the {@value}
property to be given to the {@linkplain ObjectFactory
* object factory} createFoo(…)
methods. This is used for setting the value
* to be returned by {@link #getScope}.
*
* @see #getScope
*/
String SCOPE_KEY = "scope";
/**
* Area or region or timeframe in which this (coordinate) reference system is valid.
*
* @return The reference system valid domain, or {@code null} if not available.
* @since GeoAPI 2.1
*/
@UML(identifier = "domainOfValidity", obligation = OPTIONAL, specification = ISO_19111)
Extent getDomainOfValidity();
/**
* Description of domain of usage, or limitations of usage, for which this (coordinate)
* reference system object is valid.
*
* @return The domain of usage, or {@code null} if none.
*/
@UML(identifier = "SC_CRS.scope", obligation = OPTIONAL, specification = ISO_19111)
InternationalString getScope();
}