public class IdrKrovak
extends MapProjection
The compulsory parameters are just the ellipsoid characteristics. All other parameters are optional and have defaults to match the common usage with Krovak projection.
In general the axis of Krovak projection are defined as westing and southing (not easting and northing) and they are also reverted, so if the value of projected coordinates should (and in y, x order in Krovak) be positive the 'Axis' parameter for projection should be defined explicitly like this (in wkt):
PROJCS["S-JTSK (Ferro) / Krovak", . . . PROJECTION["Krovak"] PARAMETER["semi_major", 6377397.155], PARAMETER["semi_minor", 6356078.963], UNIT["meter",1.0], AXIS["x", WEST], AXIS["y", SOUTH]]Axis in Krovak:
y<------------------+ | Czech. Rep. | | x
By default, the axis are 'easting, northing' so the values of projected coordinates are negative and in (and in y, x order in Krovak - it is cold Krovak GIS version).
References:
PJ_krovak.c
Modifier and Type | Class and Description |
---|---|
static class |
IdrKrovak.Provider
The
org.geotools.referencing.operation.MathTransformProvider
for an krovak projection. |
Modifier and Type | Field and Description |
---|---|
protected double |
azimuth
Azimuth of the centre line passing through the centre of the projection.
|
protected double |
pseudoStandardParallel
Latitude of pseudo standard parallel.
|
Modifier | Constructor and Description |
---|---|
protected |
IdrKrovak(ParameterValueGroup parameters)
Constructs a new map projection from the supplied parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object)
Compares the specified object with this map projection for equality.
|
ParameterDescriptorGroup |
getParameterDescriptors() |
ParameterValueGroup |
getParameterValues() |
int |
hashCode()
Returns a hash value for this projection.
|
protected java.awt.geom.Point2D |
inverseTransformNormalized(double x,
double y,
java.awt.geom.Point2D ptDst)
Transforms the specified (x,y) coordinate
and stores the result in
ptDst . |
protected java.awt.geom.Point2D |
transformNormalized(double lambda,
double phi,
java.awt.geom.Point2D ptDst)
Transforms the specified (λ,φ) coordinates
(units in radians) and stores the result in
ptDst (linear distance
on a unit sphere). |
protected final double azimuth
protected final double pseudoStandardParallel
protected IdrKrovak(ParameterValueGroup parameters) throws ParameterNotFoundException
parameters
- The parameter values in standard units.ParameterNotFoundException
- if a mandatory parameter is missing.public ParameterDescriptorGroup getParameterDescriptors()
public ParameterValueGroup getParameterValues()
protected java.awt.geom.Point2D transformNormalized(double lambda, double phi, java.awt.geom.Point2D ptDst) throws ProjectionException
ptDst
(linear distance
on a unit sphere).ProjectionException
protected java.awt.geom.Point2D inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst) throws ProjectionException
ptDst
.ProjectionException
public int hashCode()
public boolean equals(java.lang.Object object)