org.geotoolkit.referencing.operation.provider
Class NewZealandMapGrid

Object
  extended by FormattableObject
      extended by AbstractIdentifiedObject
          extended by DefaultOperationMethod
              extended by MathTransformProvider
                  extended by MapProjection
                      extended by NewZealandMapGrid
All Implemented Interfaces:
Serializable, Formattable, Deprecable, LenientComparable, IdentifiedObject, OperationMethod

@Immutable
public class NewZealandMapGrid
extends MapProjection

The provider for "New Zealand Map Grid" (EPSG:9811). This projection is used with the International 1924 ellipsoid. The math transform implementations instantiated by this provider may be any of the following classes:

The following table summarizes the parameters recognized by this provider. For a more detailed parameter list, see the PARAMETERS constant.

Operation name: New_Zealand_Map_Grid
Area of use: (union of CRS domains of validity in EPSG database)

in latitudes:47°24.0′Sto34°00.0′S
in longitudes:166°19.8′Eto178°36.0′E
Parameter nameDefault value
semi_major6378388 metres
semi_minor6356911.9461279465 metres
roll_longitudefalse
latitude_of_origin-41°
central_meridian173°
false_easting2510000 metres
false_northing6023150 metres

Since:
2.2
Version:
3.20
Author:
Justin Deoliveira (Refractions), Martin Desruisseaux (IRD, Geomatys)
See Also:
New Zealand Map Grid on RemoteSensing.org, Geotk coordinate operations matrix, Serialized Form
Module:
referencing/geotk-referencing (download)    View source code for this class

Field Summary
static ParameterDescriptor<Double> CENTRAL_MERIDIAN
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
static ParameterDescriptor<Double> FALSE_EASTING
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
static ParameterDescriptor<Double> FALSE_NORTHING
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
static ParameterDescriptor<Double> LATITUDE_OF_ORIGIN
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
static ParameterDescriptorGroup PARAMETERS
          The group of all parameters expected by this coordinate operation.
static ParameterDescriptor<Double> SEMI_MAJOR
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
static ParameterDescriptor<Double> SEMI_MINOR
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
 
Fields inherited from class MapProjection
ROLL_LONGITUDE, X_SCALE, XY_PLANE_ROTATION, Y_SCALE
 
Fields inherited from class DefaultOperationMethod
sourceDimension, targetDimension
 
Fields inherited from class FormattableObject
EPSG, GEOTIFF, INTERNAL, OGC, SINGLE_LINE
 
Fields inherited from interface OperationMethod
FORMULA_KEY
 
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
NewZealandMapGrid()
          Constructs a new provider.
 
Method Summary
protected  MathTransform2D createMathTransform(ParameterValueGroup values)
          Creates a map projection from the specified group of parameter values.
 
Methods inherited from class MapProjection
getOperationType
 
Methods inherited from class MathTransformProvider
ensureValidValues, formatWKT
 
Methods inherited from class DefaultOperationMethod
checkDimensions, computeHashCode, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions
 
Methods inherited from class AbstractIdentifiedObject
equals, getAlias, getIdentifier, getIdentifiers, getName, getName, getRemarks, hashCode, isDeprecated, nameMatches
 
Methods inherited from class FormattableObject
getDefaultIndentation, print, setDefaultIndentation, toString, toWKT, toWKT, toWKT, toWKT
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
 

Field Detail

SEMI_MAJOR

@Deprecated
public static final ParameterDescriptor<Double> SEMI_MAJOR
Deprecated. Invoke PARAMETERS.descriptor(String) instead.
The operation parameter descriptor for the semi major parameter value. This parameter is mandatory. Valid values range is (0 … ∞) and default value is 6378388 metres.


SEMI_MINOR

@Deprecated
public static final ParameterDescriptor<Double> SEMI_MINOR
Deprecated. Invoke PARAMETERS.descriptor(String) instead.
The operation parameter descriptor for the semi minor parameter value. This parameter is mandatory. Valid values range is (0 … ∞) and default value is approximatively 6356911.95 metres.


CENTRAL_MERIDIAN

@Deprecated
public static final ParameterDescriptor<Double> CENTRAL_MERIDIAN
Deprecated. Invoke PARAMETERS.descriptor(String) instead.
The operation parameter descriptor for the central meridian parameter value. This parameter is mandatory. Valid values range is [-180 … 180]° and default value is 173°.


LATITUDE_OF_ORIGIN

@Deprecated
public static final ParameterDescriptor<Double> LATITUDE_OF_ORIGIN
Deprecated. Invoke PARAMETERS.descriptor(String) instead.
The operation parameter descriptor for the latitude of origin parameter value. This parameter is mandatory. Valid values range is [-90 … 90]° and default value is -41°.


FALSE_EASTING

@Deprecated
public static final ParameterDescriptor<Double> FALSE_EASTING
Deprecated. Invoke PARAMETERS.descriptor(String) instead.
The operation parameter descriptor for the false easting parameter value. Valid values range is unrestricted. This parameter is mandatory. Valid values range is unrestricted and default value is 2510000 metre.


FALSE_NORTHING

@Deprecated
public static final ParameterDescriptor<Double> FALSE_NORTHING
Deprecated. Invoke PARAMETERS.descriptor(String) instead.
The operation parameter descriptor for the false northing parameter value. Valid values range is unrestricted. This parameter is mandatory. Valid values range is unrestricted and default value is 6023150 metre.


PARAMETERS

public static final ParameterDescriptorGroup PARAMETERS
The group of all parameters expected by this coordinate operation. The following table lists the operation names and the parameters recognized by Geotk:

Name:OGC:New_Zealand_Map_Grid
Alias:EPSG:New Zealand Map Grid
GeoTIFF:CT_NewZealandMapGrid
PROJ4:nzmg
Identifier:EPSG:9811
GeoTIFF:26
Name:OGC:semi_major
Alias:EPSG:Semi-major axis
GeoTIFF:SemiMajor
PROJ4:a
Type:Double
Obligation:mandatory
Value range:[0…∞) metres
Default value:6378388 metres
Name:OGC:semi_minor
Alias:EPSG:Semi-minor axis
GeoTIFF:SemiMinor
PROJ4:b
Type:Double
Obligation:mandatory
Value range:[0…∞) metres
Default value:6356911.9461279465 metres
Name:Geotk:roll_longitude
Type:Boolean
Obligation:optional
Default value:false
Name:OGC:latitude_of_origin
Alias:EPSG:Latitude of natural origin
GeoTIFF:NatOriginLat
PROJ4:lat_0
Type:Double
Obligation:mandatory
Value range:[-90 … 90]°
Default value:-41°
Name:OGC:central_meridian
Alias:EPSG:Longitude of natural origin
GeoTIFF:NatOriginLong
PROJ4:lon_0
Type:Double
Obligation:mandatory
Value range:[-180 … 180]°
Default value:173°
Name:OGC:false_easting
Alias:EPSG:False easting
GeoTIFF:FalseEasting
PROJ4:x_0
Type:Double
Obligation:mandatory
Value range:(-∞ … ∞) metres
Default value:2510000 metres
Name:OGC:false_northing
Alias:EPSG:False northing
GeoTIFF:FalseNorthing
PROJ4:y_0
Type:Double
Obligation:mandatory
Value range:(-∞ … ∞) metres
Default value:6023150 metres

Constructor Detail

NewZealandMapGrid

public NewZealandMapGrid()
Constructs a new provider.

Method Detail

createMathTransform

protected MathTransform2D createMathTransform(ParameterValueGroup values)
Creates a map projection from the specified group of parameter values.

Specified by:
createMathTransform in class MapProjection
Parameters:
values - The group of parameter values.
Returns:
The created map projection.


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.