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 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.
-
Constructor Summary
Constructors Constructor Description NamedCoordinateReferenceSystem(String name)
Construct an instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
Gets the name of this Coordinate Reference System.CoordinateReferenceSystemType
getType()
Gets the type of this Coordinate Reference System.int
hashCode()
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.- 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:CoordinateReferenceSystem
Gets the type of this Coordinate Reference System.- Specified by:
getType
in classCoordinateReferenceSystem
- Returns:
- the type
-
getName
public String getName()
Gets the name of this Coordinate Reference System.- Returns:
- the name
-
-