Class GeoJsonNamedCrs

  • All Implemented Interfaces:
    Serializable

    public class GeoJsonNamedCrs
    extends AbstractGeoJsonCrs
    A reference to the coordinate reference system (CRS) of a GeoJSON object by it's name.

    The specification of coordinate reference systems has been removed, see rfc7946 appendix B, the "crs" member is no longer used.

    Author:
    Christian Bremer
    See Also:
    Serialized Form
    • Constructor Detail

      • GeoJsonNamedCrs

        public GeoJsonNamedCrs()
        Default constructor.
      • GeoJsonNamedCrs

        public GeoJsonNamedCrs​(String crsName)
        Constructs a coordinate reference system (CRS) with it's name.
        Parameters:
        crsName - the name of the coordinate reference system (CRS)
    • Method Detail

      • getCrs

        public String getCrs()
        Return the name of the coordinate reference system (CRS).
        Returns:
        the name of the coordinate reference system (CRS)
      • setCrs

        public void setCrs​(String crs)
        Set the name of the coordinate reference system (CRS).
        Parameters:
        crs - the name