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 NamedCoordinateReferenceSystem
CRS_84
The urn:ogc:def:crs:OGC:1.3:CRS84 Coordinate Reference Systemstatic NamedCoordinateReferenceSystem
EPSG_4326
The EPSG:4326 Coordinate Reference System.static NamedCoordinateReferenceSystem
EPSG_4326_STRICT_WINDING
A 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.CoordinateReferenceSystem
convert()
Converts this type to the driver typeboolean
equals(java.lang.Object o)
java.lang.String
getName()
Gets the name of this Coordinate Reference System.CoordinateReferenceSystemType
getType()
Gets the type of this Coordinate Reference System.int
hashCode()
java.lang.String
toString()
-
-
-
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:CoordinateReferenceSystem
Gets the type of this Coordinate Reference System.- Specified by:
getType
in classCoordinateReferenceSystem
- Returns:
- the type
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
convert
public com.mongodb.client.model.geojson.CoordinateReferenceSystem convert()
Description copied from class:CoordinateReferenceSystem
Converts this type to the driver type- Specified by:
convert
in classCoordinateReferenceSystem
- Returns:
- the driver type
-
-