new Proj
Contains methods for transforming point on sphere to
Cartesian coordinates using various projections.
Methods
-
<static> aea
-
Converts point on sphere to the Cartesian coordinates using Albers Equal-Area Conic projection
Parameters:
Name Type Description lat
Number Latitude in degrees lng
Number Longitude in degrees c
Number Central meridian in degrees -
<static> aea_inv
-
Converts Cartesian coordinates to the point on sphere using Albers Equal-Area Conic projection
Parameters:
Name Type Description x
Number X of point in Cartesian system as integer y
Number Y of point in Cartesian system as integer c
Number Central meridian in degrees -
<static> lcc
-
Converts point on sphere to the Cartesian coordinates using Lambert conformal conic projection
Parameters:
Name Type Description lat
Number Latitude in degrees lng
Number Longitude in degrees c
Number Central meridian in degrees -
<static> lcc_inv
-
Converts Cartesian coordinates to the point on sphere using Lambert conformal conic projection
Parameters:
Name Type Description x
Number X of point in Cartesian system as integer y
Number Y of point in Cartesian system as integer c
Number Central meridian in degrees -
<static> merc
-
Converts point on sphere to the Cartesian coordinates using Mercator projection
Parameters:
Name Type Description lat
Number Latitude in degrees lng
Number Longitude in degrees c
Number Central meridian in degrees -
<static> merc_inv
-
Inverse function of merc() Converts Cartesian coordinates to point on sphere using Mercator projection
Parameters:
Name Type Description x
Number X of point in Cartesian system as integer y
Number Y of point in Cartesian system as integer c
Number Central meridian in degrees -
<static> mill
-
Converts point on sphere to the Cartesian coordinates using Miller projection
Parameters:
Name Type Description lat
Number Latitude in degrees lng
Number Longitude in degrees c
Number Central meridian in degrees -
<static> mill_inv
-
Inverse function of mill() Converts Cartesian coordinates to point on sphere using Miller projection
Parameters:
Name Type Description x
Number X of point in Cartesian system as integer y
Number Y of point in Cartesian system as integer c
Number Central meridian in degrees