Class AbstractMercator

All Implemented Interfaces:
Serializable, Formattable, MathTransformProvider, Deprecable, LenientComparable, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.operation.OperationMethod
Direct Known Subclasses:
Mercator1SP, Mercator2SP, MercatorAuxiliarySphere, MercatorSpherical, MillerCylindrical, ObliqueMercator, PseudoMercator, RegionalMercator, TransverseMercator, TransverseMercatorSouth

class AbstractMercator extends MapProjection
Base class of providers for all Mercator projections, and for Mercator-like projections.
Since:
0.6
Version:
1.3
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
    • FALSE_EASTING

      public static final org.opengis.parameter.ParameterDescriptor<Double> FALSE_EASTING
      The operation parameter descriptor for the False easting (FE) parameter value. Valid values range is unrestricted and default value is 0 metre.
      Parameter names
      EPSG: False easting
      OGC: false_easting
      ESRI: False_Easting
      NetCDF: false_easting
      GeoTIFF: FalseEasting
      Proj4: x_0
    • FALSE_NORTHING

      public static final org.opengis.parameter.ParameterDescriptor<Double> FALSE_NORTHING
      The operation parameter descriptor for the False northing (FN) parameter value. Valid values range is unrestricted and default value is 0 metre.
      Parameter names
      EPSG: False northing
      OGC: false_northing
      ESRI: False_Northing
      NetCDF: false_northing
      GeoTIFF: FalseNorthing
      Proj4: y_0
  • Constructor Details

    • AbstractMercator

      AbstractMercator(org.opengis.parameter.ParameterDescriptorGroup parameters)
      For subclass constructors only.
  • Method Details

    • toArray

      static org.opengis.parameter.ParameterDescriptor<?>[] toArray(List<org.opengis.parameter.GeneralParameterDescriptor> descriptors, int expansion)
      Returns the given descriptor as an array, excluding the two first elements which are assumed to be the axis lengths. This method assumes that all elements in the given list are instances of ParameterDescriptor.
      Parameters:
      descriptors - the descriptors to return as an array.
      expansion - number of additional elements in the returned array.
      Returns:
      the given descriptors without the two first elements.
      Throws:
      ArrayStoreException - if a descriptors element is not an instance of ParameterDescriptor.
    • createProjection

      protected NormalizedProjection createProjection(Parameters parameters)
      Creates a map projection on an ellipsoid having a semi-major axis length of 1.
      Specified by:
      createProjection in class MapProjection
      Parameters:
      parameters - the group of parameter values.
      Returns:
      the map projection created from the given parameter values.