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(String name)Construct an instance 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()Gets the name of this Coordinate Reference System.CoordinateReferenceSystemTypegetType()Gets the type of this Coordinate Reference System.inthashCode()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
 
 
 - 
 
- 
Constructor Detail
- 
NamedCoordinateReferenceSystem
public NamedCoordinateReferenceSystem(String name)
Construct an instance- Parameters:
 name- the name
 
 - 
 
- 
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 String getName()
Gets the name of this Coordinate Reference System.- Returns:
 - the name
 
 
 - 
 
 -