Class AbstractGeoJsonCrs

java.lang.Object
org.bremersee.geojson.crs.AbstractGeoJsonCrs
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GeoJsonLinkedCrs, GeoJsonNamedCrs

public class AbstractGeoJsonCrs extends Object implements Serializable
Abstract base class for the coordinate reference system (CRS) of a GeoJSON object.

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:
  • Constructor Details

    • AbstractGeoJsonCrs

      public AbstractGeoJsonCrs()
      Instantiates a new Abstract geo json crs.
  • Method Details

    • getProperties

      protected final Map<String,Object> getProperties()
      Properties that store information about the coordinate reference system (CRS).
      Returns:
      the properties that store information about the coordinate reference system (CRS)
    • setProperties

      protected final void setProperties(Map<String,Object> properties)
      Set the properties that store information about the coordinate reference system (CRS).
      Parameters:
      properties - the properties that store information about the coordinate reference system
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object