Class MercatorPseudoProvider
- Object
-
- Formattable
-
- AbstractIdentifiedObject
-
- DefaultOperationMethod
-
- MathTransformProvider
-
- MapProjection.AbstractProvider
-
- MercatorPseudoProvider
-
- All Implemented Interfaces:
Serializable
,IdentifiedObject
,OperationMethod
,PROJFormattable
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 Modifier and Type Field Description static ParameterDescriptor
AUXILIARY_SPHERE_TYPE
The Auxiliary Sphere Type parameter accepts: 0 (use semimajor axis or radius of the geographic coordinate system) 1 (use semiminor axis or radius) 2 (calculate and use authalic radius), or 3 (use authalic radius and convert geodetic latitudes to authalic latitudes).static ParameterDescriptor
FAKE_ESRI_STANDARD_PARALLELL
-
Fields inherited from class MapProjection.AbstractProvider
CENTRAL_MERIDIAN, FALSE_EASTING, FALSE_NORTHING, LATITUDE_OF_CENTRE, LATITUDE_OF_ORIGIN, LONGITUDE_OF_CENTRE, 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 IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
-
Fields inherited from interface OperationMethod
FORMULA_KEY
-
-
Constructor Summary
Constructors Constructor Description MercatorPseudoProvider()
Constructs a new provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, ensureValidValues, formatWKT, getParameter, intValue, stringValue, toMap, value
-
Methods inherited from class DefaultOperationMethod
checkDimensions, equals, formatPROJ, 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 interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
-
-
-
Field Detail
-
AUXILIARY_SPHERE_TYPE
public static final ParameterDescriptor AUXILIARY_SPHERE_TYPE
The Auxiliary Sphere Type parameter accepts:- 0 (use semimajor axis or radius of the geographic coordinate system)
- 1 (use semiminor axis or radius)
- 2 (calculate and use authalic radius), or 3 (use authalic radius and convert geodetic latitudes to authalic latitudes).
-
FAKE_ESRI_STANDARD_PARALLELL
public static final ParameterDescriptor FAKE_ESRI_STANDARD_PARALLELL
-
-
Method Detail
-
getOperationType
public Class<CylindricalProjection> getOperationType()
Returns the operation type for this map projection.- Overrides:
getOperationType
in classMapProjection.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 classMathTransformProvider
- 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
-
-