Package dev.morphia.geo
Class NamedCoordinateReferenceSystem
- java.lang.Object
-
- dev.morphia.geo.CoordinateReferenceSystem
-
- dev.morphia.geo.NamedCoordinateReferenceSystem
-
public final class NamedCoordinateReferenceSystem extends CoordinateReferenceSystem
A GeoJSON named Coordinate Reference System.
-
-
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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.mongodb.client.model.geojson.CoordinateReferenceSystemconvert()Converts this type to the driver typebooleanequals(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.
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name of this Coordinate Reference System.- Returns:
- the name
-
getType
public CoordinateReferenceSystemType getType()
Description copied from class:CoordinateReferenceSystemGets the type of this Coordinate Reference System.- Specified by:
getTypein classCoordinateReferenceSystem- Returns:
- the type
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
convert
public com.mongodb.client.model.geojson.CoordinateReferenceSystem convert()
Description copied from class:CoordinateReferenceSystemConverts this type to the driver type- Specified by:
convertin classCoordinateReferenceSystem- Returns:
- the driver type
-
-