Constructor and Description |
---|
Mercator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Replies a human readable name of this projection.
|
java.lang.String |
getProj4Id()
Replies the Proj.4 identifier.
|
void |
initialize(ProjParameters params)
Initialize the projection using the provided parameters.
|
double[] |
invproject(double east,
double north)
Convert east/north to lat/lon.
|
double[] |
project(double lat_rad,
double lon_rad)
Convert lat/lon to east/north.
|
public Mercator()
public java.lang.String getName()
Proj
public java.lang.String getProj4Id()
Proj
getProj4Id
in interface Proj
null
.public void initialize(ProjParameters params) throws ProjectionConfigurationException
Proj
initialize
in interface Proj
params
- The projection parametersProjectionConfigurationException
- in case parameters are not suitablepublic double[] project(double lat_rad, double lon_rad)
Proj
public double[] invproject(double east, double north)
Proj
invproject
in interface Proj
east
- east value in meters, divided by the semi major axis of the ellipsoidnorth
- north value in meters, divided by the semi major axis of the ellipsoid