Enum CustomProjection.Param
- java.lang.Object
-
- java.lang.Enum<CustomProjection.Param>
-
- org.openstreetmap.josm.data.projection.CustomProjection.Param
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CustomProjection.Param>
- Enclosing class:
- CustomProjection
public static enum CustomProjection.Param extends java.lang.Enum<CustomProjection.Param>
Proj4-like projection parameters. See reference.- Since:
- 7370 (public)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description aSemimajor radius of the ellipsoid axisalphaazimuth (true) of the center line passing through the center of the projection (Oblique Mercator)axisdefinition of axis for projectionbSemiminor radius of the ellipsoid axisboundsdatumDatum name (seeproj -ld)ellpsEllipsoid name (seeproj -le)esEccentricity of the ellipsoid squaredfFlattening of the ellipsoid = 1-sqrt(1-e^2)gammarectified bearing of the center line (Oblique Mercator)initk_0Scaling factorlat_0Latitude of originlat_1Latitude of first standard parallellat_2Latitude of second standard parallellat_tsLatitude of true scale (Polar Stereographic)lon_0Central meridianlon_1longitude of first point (Oblique Mercator)lon_2longitude of second point (Oblique Mercator)lonclongitude of the center of the projection (Oblique Mercator)nadgridsFilename of NTv2 grid file to use for datum transformsno_defsDon't use the /usr/share/proj/proj_def.dat defaults fileno_offselect "Hotine" variant of Oblique Mercatorno_uofflegacy alias for no_offpmPrime meridianprojProjection name (seeproj -l)rfReciprocal of the ellipsoid flattening term (e.g.southindicate southern hemisphere for UTMto_metercrs units to meter multipliertowgs843 or 7 term datum transform parametersunitsmeters, US survey feet, etc.vunitsvertical units - ignore, as we don't use height informationwktextthe exact proj.4 string will be preserved in the WKT representationwmssrsx_0False eastingy_0False northingzoneUTM zone
-
Field Summary
Fields Modifier and Type Field Description booleanhasValuetrueif the parameter has a valuejava.lang.StringkeyParameter key(package private) static java.util.Map<java.lang.String,CustomProjection.Param>paramsByKeyMap of all parameters by key
-
Constructor Summary
Constructors Modifier Constructor Description privateParam(java.lang.String key, boolean hasValue)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CustomProjection.ParamvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CustomProjection.Param[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
x_0
public static final CustomProjection.Param x_0
False easting
-
y_0
public static final CustomProjection.Param y_0
False northing
-
lon_0
public static final CustomProjection.Param lon_0
Central meridian
-
pm
public static final CustomProjection.Param pm
Prime meridian
-
k_0
public static final CustomProjection.Param k_0
Scaling factor
-
ellps
public static final CustomProjection.Param ellps
Ellipsoid name (seeproj -le)
-
a
public static final CustomProjection.Param a
Semimajor radius of the ellipsoid axis
-
es
public static final CustomProjection.Param es
Eccentricity of the ellipsoid squared
-
rf
public static final CustomProjection.Param rf
Reciprocal of the ellipsoid flattening term (e.g. 298)
-
f
public static final CustomProjection.Param f
Flattening of the ellipsoid = 1-sqrt(1-e^2)
-
b
public static final CustomProjection.Param b
Semiminor radius of the ellipsoid axis
-
datum
public static final CustomProjection.Param datum
Datum name (seeproj -ld)
-
towgs84
public static final CustomProjection.Param towgs84
3 or 7 term datum transform parameters
-
nadgrids
public static final CustomProjection.Param nadgrids
Filename of NTv2 grid file to use for datum transforms
-
proj
public static final CustomProjection.Param proj
Projection name (seeproj -l)
-
lat_0
public static final CustomProjection.Param lat_0
Latitude of origin
-
lat_1
public static final CustomProjection.Param lat_1
Latitude of first standard parallel
-
lat_2
public static final CustomProjection.Param lat_2
Latitude of second standard parallel
-
lat_ts
public static final CustomProjection.Param lat_ts
Latitude of true scale (Polar Stereographic)
-
lonc
public static final CustomProjection.Param lonc
longitude of the center of the projection (Oblique Mercator)
-
alpha
public static final CustomProjection.Param alpha
azimuth (true) of the center line passing through the center of the projection (Oblique Mercator)
-
gamma
public static final CustomProjection.Param gamma
rectified bearing of the center line (Oblique Mercator)
-
no_off
public static final CustomProjection.Param no_off
select "Hotine" variant of Oblique Mercator
-
no_uoff
public static final CustomProjection.Param no_uoff
legacy alias for no_off
-
lon_1
public static final CustomProjection.Param lon_1
longitude of first point (Oblique Mercator)
-
lon_2
public static final CustomProjection.Param lon_2
longitude of second point (Oblique Mercator)
-
wktext
public static final CustomProjection.Param wktext
the exact proj.4 string will be preserved in the WKT representation
-
units
public static final CustomProjection.Param units
meters, US survey feet, etc.
-
no_defs
public static final CustomProjection.Param no_defs
Don't use the /usr/share/proj/proj_def.dat defaults file
-
init
public static final CustomProjection.Param init
-
to_meter
public static final CustomProjection.Param to_meter
crs units to meter multiplier
-
axis
public static final CustomProjection.Param axis
definition of axis for projection
-
zone
public static final CustomProjection.Param zone
UTM zone
-
south
public static final CustomProjection.Param south
indicate southern hemisphere for UTM
-
vunits
public static final CustomProjection.Param vunits
vertical units - ignore, as we don't use height information
-
wmssrs
public static final CustomProjection.Param wmssrs
-
bounds
public static final CustomProjection.Param bounds
-
-
Field Detail
-
key
public final java.lang.String key
Parameter key
-
hasValue
public final boolean hasValue
trueif the parameter has a value
-
paramsByKey
static final java.util.Map<java.lang.String,CustomProjection.Param> paramsByKey
Map of all parameters by key
-
-
Constructor Detail
-
Param
private Param(java.lang.String key, boolean hasValue)
-
-
Method Detail
-
values
public static CustomProjection.Param[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CustomProjection.Param c : CustomProjection.Param.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomProjection.Param valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-