org.geotools.referencing.operation.projection
Class MercatorPseudoProvider

Object
  extended by Formattable
      extended by AbstractIdentifiedObject
          extended by DefaultOperationMethod
              extended by MathTransformProvider
                  extended by MapProjection.AbstractProvider
                      extended by MercatorPseudoProvider
All Implemented Interfaces:
Serializable, IdentifiedObject, OperationMethod

public class MercatorPseudoProvider
extends MapProjection.AbstractProvider

Supports the popular visualisation projection used by Google, Microsoft, Yahoo, OSM and others

Author:
Andrea Aime - OpenGeo
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class MathTransformProvider
MathTransformProvider.Delegate
 
Field Summary
 
Fields inherited from class MapProjection.AbstractProvider
CENTRAL_MERIDIAN, FALSE_EASTING, FALSE_NORTHING, LATITUDE_OF_ORIGIN, SCALE_FACTOR, SEMI_MAJOR, SEMI_MINOR, STANDARD_PARALLEL_1, STANDARD_PARALLEL_2
 
Fields inherited from class DefaultOperationMethod
sourceDimensions, targetDimensions
 
Fields inherited from class AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
 
Fields inherited from class Formattable
SINGLE_LINE
 
Fields inherited from interface OperationMethod
FORMULA_KEY
 
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
MercatorPseudoProvider()
          Constructs a new provider.
 
Method Summary
protected  MathTransform createMathTransform(ParameterValueGroup parameters)
          Creates a transform from the specified group of parameter values.
 Class<CylindricalProjection> getOperationType()
          Returns the operation type for this map projection.
 
Methods inherited from class MapProjection.AbstractProvider
doubleValue
 
Methods inherited from class MathTransformProvider
createDescriptor, createDescriptorGroup, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, getParameter, intValue, stringValue, toMap, value
 
Methods inherited from class DefaultOperationMethod
checkDimensions, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCode
 
Methods inherited from class AbstractIdentifiedObject
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
 
Methods inherited from class Formattable
cleanupThreadLocals, 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
 

Constructor Detail

MercatorPseudoProvider

public MercatorPseudoProvider()
Constructs a new provider.

Method Detail

getOperationType

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

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

createMathTransform

protected MathTransform createMathTransform(ParameterValueGroup parameters)
                                     throws ParameterNotFoundException
Creates a transform from the specified group of parameter values.

Specified by:
createMathTransform in class MathTransformProvider
Parameters:
parameters - The group of parameter values.
Returns:
The created math transform.
Throws:
ParameterNotFoundException - if a required parameter was not found.
See Also:
MathTransformProvider.Delegate


Copyright © 1996-2014 Geotools. All Rights Reserved.