Enum Class NetCDFCoordinateReferenceSystemType
- All Implemented Interfaces:
Serializable,Comparable<NetCDFCoordinateReferenceSystemType>,Constable
Enum used to represent different coordinate reference systems stored within a NetCDF dataset. NetCDF CF supports
several types of projections through grid mapping.
Unsupported projections will be specified through the spatial_ref and GeoTransform global attributes defined by GDAL.
- Author:
- Daniele Romagnoli, GeoSolutions SAS
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classContains 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)Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturn the set ofNetCDFCoordinateReferenceSystemType.NetCDFCoordinates for this NetCDF CRS type.Return the set ofNetCDFCoordinateReferenceSystemType.NetCDFCoordinates for the current NetCDF CRS type, taking into account a reference crs.abstract NetCDFProjectionReturn aNetCDFProjectioninstance for this specific CRS type.Return a properNetCDFCoordinateReferenceSystemTypedepending on the input OGCCoordinateReferenceSysteminstance.Returns the enum constant of this class with the specified name.static NetCDFCoordinateReferenceSystemType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WGS84
-
SPATIAL_REF
-
ALBERS_EQUAL_AREA
-
LAMBERT_AZIMUTHAL_EQUAL_AREA
-
LAMBERT_CONFORMAL_CONIC_1SP
-
LAMBERT_CONFORMAL_CONIC_2SP
-
MERCATOR_1SP
-
MERCATOR_2SP
-
TRANSVERSE_MERCATOR
-
ORTHOGRAPHIC
-
POLAR_STEREOGRAPHIC
-
STEREOGRAPHIC
-
ROTATED_POLE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
parseCRS
Return a properNetCDFCoordinateReferenceSystemTypedepending on the input OGCCoordinateReferenceSysteminstance. -
getCoordinates
Return the set ofNetCDFCoordinateReferenceSystemType.NetCDFCoordinates for this NetCDF CRS type. As an instance, WGS84 type uses Latitude,Longitude while Mercator uses GeoY,GeoX. Default implementation returnsNetCDFCoordinateReferenceSystemType.NetCDFCoordinate.YX_COORDSsince most part of the CRS Type are projected. -
getNetCDFProjection
Return aNetCDFProjectioninstance for this specific CRS type. Note that WGS84 CRS and SPATIAL_REF won't return a NetCDF CF projection. -
getCoordinates
public NetCDFCoordinateReferenceSystemType.NetCDFCoordinate[] getCoordinates(CoordinateReferenceSystem crs) Return the set ofNetCDFCoordinateReferenceSystemType.NetCDFCoordinates for the current NetCDF CRS type, taking into account a reference crs.
-