Tabnine Logo
CRS.getTemporalCRS
Code IndexAdd Tabnine to your IDE (free)

How to use
getTemporalCRS
method
in
org.geotools.referencing.CRS

Best Java code snippets using org.geotools.referencing.CRS.getTemporalCRS (Showing top 2 results out of 315)

origin: geotools/geotools

/**
 * Returns the first temporal coordinate reference system found in the given CRS, or {@code
 * null} if there is none.
 *
 * @param crs The coordinate reference system, or {@code null}.
 * @return The temporal CRS, or {@code null} if none.
 * @since 2.4
 */
public static TemporalCRS getTemporalCRS(final CoordinateReferenceSystem crs) {
  if (crs instanceof TemporalCRS) {
    return (TemporalCRS) crs;
  }
  if (crs instanceof CompoundCRS) {
    final CompoundCRS cp = (CompoundCRS) crs;
    for (final CoordinateReferenceSystem c : cp.getCoordinateReferenceSystems()) {
      final TemporalCRS candidate = getTemporalCRS(c);
      if (candidate != null) {
        return candidate;
      }
    }
  }
  return null;
}
origin: org.geotools/gt2-coverage

} else {
  this.coverage = coverage;
  temporalCRS = DefaultTemporalCRS.wrap(CRS.getTemporalCRS(crs));
  if (temporalCRS == null) {
    throw new IllegalArgumentException(
org.geotools.referencingCRSgetTemporalCRS

Javadoc

Returns the first temporal coordinate reference system found in the given CRS, or null if there is none.

Popular methods of CRS

  • decode
  • findMathTransform
  • equalsIgnoreMetadata
  • parseWKT
  • lookupEpsgCode
  • transform
    Implementation of #transform(MathTransform,Envelope) with the opportunity to save the projected cent
  • getAxisOrder
  • lookupIdentifier
  • toSRS
  • getHorizontalCRS
  • getEnvelope
  • getCoordinateOperationFactory
  • getEnvelope,
  • getCoordinateOperationFactory,
  • getAuthorityFactory,
  • getMapProjection,
  • getSupportedCodes,
  • getGeographicBoundingBox,
  • reset,
  • getEllipsoid,
  • getProjectedCRS

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • String (java.lang)
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now