Class DefaultTemporalCRS

    • Constructor Detail

      • DefaultTemporalCRS

        public DefaultTemporalCRS​(TemporalCRS crs)
        Constructs a new temporal CRS with the same values than the specified one. This copy constructor provides a way to wrap an arbitrary implementation into a Geotools one or a user-defined one (as a subclass), usually in order to leverage some implementation-specific API. This constructor performs a shallow copy, i.e. the properties are not cloned.
        Parameters:
        crs - The coordinate reference system to copy.
        Since:
        2.2
        See Also:
        wrap(org.geotools.api.referencing.crs.TemporalCRS)
      • DefaultTemporalCRS

        public DefaultTemporalCRS​(TemporalDatum datum,
                                  TimeCS cs)
        Constructs a temporal CRS with the same properties than the given datum. The inherited properties include the name and aliases.
        Parameters:
        datum - The datum.
        cs - The coordinate system.
        Since:
        2.5
      • DefaultTemporalCRS

        public DefaultTemporalCRS​(String name,
                                  TemporalDatum datum,
                                  TimeCS cs)
        Constructs a temporal CRS from a name.
        Parameters:
        name - The name.
        datum - The datum.
        cs - The coordinate system.
      • DefaultTemporalCRS

        public DefaultTemporalCRS​(Map<String,​?> properties,
                                  TemporalDatum datum,
                                  TimeCS cs)
        Constructs a temporal CRS from a set of properties. The properties are given unchanged to the super-class constructor.
        Parameters:
        properties - Set of properties. Should contains at least "name".
        cs - The coordinate system.
        datum - The datum.