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 StringThe OGC name for "Affine parametric transformation".static final StringThe OGC parameter name for the central meridian.static final StringThe "CRS" code space.static final byteTheCRS:1identifier for a coordinate reference system.static final byteTheCRS:27identifier for a coordinate reference system.static final byteTheCRS:83identifier for a coordinate reference system.static final byteTheCRS:84identifier for a coordinate reference system.static final byteTheCRS:88identifier for a coordinate reference system.static final byteThe default indentation value to use in various text formats (both WKT and XML).static final charThe default separator, which is':'.static final StringName of a SIS-specific parameter for setting the number of dimensions of a coordinate operation.static final StringThe netCDF parameter name for the Earth radius.static final StringThe "EPSG" code space.static final shortEPSG code of theA0coefficient used in affine (general parametric) and polynomial transformations.static final shortEPSG code of "WGS 84 / Antarctic Polar Stereographic" projection.static final shortEPSG code of "WGS 84 / Arctic Polar Stereographic" projection.static final shortThe EPSG code for degrees when used in axes.static final shortEPSG code of theB0coefficient used in affine (general parametric) and polynomial transformations.static final shortThe EPSG code for the Greenwich prime meridian.static final shortThe EPSG code for metres.static final shortThe EPSG code for degrees when used in parameters.static final StringThe OGC parameter name for the false easting or northing.static final StringThe OGC parameter name for the false easting or northing.static final StringThe "GeoTIFF" code space.static final StringThe "http:" protocol.static final StringThe netCDF parameter name for inverse flattening, and whether that parameter is definitive.static final StringThe "IOGP" authority, which is the maintainer of theEPSGdatabase.static final StringThe netCDF parameter name for inverse flattening, and whether that parameter is definitive.static final StringThe OGC parameter name for the latitude of origin.static final StringName of the "num_col" matrix parameters.static final StringName of the "num_row" matrix parameters.static final StringThe "OGC" authority and code space.static final StringThe "Proj4" code space.static final StringThe OGC parameter name for the scale factor.static final StringName of the "semi_major" projection parameter, which is handled specially during WKT formatting.static final StringName of the "semi_minor" projection parameter, which is handled specially during WKT formatting.static final StringThe "SIS" code space.static final StringThe netCDF parameter name for the standard parallels.static final StringThe OGC parameter name for the standard parallels.static final StringThe 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 theEPSGdatabase. 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:27identifier for a coordinate reference system.- See Also:
-
CRS83
public static final byte CRS83TheCRS:83identifier for a coordinate reference system.- See Also:
-
CRS84
public static final byte CRS84TheCRS:84identifier for a coordinate reference system.- See Also:
-
CRS88
public static final byte CRS88TheCRS:88identifier for a coordinate reference system.- See Also:
-
CRS1
public static final byte CRS1TheCRS:1identifier 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 theA0coefficient used in affine (general parametric) and polynomial transformations. Codes for parametersA1toA8inclusive follow, but the affine coefficients stop atA2.- See Also:
-
EPSG_B0
public static final short EPSG_B0EPSG code of theB0coefficient used in affine (general parametric) and polynomial transformations. Codes for parametersB1toB3inclusive 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.
-