Class AbstractCRS

    • Field Detail

      • coordinateSystem

        protected final CoordinateSystem coordinateSystem
        The coordinate system.
    • Constructor Detail

      • AbstractCRS

        public AbstractCRS​(CoordinateReferenceSystem crs)
        Constructs a new coordinate reference system 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.
        crs - The coordinate reference system to copy.
      • AbstractCRS

        public AbstractCRS​(Map<String,​?> properties,
                           CoordinateSystem cs)
        Constructs a coordinate reference system from a set of properties. The properties are given unchanged to the super-class constructor.
        properties - Set of properties. Should contains at least "name".
        cs - The coordinate system.