public enum NetCDFCoordinateReferenceSystemType extends Enum<NetCDFCoordinateReferenceSystemType>
Unsupported projections will be specified through the spatial_ref and GeoTransform global attributes defined by GDAL.
Modifier and Type | Class and Description |
---|---|
static class |
NetCDFCoordinateReferenceSystemType.NetCDFCoordinate
Contains basic information related to a NetCDF Coordinate such as: - short name (as an
instance: x) - long name (as an instance: x coordinate of projection) - standard name (as an
instance: projection_x_coordinate) - the name of the associated dimension (as an instance: x)
- the unit of measure of that coordinate (as an instance: m)
|
Enum Constant and Description |
---|
ALBERS_EQUAL_AREA |
LAMBERT_AZIMUTHAL_EQUAL_AREA |
LAMBERT_CONFORMAL_CONIC_1SP |
LAMBERT_CONFORMAL_CONIC_2SP |
MERCATOR_1SP |
MERCATOR_2SP |
ORTHOGRAPHIC |
POLAR_STEREOGRAPHIC |
ROTATED_POLE |
SPATIAL_REF |
STEREOGRAPHIC |
TRANSVERSE_MERCATOR |
WGS84 |
Modifier and Type | Method and Description |
---|---|
NetCDFCoordinateReferenceSystemType.NetCDFCoordinate[] |
getCoordinates()
Return the set of
NetCDFCoordinateReferenceSystemType.NetCDFCoordinate s for this NetCDF CRS type. |
abstract NetCDFProjection |
getNetCDFProjection()
Return a
NetCDFProjection instance for this specific CRS type. |
static NetCDFCoordinateReferenceSystemType |
parseCRS(CoordinateReferenceSystem crs)
Return a proper
NetCDFCoordinateReferenceSystemType depending on the input OGC CoordinateReferenceSystem instance. |
static NetCDFCoordinateReferenceSystemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetCDFCoordinateReferenceSystemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetCDFCoordinateReferenceSystemType WGS84
public static final NetCDFCoordinateReferenceSystemType SPATIAL_REF
public static final NetCDFCoordinateReferenceSystemType ALBERS_EQUAL_AREA
public static final NetCDFCoordinateReferenceSystemType LAMBERT_AZIMUTHAL_EQUAL_AREA
public static final NetCDFCoordinateReferenceSystemType LAMBERT_CONFORMAL_CONIC_1SP
public static final NetCDFCoordinateReferenceSystemType LAMBERT_CONFORMAL_CONIC_2SP
public static final NetCDFCoordinateReferenceSystemType MERCATOR_1SP
public static final NetCDFCoordinateReferenceSystemType MERCATOR_2SP
public static final NetCDFCoordinateReferenceSystemType TRANSVERSE_MERCATOR
public static final NetCDFCoordinateReferenceSystemType ORTHOGRAPHIC
public static final NetCDFCoordinateReferenceSystemType POLAR_STEREOGRAPHIC
public static final NetCDFCoordinateReferenceSystemType STEREOGRAPHIC
public static final NetCDFCoordinateReferenceSystemType ROTATED_POLE
public static NetCDFCoordinateReferenceSystemType[] values()
for (NetCDFCoordinateReferenceSystemType c : NetCDFCoordinateReferenceSystemType.values()) System.out.println(c);
public static NetCDFCoordinateReferenceSystemType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static NetCDFCoordinateReferenceSystemType parseCRS(CoordinateReferenceSystem crs)
NetCDFCoordinateReferenceSystemType
depending on the input OGC CoordinateReferenceSystem
instance.crs
- public NetCDFCoordinateReferenceSystemType.NetCDFCoordinate[] getCoordinates()
NetCDFCoordinateReferenceSystemType.NetCDFCoordinate
s for this NetCDF CRS type. As an instance, WGS84
type uses Latitude,Longitude while Mercator uses GeoY,GeoX. Default implementation returns
NetCDFCoordinateReferenceSystemType.NetCDFCoordinate.YX_COORDS
since most part of the CRS Type are projected.public abstract NetCDFProjection getNetCDFProjection()
NetCDFProjection
instance for this specific CRS type. Note that WGS84 CRS
and SPATIAL_REF won't return a NetCDF CF projection.Copyright © 1996–2019 Geotools. All rights reserved.