# Uses of Class
org.opengis.referencing.operation.TransformException

Packages that use TransformException
Package
Description
org.apache.sis.coverage
Functions that associates positions within a bounded space (its domain) to values (its range).
org.apache.sis.coverage.grid
A coverage backed by a regular grid.
org.apache.sis.geometry
Basic geometric objects (envelopes and direct positions).
org.apache.sis.gui.referencing
Widgets about coordinate reference systems.
org.apache.sis.image
Provides helper classes for handling Java2D rendered images together with some operations.
org.apache.sis.measure
Units of measurements, values related to measurement (like angles and ranges) and their formatters.
org.apache.sis.metadata.iso.extent
Information about spatial, vertical, and temporal extent.
org.apache.sis.referencing.datum
Relationship of a `CoordinateSystem` (an abstract mathematical entity) to the earth or other system.
org.apache.sis.referencing.gazetteer
Mapping between geographic identifiers (addresses, grid indexes…) and locations (descriptions, coordinates…).
org.apache.sis.referencing.operation
Relationship between any two Coordinate Reference Systems (CRS).
org.apache.sis.referencing.operation.builder
Helper classes for creating Math Transforms from a set of points.
org.apache.sis.referencing.operation.matrix
Matrix implementations for spatiotemporal referencing.
org.apache.sis.referencing.operation.transform
Conversions or transformations of multi-dimensional coordinate tuples.
org.opengis.referencing.operation
Coordinate operations (relationship between any two coordinate reference systems).

- ## Uses of TransformException in org.apache.sis.coverage

  Methods in org.apache.sis.coverage that throw TransformException
  Modifier and Type
  Method
  Description
  `boolean`
  CoverageCombiner.`acceptAll(GridCoverage... sources)`
  Writes the given coverages on top of the destination coverage.
  `Shape`
  RegionOfInterest.`toShape2D(GridGeometry target)`
  Returns the clip geometry in coordinates of grid cells.

- ## Uses of TransformException in org.apache.sis.coverage.grid

  Methods in org.apache.sis.coverage.grid that throw TransformException
  Modifier and Type
  Method
  Description
  `GridCoverage`
  DomainLinearizer.`apply(GridCoverage coverage)`
  Returns a grid coverage with a linear approximation of the grid to CRS conversion.
  `GridGeometry`
  DomainLinearizer.`apply(GridGeometry gg)`
  Creates a grid geometry with a linear approximation of the grid to CRS conversion.
  `MathTransform`
  GridGeometry.`createTransformTo(GridGeometry target, PixelInCell anchor)`
  Creates a transform from cell coordinates in this grid to cell coordinates in the given grid.
  `GridExtent`
  GridGeometry.`extentOf(GridGeometry other, PixelInCell include, GridRoundingMode rounding)`
  Returns the coordinate range of another grid geometry in units of cells of this grid geometry.
  `Envelope`
  GridGeometry.`getEnvelope(CoordinateReferenceSystem crs)`
  Returns the "real world" bounding box of this grid geometry transformed to the given CRS.
  `LinearTransform`
  GridGeometry.`getLinearGridToCRS(PixelInCell anchor)`
  Returns a linear approximation of the conversion from grid coordinates to "real world" coordinates.
  `GridCoverage`
  GridCoverageProcessor.`mask(GridCoverage source, RegionOfInterest mask, boolean maskInside)`
  Applies a mask defined by a region of interest (ROI).
  `GridGeometry`
  GridGeometry.`relocate(GridExtent newExtent)`
  Returns a grid geometry with the given grid extent, which implies a new "real world" computation.
  `GridCoverage`
  GridCoverageProcessor.`resample(GridCoverage source, GridGeometry target)`
  Creates a new coverage with a different grid extent, resolution or coordinate reference system.
  `GridCoverage`
  GridCoverageProcessor.`resample(GridCoverage source, CoordinateReferenceSystem target)`
  Creates a new coverage with a different coordinate reference system.
  `GeneralEnvelope`
  GridExtent.`toEnvelope(MathTransform cornerToCRS)`
  Transforms this grid extent to a "real world" envelope using the given transform.
  `FractionalGridCoordinates`
  GridCoverage.Evaluator.`toGridCoordinates(DirectPosition point)`
  Converts the specified geospatial position to grid coordinates.
  `DirectPosition`
  FractionalGridCoordinates.`toPosition(MathTransform gridToCRS)`
  Returns the grid coordinates converted to a geospatial position using the given transform.
  Constructors in org.apache.sis.coverage.grid that throw TransformException
  Modifier
  Constructor
  Description
  ``
  `GridGeometry(GridGeometry other, GridExtent extent, MathTransform toOther)`
  Creates a new grid geometry derived from the given grid geometry with a new extent and a modified transform.

- ## Uses of TransformException in org.apache.sis.geometry

  Methods in org.apache.sis.geometry that throw TransformException
  Modifier and Type
  Method
  Description
  `static GeneralEnvelope`
  Envelopes.`intersect(Envelope... envelopes)`
  Computes the intersection of all given envelopes, transforming them to a common CRS if necessary.
  `DirectPosition`
  WraparoundAdjustment.`shift(DirectPosition pointOfInterest)`
  Computes a position with coordinates equivalent to the given `pointOfInterest`, but potentially shifted to interior of the domain of validity specified at construction time.
  `GeneralEnvelope`
  WraparoundAdjustment.`shift(Envelope areaOfInterest)`
  Computes an envelope with coordinates equivalent to the given `areaOfInterest`, but potentially shifted for intersecting the domain of validity specified at construction time.
  `static Envelope`
  Envelopes.`transform(Envelope envelope, CoordinateReferenceSystem targetCRS)`
  Transforms the given envelope to the specified CRS.
  `static GeneralEnvelope`
  Envelopes.`transform(CoordinateOperation operation, Envelope envelope)`
  Transforms an envelope using the given coordinate operation.
  `static GeneralEnvelope`
  Envelopes.`transform(MathTransform transform, Envelope envelope)`
  Transforms an envelope using the given math transform.
  `static Rectangle2D`
  Shapes2D.`transform(CoordinateOperation operation, Rectangle2D envelope, Rectangle2D destination)`
  Transforms a rectangular envelope using the given coordinate operation.
  `static Rectangle2D`
  Shapes2D.`transform(MathTransform2D transform, Rectangle2D envelope, Rectangle2D destination)`
  Transforms a rectangular envelope using the given math transform.
  `static Map<Parameters, GeneralEnvelope>`
  Envelopes.`transformWithWraparound(MathTransform transform, Envelope envelope)`
  Transforms potentially many times an envelope using the given math transform.
  `static GeneralEnvelope`
  Envelopes.`union(Envelope... envelopes)`
  Computes the union of all given envelopes, transforming them to a common CRS if necessary.

- ## Uses of TransformException in org.apache.sis.gui.referencing

  Methods in org.apache.sis.gui.referencing that throw TransformException
  Modifier and Type
  Method
  Description
  `ProjectedCRS`
  PositionableProjection.`createProjectedCRS(DirectPosition center)`
  Creates a map projection centered on the given position.

- ## Uses of TransformException in org.apache.sis.image

  Methods in org.apache.sis.image that throw TransformException
  Modifier and Type
  Method
  Description
  `protected Raster`
  ResampledImage.`computeTile(int tileX, int tileY, WritableRaster tile)`
  Invoked when a tile need to be computed or updated.

- ## Uses of TransformException in org.apache.sis.measure

  Methods in org.apache.sis.measure that throw TransformException
  Modifier and Type
  Method
  Description
  `NumberRange<?>`
  NumberRange.`transform(MathTransform1D converter)`
  Returns this range converted using the given converter.

- ## Uses of TransformException in org.apache.sis.metadata.iso.extent

  Subclasses of TransformException in org.apache.sis.metadata.iso.extent
  Modifier and Type
  Class
  Description
  `class`
  `NotSpatioTemporalException`
  Thrown when an envelope cannot be transformed to a geographic, vertical or temporal extent.
  Methods in org.apache.sis.metadata.iso.extent that throw TransformException
  Modifier and Type
  Method
  Description
  `void`
  DefaultExtent.`addElements(Envelope envelope)`
  Adds geographic, vertical or temporal extents inferred from the given envelope.
  `void`
  DefaultGeographicBoundingBox.`setBounds(Envelope envelope)`
  Sets the bounding box to the specified envelope.
  `void`
  DefaultSpatialTemporalExtent.`setBounds(Envelope envelope)`
  Sets this spatiotemporal extent to values inferred from the specified envelope.
  `void`
  DefaultTemporalExtent.`setBounds(Envelope envelope)`
  Sets this temporal extent to values inferred from the specified envelope.
  `void`
  DefaultVerticalExtent.`setBounds(Envelope envelope)`
  Sets this vertical extent to values inferred from the specified envelope.

- ## Uses of TransformException in org.apache.sis.referencing.datum

  Methods in org.apache.sis.referencing.datum that throw TransformException
  Modifier and Type
  Method
  Description
  `Envelope`
  DatumShiftGrid.`getDomainOfValidity()`
  Returns the domain of validity of input coordinates that can be specified to the `interpolateAt(…)` method.
  `Envelope`
  DatumShiftGrid.`getDomainOfValidity(Unit<C> unit)`
  Returns the domain of validity converted to the specified unit of measurement.
  `double[]`
  DatumShiftGrid.`interpolateAt(double... coordinates)`
  Interpolates the translation to apply for the given coordinates.

- ## Uses of TransformException in org.apache.sis.referencing.gazetteer

  Subclasses of TransformException in org.apache.sis.referencing.gazetteer
  Modifier and Type
  Class
  Description
  `class`
  `GazetteerException`
  Thrown when a coordinate cannot be converted to a geographic identifier, or conversely.
  `class`
  `ReferenceVerifyException`
  Thrown when a geographic identifier (or reference) has been successfully parsed but fails some verification.
  Methods in org.apache.sis.referencing.gazetteer that throw TransformException
  Modifier and Type
  Method
  Description
  `AbstractLocation`
  GeohashReferenceSystem.Coder.`decode(CharSequence geohash)`
  Decodes the given geohash into a latitude and a longitude.
  `AbstractLocation`
  MilitaryGridReferenceSystem.Coder.`decode(CharSequence reference)`
  Decodes the given MGRS reference into a position and an envelope.
  `abstract AbstractLocation`
  ReferencingByIdentifiers.Coder.`decode(CharSequence identifier)`
  Decodes the given identifier into a latitude and a longitude.
  `String`
  GeohashReferenceSystem.Coder.`encode(double φ, double λ)`
  Encodes the given latitude and longitude into a geohash.
  `String`
  GeohashReferenceSystem.Coder.`encode(DirectPosition position)`
  Encodes the given position into a geohash.
  `String`
  GeohashReferenceSystem.Coder.`encode(DirectPosition position, Quantity<?> precision)`
  Encodes the given position into a geohash with the given precision.
  `String`
  MilitaryGridReferenceSystem.Coder.`encode(DirectPosition position)`
  Encodes the given position into a MGRS reference.
  `String`
  MilitaryGridReferenceSystem.Coder.`encode(DirectPosition position, Quantity<?> precision)`
  Encodes the given position into a MGRS reference with the given precision.
  `Iterator<String>`
  MilitaryGridReferenceSystem.Coder.`encode(Envelope areaOfInterest)`
  Returns an iterator over all MGRS references that intersect the given envelope.
  `Stream<String>`
  MilitaryGridReferenceSystem.Coder.`encode(Envelope areaOfInterest, boolean parallel)`
  Returns a stream of all MGRS references that intersect the given envelope.
  `abstract String`
  ReferencingByIdentifiers.Coder.`encode(DirectPosition position)`
  Encodes the given position into an identifier.
  `String`
  ReferencingByIdentifiers.Coder.`encode(DirectPosition position, Quantity<?> precision)`
  A combined method which sets the encoder precision to the given value, then formats the given position.

- ## Uses of TransformException in org.apache.sis.referencing.operation

  Methods in org.apache.sis.referencing.operation that throw TransformException
  Modifier and Type
  Method
  Description
  `AbstractCoordinateSet`
  AbstractCoordinateOperation.`transform(AbstractCoordinateSet data)`
  Changes coordinates from being referenced to the source CRS and/or epoch to being referenced to the target CRS and/or epoch.

- ## Uses of TransformException in org.apache.sis.referencing.operation.builder

  Methods in org.apache.sis.referencing.operation.builder that throw TransformException
  Modifier and Type
  Method
  Description
  `Envelope`
  LocalizationGridBuilder.`getSourceEnvelope(boolean fullArea)`
  Returns the envelope of source coordinates.
  `void`
  LinearTransformBuilder.`setControlPoints(MathTransform gridToCRS)`
  Sets all control point (source, target) pairs, overwriting any previous setting.

- ## Uses of TransformException in org.apache.sis.referencing.operation.matrix

  Subclasses of TransformException in org.apache.sis.referencing.operation.matrix
  Modifier and Type
  Class
  Description
  `class`
  `NoninvertibleMatrixException`
  Thrown when a matrix cannot be inverted.

- ## Uses of TransformException in org.apache.sis.referencing.operation.transform

  Methods in org.apache.sis.referencing.operation.transform that throw TransformException
  Modifier and Type
  Method
  Description
  `Shape`
  AbstractMathTransform2D.`createTransformedShape(Shape shape)`
  Transforms the specified shape.
  `Shape`
  AbstractMathTransform2D.Inverse.`createTransformedShape(Shape shape)`
  Transforms the specified shape.
  `void`
  LinearTransform.`deltaTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)`
  Transforms an array of relative distance vectors.
  `Matrix`
  AbstractMathTransform.`derivative(DirectPosition point)`
  Gets the derivative of this transform at a point.
  `Matrix`
  AbstractMathTransform.Inverse.`derivative(DirectPosition point)`
  Gets the derivative of this transform at a point.
  `abstract double`
  AbstractMathTransform1D.`derivative(double value)`
  Gets the derivative of this function at a value.
  `Matrix`
  AbstractMathTransform1D.`derivative(DirectPosition point)`
  Gets the derivative of this transform at a point.
  `Matrix`
  AbstractMathTransform1D.Inverse.`derivative(DirectPosition point)`
  Gets the derivative of this transform at a point.
  `Matrix`
  AbstractMathTransform2D.`derivative(Point2D point)`
  Gets the derivative of this transform at a point.
  `Matrix`
  AbstractMathTransform2D.Inverse.`derivative(Point2D point)`
  Gets the derivative of this transform at a point.
  `Matrix`
  EllipsoidToCentricTransform.`derivative(DirectPosition point)`
  Computes the derivative at the given location.
  `Matrix`
  PassThroughTransform.`derivative(DirectPosition point)`
  Gets the derivative of this transform at a point.
  `static Matrix`
  MathTransforms.`derivativeAndTransform(MathTransform transform, double[] srcPts, int srcOff, double[] dstPts, int dstOff)`
  A buckle method for calculating derivative and coordinate transformation in a single step.
  `void`
  DomainDefinition.`estimate(MathTransform evaluated)`
  Estimates the domain of the given math transform and intersects it with previously computed domains.
  `Optional<Envelope>`
  AbstractMathTransform.`getDomain(DomainDefinition criteria)`
  Returns the ranges of coordinate values which can be used as inputs.
  `Optional<Envelope>`
  AbstractMathTransform.Inverse.`getDomain(DomainDefinition criteria)`
  Returns the ranges of coordinate values which can be used as inputs.
  `static Optional<Envelope>`
  MathTransforms.`getDomain(MathTransform evaluated)`
  Returns source coordinate values where the transform is mathematically and numerically applicable.
  `static Matrix`
  MathTransforms.`getMatrix(MathTransform toApproximate, DirectPosition tangentPoint)`
  Returns the coefficients of an affine transform in the vicinity of the given position.
  `protected void`
  EllipsoidToCentricTransform.`inverseTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)`
  Converts Cartesian coordinates (X,Y,Z) to ellipsoidal coordinates (λ,φ) or (λ,φ,h).
  `static LinearTransform`
  MathTransforms.`tangent(MathTransform toApproximate, DirectPosition tangentPoint)`
  Returns a linear (usually affine) transform which approximates the given transform in the vicinity of the given position.
  `abstract Matrix`
  AbstractMathTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate)`
  Transforms a single coordinate tuple in an array, and optionally computes the transform derivative at that location.
  `void`
  AbstractMathTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)`
  Transforms a list of coordinate tuples.
  `void`
  AbstractMathTransform.`transform(double[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)`
  Transforms a list of coordinate tuples.
  `void`
  AbstractMathTransform.`transform(float[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)`
  Transforms a list of coordinate tuples.
  `void`
  AbstractMathTransform.`transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)`
  Transforms a list of coordinate tuples.
  `DirectPosition`
  AbstractMathTransform.`transform(DirectPosition ptSrc, DirectPosition ptDst)`
  Transforms the specified `ptSrc` and stores the result in `ptDst`.
  `Matrix`
  AbstractMathTransform1D.Inverse.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate)`
  Transforms a single point in the given array and opportunistically computes its derivative if requested.
  `abstract double`
  AbstractMathTransform1D.`transform(double value)`
  Transforms the specified value.
  `Matrix`
  AbstractMathTransform1D.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate)`
  Transforms a single point in the given array and opportunistically computes its derivative if requested.
  `Point2D`
  AbstractMathTransform2D.Inverse.`transform(Point2D ptSrc, Point2D ptDst)`
  Transforms the specified `ptSrc` and stores the result in `ptDst`.
  `Point2D`
  AbstractMathTransform2D.`transform(Point2D ptSrc, Point2D ptDst)`
  Transforms the specified `ptSrc` and stores the result in `ptDst`.
  `Matrix`
  EllipsoidToCentricTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate)`
  Converts the (λ,φ) or (λ,φ,h) geodetic coordinates to to (X,Y,Z) geocentric coordinates, and optionally returns the derivative at that location.
  `void`
  EllipsoidToCentricTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)`
  Converts the (λ,φ) or (λ,φ,h) geodetic coordinates to to (X,Y,Z) geocentric coordinates.
  `Matrix`
  EllipsoidToRadiusTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate)`
  Converts the (λ,Ω) spherical coordinates to (λ,Ω,R), and optionally returns the derivative at that location.
  `void`
  EllipsoidToRadiusTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)`
  Converts the (λ,Ω) spherical coordinates to (λ,Ω,R) in a sequence of coordinate tuples.
  `Matrix`
  InterpolatedGeocentricTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate)`
  Transforms the (λ,φ) or (λ,φ,h) coordinates between two geographic CRS, and optionally returns the derivative at that location.
  `Matrix`
  InterpolatedTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate)`
  Applies the datum shift on a coordinate tuple and optionally returns the derivative at that location.
  `void`
  InterpolatedTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)`
  Transforms an arbitrary number of coordinate tuples.
  `Matrix`
  MolodenskyTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate)`
  Transforms the (λ,φ) or (λ,φ,h) coordinates between two geographic CRS, and optionally returns the derivative at that location.
  `void`
  MolodenskyTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)`
  Transforms the (λ,φ) or (λ,φ,h) coordinates between two geographic CRS.
  `Matrix`
  PassThroughTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate)`
  Transforms a single position in a sequence of coordinate tuples, and opportunistically computes the transform derivative if requested.
  `void`
  PassThroughTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)`
  Transforms many positions in a sequence of coordinate tuples.
  `void`
  PassThroughTransform.`transform(double[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)`
  Transforms many positions in a sequence of coordinate tuples.
  `void`
  PassThroughTransform.`transform(float[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)`
  Transforms many positions in a sequence of coordinate tuples.
  `void`
  PassThroughTransform.`transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)`
  Transforms many positions in a sequence of coordinate tuples.
  `Matrix`
  PoleRotation.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate)`
  Transforms a single coordinate tuple in an array, and optionally computes the transform derivative at that location.
  `void`
  PoleRotation.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)`
  Converts a list of coordinate tuples.

- ## Uses of TransformException in org.opengis.referencing.operation

  Subclasses of TransformException in org.opengis.referencing.operation
  Modifier and Type
  Class
  Description
  `class`
  `NoninvertibleTransformException`
  Thrown when `MathTransform.inverse()` is invoked but the transform cannot be inverted.
  Methods in org.opengis.referencing.operation that throw TransformException
  Modifier and Type
  Method
  Description
  `Shape`
  MathTransform2D.`createTransformedShape(Shape shape)`
  Transforms the specified shape.
  `Matrix`
  MathTransform.`derivative(DirectPosition point)`
  Gets the derivative of this transform at a point.
  `double`
  MathTransform1D.`derivative(double value)`
  Gets the derivative of this function at a value.
  `Matrix`
  MathTransform2D.`derivative(Point2D point)`
  Gets the derivative of this transform at a point.
  `void`
  MathTransform.`transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)`
  Transforms a list of coordinate point ordinal values.
  `void`
  MathTransform.`transform(double[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)`
  Transforms a list of coordinate point ordinal values.
  `void`
  MathTransform.`transform(float[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)`
  Transforms a list of coordinate point ordinal values.
  `void`
  MathTransform.`transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)`
  Transforms a list of coordinate point ordinal values.
  `DirectPosition`
  MathTransform.`transform(DirectPosition ptSrc, DirectPosition ptDst)`
  Transforms the specified `ptSrc` and stores the result in `ptDst`.
  `double`
  MathTransform1D.`transform(double value)`
  Transforms the specified value.
  `Point2D`
  MathTransform2D.`transform(Point2D ptSrc, Point2D ptDst)`
  Transforms the specified `ptSrc` and stores the result in `ptDst`.