Package com.mongodb.client.model.geojson
Class NamedCoordinateReferenceSystem
- java.lang.Object
-
- com.mongodb.client.model.geojson.CoordinateReferenceSystem
-
- com.mongodb.client.model.geojson.NamedCoordinateReferenceSystem
-
@Immutable public final class NamedCoordinateReferenceSystem extends CoordinateReferenceSystem
A GeoJSON named Coordinate Reference System.- Since:
- 3.1
-
-
Field Summary
Fields Modifier and Type Field Description static NamedCoordinateReferenceSystemCRS_84The urn:ogc:def:crs:OGC:1.3:CRS84 Coordinate Reference Systemstatic NamedCoordinateReferenceSystemEPSG_4326The EPSG:4326 Coordinate Reference System.static NamedCoordinateReferenceSystemEPSG_4326_STRICT_WINDINGA custom MongoDB EPSG:4326 Coordinate Reference System that uses a strict counter-clockwise winding order.
-
Constructor Summary
Constructors Constructor Description NamedCoordinateReferenceSystem(java.lang.String name)Construct an instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetName()Gets the name of this Coordinate Reference System.CoordinateReferenceSystemTypegetType()Gets the type of this Coordinate Reference System.inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
EPSG_4326
public static final NamedCoordinateReferenceSystem EPSG_4326
The EPSG:4326 Coordinate Reference System.
-
CRS_84
public static final NamedCoordinateReferenceSystem CRS_84
The urn:ogc:def:crs:OGC:1.3:CRS84 Coordinate Reference System
-
EPSG_4326_STRICT_WINDING
public static final NamedCoordinateReferenceSystem EPSG_4326_STRICT_WINDING
A custom MongoDB EPSG:4326 Coordinate Reference System that uses a strict counter-clockwise winding order.- MongoDB documentation
- Strict Winding
-
-
Method Detail
-
getType
public CoordinateReferenceSystemType getType()
Description copied from class:CoordinateReferenceSystemGets the type of this Coordinate Reference System.- Specified by:
getTypein classCoordinateReferenceSystem- Returns:
- the type
-
getName
public java.lang.String getName()
Gets the name of this Coordinate Reference System.- Returns:
- the name
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-