Uses of Class
org.geotools.api.referencing.operation.TransformException
-
-
Uses of TransformException in org.geotools.api.geometry
Methods in org.geotools.api.geometry that throw TransformException Modifier and Type Method Description BoundingBox
BoundingBox. toBounds(CoordinateReferenceSystem targetCRS)
Transforms this box to the specified CRS and returns a new bounding box for the transformed shape.BoundingBox
BoundingBox3D. toBounds(CoordinateReferenceSystem targetCRS)
Transforms this box to the specified CRS and returns a new bounding box for the transformed shape. -
Uses of TransformException in org.geotools.api.referencing.operation
Subclasses of TransformException in org.geotools.api.referencing.operation Modifier and Type Class Description class
NoninvertibleTransformException
Thrown whenMathTransform.inverse()
is invoked but the transform can't be inverted.Methods in org.geotools.api.referencing.operation that throw TransformException Modifier and Type Method Description Shape
MathTransform2D. createTransformedShape(Shape shape)
Transforms the specified shape.Matrix
MathTransform. derivative(Position 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.Position
MathTransform. transform(Position ptSrc, Position ptDst)
Transforms the specifiedptSrc
and stores the result inptDst
.double
MathTransform1D. transform(double value)
Transforms the specified value.Point2D
MathTransform2D. transform(Point2D ptSrc, Point2D ptDst)
Transforms the specifiedptSrc
and stores the result inptDst
. -
Uses of TransformException in org.geotools.coverage.grid
Methods in org.geotools.coverage.grid that throw TransformException Modifier and Type Method Description static LookupTableJAI
LookupTableFactory. create(int sourceType, int targetType, MathTransform1D[] transforms)
Gets a lookup factoryPosition
GridGeometry2D. gridToWorld(GridCoordinates2D point)
Transforms a point represented by a GridCoordinates2D object from grid to world coordinates.ReferencedEnvelope
GridGeometry2D. gridToWorld(GridEnvelope2D gridEnv)
Transforms an represented by a GridEnvelope2D object from grid to world coordinates.GridEnvelope2D
GridGeometry2D. worldToGrid(BoundingBox envelope)
Transforms a rectangle represented by an Envelope2D object from world to grid coordinates.GridCoordinates2D
GridGeometry2D. worldToGrid(Position point)
Transforms a point represented by a DirectPosition object from world to grid coordinates.GridEnvelope2D
GridGeometry2D. worldToGrid(ReferencedEnvelope envelope)
Transforms a rectangle represented by an ReferencedEnvelope (or BoundingBox) from world to grid coordinates. -
Uses of TransformException in org.geotools.coverage.grid.io
Methods in org.geotools.coverage.grid.io that throw TransformException Modifier and Type Method Description protected Integer
AbstractGridCoverage2DReader. setReadParams(String coverageName, OverviewPolicy overviewPolicy, ImageReadParam readP, GeneralBounds requestedEnvelope, Rectangle requestedDim)
This method is responsible for preparing the read param for doing anImageReader.read(int, ImageReadParam)
.protected Integer
AbstractGridCoverage2DReader. setReadParams(OverviewPolicy overviewPolicy, ImageReadParam readP, GeneralBounds requestedEnvelope, Rectangle requestedDim)
This method is responsible for preparing the read param for doing anImageReader.read(int, ImageReadParam)
. -
Uses of TransformException in org.geotools.coverage.io
Methods in org.geotools.coverage.io that throw TransformException Modifier and Type Method Description void
CoverageReadRequest. setDomainSubset(Rectangle rasterArea, MathTransform2D gridToWorldTrasform, CoordinateReferenceSystem crs)
-
Uses of TransformException in org.geotools.coverage.io.util
Methods in org.geotools.coverage.io.util that throw TransformException Modifier and Type Method Description static Rectangle
Utilities. getCropRegion(GeneralBounds envelope, MathTransform gridToWorldTransform)
Return a crop region from a specified envelope, leveraging on a grid to world transformation.static Bounds
Utilities. getEnvelopeAsWGS84(Bounds bounds, boolean get2D)
Get a WGS84 envelope for the specified envelope.static GeneralBounds
Utilities. getIntersection(ReferencedEnvelope baseEnvelope2D, CoordinateReferenceSystem spatialReferenceSystem2D, GeneralBounds requestedEnvelope2D, Rectangle requestedDim, MathTransform2D readGridToWorld, ReferencedEnvelope wgs84BaseEnvelope2D)
Returns the intersection between the base envelope and the requested envelope.static GeneralBounds
Utilities. getRequestedEnvelope2D(GeneralBounds requestedEnvelope)
Return a 2D version of a requestedEnvelopestatic void
Utilities. setReadParameters(OverviewPolicy overviewPolicy, ImageReadParam readParam, GeneralBounds requestedEnvelope, Rectangle requestedDim, double[] highestRes, GridEnvelope gridRange, PixelInCell pixelInCell)
Prepares the read parameters for doing anImageReader.read(int, ImageReadParam)
. -
Uses of TransformException in org.geotools.coverage.processing
Methods in org.geotools.coverage.processing that throw TransformException Modifier and Type Method Description protected static Polygon
BaseStatisticsOperationJAI. convertPolygon(Polygon roiInput, MathTransform worldToGridTransform)
Converte a JTSPolygon
, which represents a ROI, into an AWTPolygon
by means of the providedMathTransform
. -
Uses of TransformException in org.geotools.coverage.processing.operation
Methods in org.geotools.coverage.processing.operation that throw TransformException Modifier and Type Method Description static GridGeometry
Resample. computeGridGeometry(GridCoverage source, Bounds target)
Computes a grid geometry from a source coverage and a target envelope. -
Uses of TransformException in org.geotools.coverage.util
Methods in org.geotools.coverage.util that throw TransformException Modifier and Type Method Description static Polygon
FeatureUtilities. convertPolygon(Polygon roiInput, MathTransform worldToGridTransform)
Converts a JTSPolygon
, which represents a ROI, int an AWTPolygon
by means of the providedMathTransform
.static Polygon
FeatureUtilities. convertPolygonToPointArray(Polygon roiInput, MathTransform worldToGridTransform, List<Point2D> points)
Converts a JTSPolygon
, which represents a ROI, int an AWTPolygon
by means of the providedMathTransform
.static CoordinateReferenceSystem
CoverageUtilities. getCRS2D(Coverage coverage)
Returns a two-dimensional CRS for the given coverage.static CoordinateReferenceSystem
CoverageUtilities. getHorizontalCRS(Coverage coverage)
Returns a two-dimensional horizontal CRS for the given coverage.static SimpleFeatureCollection
FeatureUtilities. wrapGridCoverage(GridCoverage2D coverage)
Wraps a grid coverage into a Feature.static SimpleFeatureCollection
FeatureUtilities. wrapGridCoverageReader(GridCoverage2DReader gridCoverageReader, GeneralParameterValue[] params)
Wraps a grid coverage into a Feature. -
Uses of TransformException in org.geotools.data.crs
Constructors in org.geotools.data.crs that throw TransformException Constructor Description ReprojectFeatureResults(FeatureCollection<SimpleFeatureType,SimpleFeature> results, CoordinateReferenceSystem destinationCS)
Creates a new reprojecting feature results -
Uses of TransformException in org.geotools.data.util
Methods in org.geotools.data.util that throw TransformException Modifier and Type Method Description boolean
ScreenMap. checkAndSet(Envelope envelope)
boolean
ScreenMap. get(Envelope envelope)
-
Uses of TransformException in org.geotools.feature
Methods in org.geotools.feature that throw TransformException Modifier and Type Method Description static SimpleFeature
FeatureTypes. transform(SimpleFeature feature, SimpleFeatureType schema, MathTransform transform)
Applies transform to all geometry attribute. -
Uses of TransformException in org.geotools.gce.grassraster
Methods in org.geotools.gce.grassraster that throw TransformException Modifier and Type Method Description static JGrassRegion
JGrassUtilities. getJGrassRegionFromGridCoverage(GridCoverage2D gridCoverage2D)
static Envelope
JGrassUtilities. reprojectEnvelopeByEpsg(int srcEpsg, int destEpsg, Envelope srcEnvelope)
-
Uses of TransformException in org.geotools.gce.imagemosaic
Methods in org.geotools.gce.imagemosaic that throw TransformException Modifier and Type Method Description static ReferencedEnvelope
Utils. reprojectEnvelope(ReferencedEnvelope sourceEnvelope, CoordinateReferenceSystem targetCRS, ReferencedEnvelope targetReferenceEnvelope)
static Geometry
Utils. reprojectEnvelopeToGeometry(ReferencedEnvelope sourceEnvelope, CoordinateReferenceSystem targetCRS, ReferencedEnvelope targetReferenceEnvelope)
Reprojects an envelope using theProjectionHandler
machinery.void
ImageMosaicConfigHandler. updateConfiguration(GridCoverage2DReader coverageReader, String inputCoverageName, File fileBeingProcessed, int fileIndex, double numFiles, DefaultTransaction transaction)
void
ImageMosaicConfigHandler. updateConfiguration(GridCoverage2DReader coverageReader, String inputCoverageName, ImageMosaicSourceElement element, int fileIndex, double numFiles, DefaultTransaction transaction)
Use the passed coverageReader to create or update the all the needed configurations
It not responsible of the passed coverageReader which should be disposed outside (in the caller). -
Uses of TransformException in org.geotools.geometry
Methods in org.geotools.geometry that throw TransformException Modifier and Type Method Description Position
TransformedPosition. inverseTransform()
Returns a new point with the same coordinates than this one, but transformed in thesourceCRS
given at construction time.Position
TransformedPosition. inverseTransform(CoordinateReferenceSystem crs)
Returns a new point with the same coordinates than this one, but transformed in the given CRS.BoundingBox
Envelope2DArchived. toBounds(CoordinateReferenceSystem targetCRS)
void
TransformedPosition. transform(Position position)
Transforms a given position and stores the result in this object. -
Uses of TransformException in org.geotools.geometry.jts
Methods in org.geotools.geometry.jts that throw TransformException Modifier and Type Method Description static double[]
Decimator. computeGeneralizationDistances(MathTransform screenToWorld, Rectangle paintArea, double pixelDistance)
Given a full transformation from screen to world and the paint area computes a best guess of the maxium generalization distance that won't make the transformations induced by the generalization visible on screen.Geometry
Decimator. decimateTransformGeneralize(Geometry geometry, MathTransform transform)
static double
JTS. orthodromicDistance(Coordinate p1, Coordinate p2, CoordinateReferenceSystem crs)
Computes the orthodromic distance between two points.void
LiteShape2. setGeometry(Geometry g)
Sets the geometry contained in this lite shape.BoundingBox
ReferencedEnvelope. toBounds(CoordinateReferenceSystem targetCRS)
Returns a new bounding box which contains the transformed shape of this bounding box.BoundingBox
ReferencedEnvelope3D. toBounds(CoordinateReferenceSystem targetCRS)
Returns a new bounding box which contains the transformed shape of this bounding box.static ReferencedEnvelope
JTS. toGeographic(ReferencedEnvelope envelope)
Transforms the envelope toDefaultGeographicCRS.WGS84
.static Envelope
JTS. toGeographic(Envelope envelope, CoordinateReferenceSystem crs)
Transforms the envelope from its current crs toDefaultGeographicCRS.WGS84
.static Geometry
JTS. toGeographic(Geometry geom, CoordinateReferenceSystem crs)
Transforms the geometry from its current crs toDefaultGeographicCRS.WGS84
.CoordinateSequence
CoordinateSequenceTransformer. transform(CoordinateSequence sequence, MathTransform transform)
Returns a transformed coordinate sequence.CoordinateSequence
DefaultCoordinateSequenceTransformer. transform(CoordinateSequence sequence, MathTransform transform)
Returns a transformed coordinate sequence.Geometry
GeometryCoordinateSequenceTransformer. transform(Geometry g)
Applies the transform to the provided geometry, creating a new transformed geometry.static Coordinate
JTS. transform(Coordinate source, Coordinate dest, MathTransform transform)
Transforms the coordinate using the provided math transform.static Envelope
JTS. transform(Envelope envelope, MathTransform transform)
Transforms the envelope using the specified math transform.static Envelope
JTS. transform(Envelope sourceEnvelope, Envelope targetEnvelope, MathTransform transform, int npoints)
Transforms the densified envelope using the specified math transform.static Geometry
JTS. transform(Geometry geom, MathTransform transform)
Transforms the geometry using the default transformer.CoordinateSequence
PreciseCoordinateSequenceTransformer. transform(CoordinateSequence cs, MathTransform transform)
ReferencedEnvelope
ReferencedEnvelope. transform(CoordinateReferenceSystem targetCRS, boolean lenient)
Transforms the referenced envelope to the specified coordinate reference system.ReferencedEnvelope
ReferencedEnvelope. transform(CoordinateReferenceSystem targetCRS, boolean lenient, int numPointsForTransformation)
Transforms the referenced envelope to the specified coordinate reference system using the specified amount of points.ReferencedEnvelope
ReferencedEnvelope3D. transform(CoordinateReferenceSystem targetCRS, boolean lenient)
Transforms the referenced envelope to the specified coordinate reference system.ReferencedEnvelope
ReferencedEnvelope3D. transform(CoordinateReferenceSystem targetCRS, boolean lenient, int numPointsForTransformation)
Transforms the referenced envelope to the specified coordinate reference system using the specified amount of points.LineString
GeometryCoordinateSequenceTransformer. transformLineString(LineString ls, GeometryFactory gf)
Point
GeometryCoordinateSequenceTransformer. transformPoint(Point point, GeometryFactory gf)
Polygon
GeometryCoordinateSequenceTransformer. transformPolygon(Polygon polygon, GeometryFactory gf)
static ReferencedEnvelope
JTS. transformTo2D(ReferencedEnvelope sourceEnvelope, CoordinateReferenceSystem targetCRS, boolean lenient, int npoints)
Transform from 3D down to 2D.static ReferencedEnvelope3D
JTS. transformTo3D(ReferencedEnvelope sourceEnvelope, CoordinateReferenceSystem targetCRS, boolean lenient, int npoints)
Transform from D up to 3D.static void
JTS. xform(MathTransform transform, double[] src, double[] dest)
Like a transform but eXtreme!Constructors in org.geotools.geometry.jts that throw TransformException Constructor Description LiteShape2(Geometry geom, MathTransform mathTransform, Decimator decimator, boolean generalize)
Creates a new LiteShape object.LiteShape2(Geometry geom, MathTransform mathTransform, Decimator decimator, boolean generalize, boolean clone)
Creates a new LiteShape object.LiteShape2(Geometry geom, MathTransform mathTransform, Decimator decimator, boolean generalize, double maxDistance)
Creates a new LiteShape object. -
Uses of TransformException in org.geotools.geometry.jts.coordinatesequence
Methods in org.geotools.geometry.jts.coordinatesequence that throw TransformException Modifier and Type Method Description CoordinateSequence
InPlaceCoordinateSequenceTransformer. transform(CoordinateSequence cs, MathTransform transform)
-
Uses of TransformException in org.geotools.metadata.iso.extent
Constructors in org.geotools.metadata.iso.extent that throw TransformException Constructor Description GeographicBoundingBoxImpl(Bounds envelope)
Constructs a geographic bounding box from the specified envelope. -
Uses of TransformException in org.geotools.process.vector
Methods in org.geotools.process.vector that throw TransformException Modifier and Type Method Description SimpleFeatureCollection
GraticuleLabelPointProcess. execute(SimpleFeatureCollection features, ReferencedEnvelope bounds, Double offset, String placement)
SimpleFeatureCollection
PointStackerProcess. execute(SimpleFeatureCollection data, Integer cellSize, Boolean argWeightClusterPosition, Boolean argNormalize, PointStackerProcess.PreserveLocation preserveLocation, ReferencedEnvelope outputEnv, Integer outputWidth, Integer outputHeight, String cql, ProgressListener monitor)
-
Uses of TransformException in org.geotools.referencing
Methods in org.geotools.referencing that throw TransformException Modifier and Type Method Description protected void
Console. execute(String instruction)
Execute the specified instruction.Position
GeodeticCalculator. getDestinationPosition()
Returns the destination position in user coordinates, which doesn't need to be geographic.Position
GeodeticCalculator. getStartingPosition()
Returns the starting position in user coordinates, which doesn't need to be geographic.void
GeodeticCalculator. setDestinationPosition(Position position)
Set the destination position in user coordinates, which doesn't need to be geographic.void
GeodeticCalculator. setStartingPosition(Position position)
Set the starting position in user coordinates, which doesn't need to be geographic.protected void
Console. test()
Invoked automatically when thetarget pt
instruction were executed and atest tolerance
were previously set.static GeneralBounds
CRS. transform(Bounds envelope, CoordinateReferenceSystem targetCRS)
Transforms the given envelope to the specified CRS.static Rectangle2D
CRS. transform(CoordinateOperation operation, Rectangle2D envelope, Rectangle2D destination)
Transforms a rectangular envelope using the given coordinate operation.static GeneralBounds
CRS. transform(CoordinateOperation operation, Bounds envelope)
Transforms an envelope using the given coordinate operation.static Rectangle2D
CRS. transform(MathTransform2D transform, Rectangle2D rectangle)
Transforms an rectangular envelope using the given math transform.static Rectangle2D
CRS. transform(MathTransform2D transform, Rectangle2D envelope, Rectangle2D destination)
Transforms a rectangular envelope using the given math transform.static GeneralBounds
CRS. transform(MathTransform transform, Bounds envelope)
Transforms an envelope using the given math transform. -
Uses of TransformException in org.geotools.referencing.operation
Subclasses of TransformException in org.geotools.referencing.operation Modifier and Type Class Description class
TransformPathNotFoundException
Thrown when a transformation can't be performed because no path from source CRS to target CRS has been found. -
Uses of TransformException in org.geotools.referencing.operation.projection
Subclasses of TransformException in org.geotools.referencing.operation.projection Modifier and Type Class Description class
PointOutsideEnvelopeException
Thrown byMapProjection
when a map projection failed because the point is outside the envelope of validity.class
ProjectionException
Thrown byMapProjection
when a map projection failed.Methods in org.geotools.referencing.operation.projection that throw TransformException Modifier and Type Method Description static Bounds
GeostationarySatellite. circumscribeFullDisk(CoordinateReferenceSystem geosCRS)
Circumscribed rectangle (smallest) for full disk earth imagestatic Bounds
GeostationarySatellite. inscribeFullDiskEstimate(CoordinateReferenceSystem geosCRS)
Inscribed rectangle for for full disk earth image (not largest inscribing rectangle but close, hence "Estimate") -
Uses of TransformException in org.geotools.referencing.operation.transform
Methods in org.geotools.referencing.operation.transform that throw TransformException Modifier and Type Method Description Warp
WarpBuilder. buildWarp(MathTransform2D mt, Rectangle domain)
Shape
AbstractMathTransform. createTransformedShape(Shape shape)
Transform the specified shape.Matrix
AbstractMathTransform. derivative(Point2D point)
Gets the derivative of this transform at a point.Matrix
AbstractMathTransform. derivative(Position point)
Gets the derivative of this transform at a point.Matrix
AbstractMathTransform.Inverse. derivative(Point2D point)
Gets the derivative of this transform at a point.Matrix
AbstractMathTransform.Inverse. derivative(Position point)
Gets the derivative of this transform at a point.Matrix
ConcatenatedTransform. derivative(Point2D point)
Gets the derivative of this transform at a point.Matrix
ConcatenatedTransform. derivative(Position point)
Gets the derivative of this transform at a point.Matrix
LinearTransform1D. derivative(Position point)
Gets the derivative of this transform at a point.Matrix
MathTransformProxy. derivative(Position point)
Gets the derivative of this transform at a point.Matrix
PassThroughTransform. derivative(Position point)
Gets the derivative of this transform at a point.double
EarthGravitationalModel. heightOffset(double longitude, double latitude, double height)
Returns the value to add to a height above the ellipsoid in order to get a height above the geoid for the specified geographic coordinate.protected abstract double
VerticalTransform. heightOffset(double longitude, double latitude, double height)
Returns the value to add to a height above the ellipsoid in order to get a height above the geoid for the specified geographic coordinate.void
NADCONTransform. inverseTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
Transforms nad83 values to nad27.void
NTv2Transform. inverseTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
Inverse transform.void
AbstractMathTransform. transform(double[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.void
AbstractMathTransform. transform(float[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.void
AbstractMathTransform. transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.Point2D
AbstractMathTransform. transform(Point2D ptSrc, Point2D ptDst)
Transforms the specifiedptSrc
and stores the result inptDst
.Position
AbstractMathTransform. transform(Position ptSrc, Position ptDst)
Transforms the specifiedptSrc
and stores the result inptDst
.void
ConcatenatedTransform. transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.void
ConcatenatedTransform. transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.Position
ConcatenatedTransform. transform(Position ptSrc, Position ptDst)
Transforms the specifiedptSrc
and stores the result inptDst
.void
MathTransformProxy. transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.void
MathTransformProxy. transform(double[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.void
MathTransformProxy. transform(float[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.void
MathTransformProxy. transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.Position
MathTransformProxy. transform(Position ptSrc, Position ptDst)
Transforms the specifiedptSrc
and stores the result inptDst
.void
NADCONTransform. transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.void
NTv2Transform. transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.void
PassThroughTransform. transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.void
PassThroughTransform. transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.void
VerticalTransform. transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values.void
VerticalTransform. transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
Transforms a list of coordinate point ordinal values. -
Uses of TransformException in org.geotools.referencing.util
Methods in org.geotools.referencing.util that throw TransformException Modifier and Type Method Description static void
BoundingBoxes. copy(Bounds envelope, GeographicBoundingBoxImpl box)
Initializes a geographic bounding box from the specified envelope.static Point2D
CRSUtilities. deltaTransform(MathTransform2D transform, Point2D origin, Point2D source, Point2D dest)
Transforms the relative distance vector specified bysource
and stores the result indest
.static Position
CRSUtilities. deltaTransform(MathTransform transform, Position origin, Position source)
Transforms the relative distance vector specified bysource
and stores the result indest
.static CoordinateReferenceSystem
CRSUtilities. getCRS2D(CoordinateReferenceSystem crs)
Returns a two-dimensional coordinate reference system representing the two first dimensions of the specified coordinate reference system. -
Uses of TransformException in org.geotools.renderer.crs
Methods in org.geotools.renderer.crs that throw TransformException Modifier and Type Method Description ReferencedEnvelope
ProjectionHandler. getProjectedEnvelope(ReferencedEnvelope envelope, CoordinateReferenceSystem targetCRS)
Reprojects the given envelope to the target CRS, taking into account the ProjectionHandler constraints (valid area bounds, etc.).List<ReferencedEnvelope>
ProjectionHandler. getQueryEnvelopes()
Returns a set of envelopes that will be used to query the data given the specified rendering envelope and the current query envelopeprotected List<ReferencedEnvelope>
ProjectionHandler. getSourceEnvelopes(ReferencedEnvelope renderingEnvelope)
Geometry
ProjectionHandler. preProcess(Geometry geometry)
Pre processes the geometry, e.g. cuts it, splits it, etc. in its native srs.Geometry
WrappingProjectionHandler. preProcess(Geometry geometry)
protected void
ProjectionHandler. reprojectEnvelopes(CoordinateReferenceSystem queryCRS, List<ReferencedEnvelope> envelopes)
protected ReferencedEnvelope
ProjectionHandler. transformEnvelope(ReferencedEnvelope envelope, CoordinateReferenceSystem targetCRS)
-
Uses of TransformException in org.geotools.renderer.lite
Methods in org.geotools.renderer.lite that throw TransformException Modifier and Type Method Description Object
RenderingTransformationHelper. applyRenderingTransformation(Expression transformation, FeatureSource featureSource, Query layerQuery, Query renderingQuery, GridGeometry2D gridGeometry, CoordinateReferenceSystem sourceCrs, RenderingHints hints)
static double
RendererUtilities. calculateScale(ReferencedEnvelope envelope, int imageWidth, int imageHeight, double DPI)
Find the scale denominator of the map.static double
RendererUtilities. calculateScale(ReferencedEnvelope envelope, int imageWidth, int imageHeight, Map<?,?> hints)
First searches the hints for the scale denominator hint otherwise calls#calculateScale(org.geotools.util.SoftValueHashMap.Reference, int, int, double)
.protected ReferencedEnvelope
StreamingRenderer. transformEnvelope(ReferencedEnvelope envelope, CoordinateReferenceSystem crs)
static AffineTransform
RendererUtilities. worldToScreenTransform(Envelope mapExtent, Rectangle paintArea, CoordinateReferenceSystem destinationCrs)
This worldToScreenTransform method makes the assumption that the crs is in Lon,Lat or Lat,Lon. -
Uses of TransformException in org.geotools.renderer.lite.gridcoverage2d
Methods in org.geotools.renderer.lite.gridcoverage2d that throw TransformException Modifier and Type Method Description double
MathTransformationAdapter. derivative(double value)
static List<GridCoverage2D>
GridCoverageRendererUtilities. displace(List<GridCoverage2D> coverages, ProjectionHandler handler, GeneralBounds destinationEnvelope, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, GridCoverageFactory gridCoverageFactory)
Displaces a list of coverages, using a ProjectionHandler to eventually split into proper envelopes.List<GridCoverage2D>
GridCoverageReaderHelper. readCoverages(GeneralParameterValue[] readParams, ProjectionHandler handler)
Reads the data taking into account advanced projection handling in order to deal with date line crossing, poles and other projection trouble areas.List<GridCoverage2D>
GridCoverageReaderHelper. readCoverages(GeneralParameterValue[] readParams, ProjectionHandler handler, GridCoverageFactory gridCoverageFactory)
Reads the data taking into account advanced projection handling in order to deal with date line crossing, poles and other projection trouble areas.RenderedImage
GridCoverageRenderer. renderImage(GridCoverage2D gridCoverage, RasterSymbolizer symbolizer, Interpolation interpolation, Color background, int tileSizeX, int tileSizeY)
Turns the coverage into a rendered image applying the necessary transformations and the symbolizerRenderedImage
GridCoverageRenderer. renderImage(GridCoverage2DReader reader, GeneralParameterValue[] readParams, RasterSymbolizer symbolizer, Interpolation interpolation, Color background, int tileSizeX, int tileSizeY)
Constructors in org.geotools.renderer.lite.gridcoverage2d that throw TransformException Constructor Description GridCoverageRenderer(CoordinateReferenceSystem destinationCRS, Envelope envelope, Rectangle screenSize, AffineTransform worldToScreen)
Creates a newGridCoverageRenderer
object.GridCoverageRenderer(CoordinateReferenceSystem destinationCRS, Envelope envelope, Rectangle screenSize, AffineTransform worldToScreen, RenderingHints newHints)
Creates a newGridCoverageRenderer
object. -
Uses of TransformException in org.geotools.tile.impl
Methods in org.geotools.tile.impl that throw TransformException Modifier and Type Method Description static ScaleZoomLevelMatcher
ScaleZoomLevelMatcher. createMatcher(ReferencedEnvelope requestExtent, CoordinateReferenceSystem crsTiles, double scale)
static ReferencedEnvelope
ScaleZoomLevelMatcher. getProjectedEnvelope(ReferencedEnvelope envelope, CoordinateReferenceSystem destinationCRS, MathTransform transformation)
Re-Projects the given envelope to destinationCRS using transformation.
-