org.geotoolkit.referencing.operation.provider
Class PseudoMercator

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

@Immutable
public class PseudoMercator
extends MapProjection

The provider for "Popular Visualisation Pseudo Mercator" projection (EPSG:1024). This is also known as the "Google projection", defined by popular demand but not considered a valid projection method.

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: Popular Visualisation Pseudo Mercator
Area of use: (union of CRS domains of validity in EPSG database)

in latitudes:85°00.0′Sto85°00.0′N
in longitudes:180°00.0′Wto180°00.0′E
Parameter nameDefault value
semi_major
semi_minor
roll_longitudefalse
latitude_of_origin
central_meridian
false_easting0 metres
false_northing0 metres

Since:
3.03
Version:
3.20
Author:
Martin Desruisseaux (Geomatys)
See Also:
Geotk coordinate operations matrix, Serialized Form
Module:
referencing/geotk-referencing (download)    View source code for this class

Field Summary
static ParameterDescriptorGroup PARAMETERS
          The group of all parameters expected by this coordinate operation.
 
Fields inherited from class MapProjection
XY_PLANE_ROTATION
 
Fields inherited from class DefaultOperationMethod
sourceDimension, targetDimension
 
Fields inherited from interface OperationMethod
FORMULA_KEY
 
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
PseudoMercator()
          Constructs a new provider.
 
Method Summary
protected  MathTransform2D createMathTransform(ParameterValueGroup values)
          Creates a map projection from the specified group of parameter values.
 Class<CylindricalProjection> getOperationType()
          Returns the operation type for this map projection.
 
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
print, toString, 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

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:EPSG:Popular Visualisation Pseudo Mercator
Alias:Geotk:Cylindrical Mercator projection
Identifier:EPSG:1024
Name:OGC:semi_major
Alias:EPSG:Semi-major axis
Type:Double
Obligation:mandatory
Value range:[0…∞) metres
Name:OGC:semi_minor
Alias:EPSG:Semi-minor axis
Type:Double
Obligation:mandatory
Value range:[0…∞) metres
Name:Geotk:roll_longitude
Type:Boolean
Obligation:optional
Default value:false
Name:OGC:latitude_of_origin
Alias:EPSG:Latitude of natural origin
Type:Double
Obligation:mandatory
Value range:[-90 … 90]°
Default value:
Name:OGC:central_meridian
Alias:EPSG:Longitude of natural origin
Type:Double
Obligation:mandatory
Value range:[-180 … 180]°
Default value:
Name:OGC:false_easting
Alias:EPSG:False easting
Type:Double
Obligation:mandatory
Value range:(-∞ … ∞) metres
Default value:0 metres
Name:OGC:false_northing
Alias:EPSG:False northing
Type:Double
Obligation:mandatory
Value range:(-∞ … ∞) metres
Default value:0 metres

Constructor Detail

PseudoMercator

public PseudoMercator()
Constructs a new provider.

Method Detail

getOperationType

public Class<CylindricalProjection> getOperationType()
Returns the operation type for this map projection.

Overrides:
getOperationType in class MapProjection
Returns:
The GeoAPI interface implemented by this operation.

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-2013 Geotoolkit.org. All Rights Reserved.