Package org.apache.sis.internal.util
Class Constants
java.lang.Object
org.apache.sis.util.Static
org.apache.sis.internal.util.Constants
Hard coded values (typically identifiers).
The set of constants defined in this class may change in any SIS version - do not rely on them.
When to use
Those constants should be used mostly for names, aliases or identifiers. They should generally not be used for abbreviations for instance, even if the abbreviation result in the same string. Those constants do not need to be used systematically in tests neither, especially when the test creates itself the instance to be tested.- Since:
- 0.5
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The OGC name for "Affine parametric transformation".static final String
The OGC parameter name for the central meridian.static final String
The "CRS" code space.static final byte
TheCRS:1
identifier for a coordinate reference system.static final byte
TheCRS:27
identifier for a coordinate reference system.static final byte
TheCRS:83
identifier for a coordinate reference system.static final byte
TheCRS:84
identifier for a coordinate reference system.static final byte
TheCRS:88
identifier for a coordinate reference system.static final byte
The default indentation value to use in various text formats (both WKT and XML).static final char
The default separator, which is':'
.static final String
Name of a SIS-specific parameter for setting the number of dimensions of a coordinate operation.static final String
The netCDF parameter name for the Earth radius.static final String
The "EPSG" code space.static final short
EPSG code of theA0
coefficient used in affine (general parametric) and polynomial transformations.static final short
EPSG code of "WGS 84 / Antarctic Polar Stereographic" projection.static final short
EPSG code of "WGS 84 / Arctic Polar Stereographic" projection.static final short
The EPSG code for degrees when used in axes.static final short
EPSG code of theB0
coefficient used in affine (general parametric) and polynomial transformations.static final short
The EPSG code for the Greenwich prime meridian.static final short
The EPSG code for metres.static final short
The EPSG code for degrees when used in parameters.static final String
The OGC parameter name for the false easting or northing.static final String
The OGC parameter name for the false easting or northing.static final String
The "GeoTIFF" code space.static final String
The "http:" protocol.static final String
The netCDF parameter name for inverse flattening, and whether that parameter is definitive.static final String
The "IOGP" authority, which is the maintainer of theEPSG
database.static final String
The netCDF parameter name for inverse flattening, and whether that parameter is definitive.static final String
The OGC parameter name for the latitude of origin.static final String
Name of the "num_col" matrix parameters.static final String
Name of the "num_row" matrix parameters.static final String
The "OGC" authority and code space.static final String
The "Proj4" code space.static final String
The OGC parameter name for the scale factor.static final String
Name of the "semi_major" projection parameter, which is handled specially during WKT formatting.static final String
Name of the "semi_minor" projection parameter, which is handled specially during WKT formatting.static final String
The "SIS" code space.static final String
The netCDF parameter name for the standard parallels.static final String
The OGC parameter name for the standard parallels.static final String
The OGC parameter name for the standard parallels. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT_SEPARATOR
public static final char DEFAULT_SEPARATORThe default separator, which is':'
. The separator is inserted between the code space and the code in identifiers. -
DEFAULT_INDENTATION
public static final byte DEFAULT_INDENTATIONThe default indentation value to use in various text formats (both WKT and XML). We use a small value (2 instead of 4) because OGC's XML are very verbose.- See Also:
-
HTTP
The "http:" protocol. Used in XML namespaces.- See Also:
-
GEOTIFF
The "GeoTIFF" code space.- See Also:
-
EPSG
The "EPSG" code space.- See Also:
-
IOGP
The "IOGP" authority, which is the maintainer of theEPSG
database. Used as the EPSG authority, while EPSG is used as the code space.- See Also:
-
OGC
The "OGC" authority and code space.- See Also:
-
SIS
The "SIS" code space.- See Also:
-
PROJ4
The "Proj4" code space. The project name is"Proj.4"
, but this constant omits the dot because this name is used as a code space and we want to avoid risk of confusion. We use "Proj4" instead of "PROJ" for historical reasons, because we use this identifier for parameters defined by old PROJ versions, before PROJ 6 introduced full support of EPSG names.- See Also:
-
CRS
The "CRS" code space.- See Also:
-
CRS27
public static final byte CRS27TheCRS:27
identifier for a coordinate reference system.- See Also:
-
CRS83
public static final byte CRS83TheCRS:83
identifier for a coordinate reference system.- See Also:
-
CRS84
public static final byte CRS84TheCRS:84
identifier for a coordinate reference system.- See Also:
-
CRS88
public static final byte CRS88TheCRS:88
identifier for a coordinate reference system.- See Also:
-
CRS1
public static final byte CRS1TheCRS:1
identifier for a coordinate reference system.- See Also:
-
DIM
Name of a SIS-specific parameter for setting the number of dimensions of a coordinate operation. This constant should be used only in the context of coordinate operations, not in other contexts (e.g. not for the netCDF attribute of the same name).- See Also:
-
EARTH_RADIUS
The netCDF parameter name for the Earth radius.- See Also:
-
SEMI_MAJOR
Name of the "semi_major" projection parameter, which is handled specially during WKT formatting.- See Also:
-
SEMI_MINOR
Name of the "semi_minor" projection parameter, which is handled specially during WKT formatting.- See Also:
-
INVERSE_FLATTENING
The netCDF parameter name for inverse flattening, and whether that parameter is definitive. The latter is specific to SIS.- See Also:
-
IS_IVF_DEFINITIVE
The netCDF parameter name for inverse flattening, and whether that parameter is definitive. The latter is specific to SIS.- See Also:
-
CENTRAL_MERIDIAN
The OGC parameter name for the central meridian.- See Also:
-
LATITUDE_OF_ORIGIN
The OGC parameter name for the latitude of origin.- See Also:
-
STANDARD_PARALLEL
The netCDF parameter name for the standard parallels.- See Also:
-
STANDARD_PARALLEL_1
The OGC parameter name for the standard parallels.- See Also:
-
STANDARD_PARALLEL_2
The OGC parameter name for the standard parallels.- See Also:
-
SCALE_FACTOR
The OGC parameter name for the scale factor. While Apache SIS uses EPSG names when possible, the OGC names are convenient in this case because they do not depend on the projection. For example, EPSG has at least three different names for the scale factor, depending on the projection:- Scale factor at natural origin
- Scale factor on initial line
- Scale factor on pseudo standard parallel
- See Also:
-
FALSE_EASTING
The OGC parameter name for the false easting or northing. While Apache SIS uses EPSG names when possible, the OGC names are convenient in this case because they do not depend on the projection. For example, EPSG has at least two different names for false northing, depending on the projection:- Northing at false origin
- Northing at projection centre
- See Also:
-
FALSE_NORTHING
The OGC parameter name for the false easting or northing. While Apache SIS uses EPSG names when possible, the OGC names are convenient in this case because they do not depend on the projection. For example, EPSG has at least two different names for false northing, depending on the projection:- Northing at false origin
- Northing at projection centre
- See Also:
-
NUM_ROW
Name of the "num_row" matrix parameters.- See Also:
-
NUM_COL
Name of the "num_col" matrix parameters.- See Also:
-
AFFINE
The OGC name for "Affine parametric transformation".- See Also:
-
EPSG_A0
public static final short EPSG_A0EPSG code of theA0
coefficient used in affine (general parametric) and polynomial transformations. Codes for parametersA1
toA8
inclusive follow, but the affine coefficients stop atA2
.- See Also:
-
EPSG_B0
public static final short EPSG_B0EPSG code of theB0
coefficient used in affine (general parametric) and polynomial transformations. Codes for parametersB1
toB3
inclusive follow, but the affine coefficients stop atB2
.- See Also:
-
EPSG_METRE
public static final short EPSG_METREThe EPSG code for metres.- See Also:
-
EPSG_PARAM_DEGREES
public static final short EPSG_PARAM_DEGREESThe EPSG code for degrees when used in parameters.- See Also:
-
EPSG_AXIS_DEGREES
public static final short EPSG_AXIS_DEGREESThe EPSG code for degrees when used in axes.- See Also:
-
EPSG_GREENWICH
public static final short EPSG_GREENWICHThe EPSG code for the Greenwich prime meridian.- See Also:
-
EPSG_ARCTIC_POLAR_STEREOGRAPHIC
public static final short EPSG_ARCTIC_POLAR_STEREOGRAPHICEPSG code of "WGS 84 / Arctic Polar Stereographic" projection. Latitude of standard parallel is 71°N. All other parameters are zero.- See Also:
-
EPSG_ANTARCTIC_POLAR_STEREOGRAPHIC
public static final short EPSG_ANTARCTIC_POLAR_STEREOGRAPHICEPSG code of "WGS 84 / Antarctic Polar Stereographic" projection. Latitude of standard parallel is 71°S. All other parameters are zero.- See Also:
-
-
Constructor Details
-
Constants
private Constants()Do not allow instantiation of this class.
-