Module constants

Module constants 

Source
Expand description

EPSG constants

Constants§

ALBERS_EQUAL_AREA
Albers Equal Area
ALGO
Used by Transverse Mercator. Input is a string
ANGLE_RECTIFIED_TO_SKEW_GRID
Angle from Rectified to Skew Grid - ANGLE UNIT
APPROX
Used by Transverse Mercator. Input is boolean
AZIMUTHAL_EQUIDISTANT
Azimuthal Equidistant
AZIMUTH_PROJECTION_CENTRE
Azimuth at projection centre - UNIT
BONNE
Bonne
CASSINI
Cassini-Soldner
CLARKE_FT_TO_M
Linear foot Clarke to meters
CZECH
Czech Republic flag (Used by Krovak). Value is a “bool”
EASTING_AT_FALSE_ORIGIN
Easting at false origin - LENGTH UNIT
EPS10
Common Tolerance
EQUAL_EARTH
Equal Earth
EQUIDISTANT_CONIC
Equidistant Conic
EQUIDISTANT_CYLINDRICAL
Equidistant Cylindrical
FALSE_EASTING
False easting - LENGTH UNIT
FALSE_NORTHING
False northing - LENGTH UNIT
FT_TO_M
feet to meters
GON2R
The gon is equivalent to the grad and is primarily used in surveying. A full circle is 400 gons. [1 gon = π/200 radians]
GRD2R
The grad, or gradian, is a unit of angular measure where a right angle is 100 grads, and a full circle is 400 grads. [1 grad = π/200 radians]
GUAM
GUAM flag. Used by Azimuthal Equidistant projection
HOTINE_OBLIQUE_MERCATOR_VARIANT_A
Hotine Oblique Mercator (variant A)
HOTINE_OBLIQUE_MERCATOR_VARIANT_B
Hotine Oblique Mercator (variant B)
HYPERBOLIC
hyperbolic
INDIAN_FT_TO_M
Linear foot Indian to meters
INDIAN_YD_TO_M
Linear Yard Indian to meters
INTERNATIONAL_FATHOM_TO_M
International Fathom to meters
INTERNATIONAL_NAUTICAL_MILE_TO_M
Linear Mile International Nautical
KROVAK
Krovak
KROVAK_MODIFIED
Krovak Modified
KROVAK_MODIFIED_NORTH_ORIENTED
Krovak Modified (North Orientated)
KROVAK_NORTH_ORIENTED
Krovak (North Orientated)
LABORDE
Laborde
LAMBERT_AZIMUTHAL_EQUAL_AREA
Lambert Azimuthal Equal Area
LAMBERT_AZIMUTHAL_EQUAL_AREA_SPHERICAL
Lambert Azimuthal Equal Area (Spherical)
LAMBERT_CONFORMAL_CONIC_1SP
Lambert Conic Conformal (1SP)
LAMBERT_CONFORMAL_CONIC_2SP
Lambert Conic Conformal (2SP)
LATITUDE_OF_FALSE_ORIGIN
Latitude of False Origin - ANGLE UNIT
LATITUDE_OF_FIRST_POINT
LAT1 or Latitude_Of_1st_Point or Latitude of 1st point
LATITUDE_OF_FIRST_STANDARD_PARALLEL
Latitude of 1st standard parallel - ANGLE UNIT
LATITUDE_OF_NATURAL_ORIGIN
Latitude of natural origin - ANGLE UNIT
LATITUDE_OF_PROJECTION_CENTRE
Latitude of projection centre - ANGLE UNIT
LATITUDE_OF_SECOND_POINT
LAT2 or Latitude_Of_2nd_Point or Latitude of 2nd point
LATITUDE_OF_SECOND_STANDARD_PARALLEL
Latitude of 2nd standard parallel - ANGLE UNIT
LATITUDE_STD_PARALLEL
Latitude of standard parallel - UNIT
LAT_B
Used by Airy. Input is in degrees
LINK_FT_TO_M
Linear foot Link to meters
LONGITUDE_OF_FALSE_ORIGIN
Longitude of False Origin - ANGLE UNIT
LONGITUDE_OF_FIRST_POINT
LON1 or Longitude_Of_1st_Point or Longitude of 1st point
LONGITUDE_OF_NATURAL_ORIGIN
Longitude of natural origin - ANGLE UNIT
LONGITUDE_OF_ORIGIN
Longitude of origin - ANGLE UNIT
LONGITUDE_OF_PROJECTION_CENTRE
Longitude of projection centre - ANGLE UNIT
LONGITUDE_OF_SECOND_POINT
LON2 or Longitude_Of_2nd_Point or Longitude of 2nd point
MERCATOR
Mercator (Spherical)
MERCATOR_VARIANT_A
Mercator Variant A
MERCATOR_VARIANT_B
Mercator Variant B
MIN2R
An arc minute is 1/60th of a degree [(π/180) / 60 radians]
M_VAL
User defined m value file
NORTHING_AT_FALSE_ORIGIN
Northing at false origin - LENGTH UNIT
NO_CUT
Used by Airy. Input is boolean
NO_OFF
No Off. An OMERC projection variable
NO_ROTATION
NO ROTATION Flag. Used by OMERC projections
NO_UOFF
No Unsigned Off. An OMERC projection variable
N_VAL
User defined n value file
OBLIQUE_STEREOGRAPHIC
Oblique Stereographic
ORTHOGRAPHIC
Orthographic
PJD_3PARAM
3 parameter transform
PJD_7PARAM
7 parameter transform
PJD_GRIDSHIFT
Grid shift transform
PJD_NODATUM
No datum applied
PJD_WGS84
WGS84 or equivalent
POLAR_STEREOGRAPHIC_VARIANT_A
Polar Stereographic (variant A)
POLAR_STEREOGRAPHIC_VARIANT_B
Polar Stereographic (variant B)
POLAR_STEREOGRAPHIC_VARIANT_C
Polar Stereographic (variant C)
POLYCONIC
Polyconic
RA4
1/6
RA6
17/360
SCALE_FACTOR_AT_NATURAL_ORIGIN
Scale factor at natural origin - SCALE UNIT
SEC2R
An arc second is 1/60th of an arc minute, or 1/3600th of a degree [(π/180) / 3600 radians]
SEC_TO_RAD
1/4 π - Sec to Radians
SIXTH
ellipoid pj_set_ell.c
SOMERC
Swiss Oblique Cylindrical
SOUTH
Used by AEA. Input is boolean
SPI
SPI is slightly greater than Math.PI, so values that exceed the -180..180 degree range by a tiny amount don’t get wrapped. This prevents points that have drifted from their original location along the 180th meridian (due to floating point error) from changing their sign.
SRS_WGS84_ESQUARED
SRS WGS84 esquared only used in grid shift transforms
SRS_WGS84_SEMIMAJOR
SRS WGS84 semimajor only used in grid shift transforms
SRS_WGS84_SEMIMINOR
SRS WGS84 semiminor only used in grid shift transforms
THETA
User defined theta file
TRANSVERSE_MERCATOR
Transverse Mercator
TRANSVERSE_MERCATOR_SOUTH_ORIENTATED
Transverse Mercator (South Orientated)
US_FT_TO_M
US feet to meters (1200 / 3937)
US_MOD_FT_TO_M
US (modified) feet to meters (1200 / 3937)
WEB_MERCATOR
Web Mercator / Pseudo Mercator Projection
ZONE
UTM Zone (Used by Universal Transverse Mercator). Value is “real” in range 1-60

Functions§

name_to_param_id
Converts a name to a parameter id