Uses of Class
org.geotools.api.geometry.MismatchedDimensionException
-
-
Uses of MismatchedDimensionException in org.geotools.api.referencing.operation
Methods in org.geotools.api.referencing.operation that throw MismatchedDimensionException Modifier and Type Method Description Matrix
MathTransform. derivative(Position point)
Gets the derivative of this transform at a point.Position
MathTransform. transform(Position ptSrc, Position ptDst)
Transforms the specifiedptSrc
and stores the result inptDst
. -
Uses of MismatchedDimensionException in org.geotools.coverage.grid
Constructors in org.geotools.coverage.grid that throw MismatchedDimensionException Constructor Description GeneralGridGeometry(GridEnvelope gridRange, Bounds userRange)
Constructs a new grid geometry from an envelope.GeneralGridGeometry(GridEnvelope gridRange, PixelInCell anchor, MathTransform gridToCRS, CoordinateReferenceSystem crs)
Constructs a new grid geometry from a grid range and a math transform mapping pixel center or corner.GeneralGridGeometry(GridEnvelope gridRange, MathTransform gridToCRS, CoordinateReferenceSystem crs)
Constructs a new grid geometry from a grid range and a math transform mapping pixel center.GeneralGridGeometry(PixelInCell anchor, MathTransform gridToCRS, Bounds envelope)
Constructs a new grid geometry from an envelope and a math transform.GeneralGridGeometry(PixelInCell anchor, MathTransform gridToCRS, Bounds envelope, boolean gridMaxInclusive, boolean preserveGridToCRS)
Constructs a new grid geometry from an envelope and a math transform.GridGeometry2D(GridEnvelope gridRange, Bounds userRange)
Constructs a new grid geometry from an envelope.GridGeometry2D(GridEnvelope gridRange, PixelOrientation anchor, MathTransform gridToCRS, CoordinateReferenceSystem crs, Hints hints)
Constructs a new grid geometry from a math transform.GridGeometry2D(GridEnvelope gridRange, PixelInCell anchor, MathTransform gridToCRS, CoordinateReferenceSystem crs, Hints hints)
Constructs a new grid geometry from a math transform.GridGeometry2D(GridEnvelope gridRange, MathTransform gridToCRS, CoordinateReferenceSystem crs)
Constructs a new grid geometry from a grid range and a math transform.GridGeometry2D(PixelInCell anchor, MathTransform gridToCRS, Bounds envelope, Hints hints)
Constructs a new grid geometry from an envelope and a math transform. -
Uses of MismatchedDimensionException in org.geotools.coverage.io
Methods in org.geotools.coverage.io that throw MismatchedDimensionException Modifier and Type Method Description void
CoverageReadRequest. setDomainSubset(Rectangle rasterArea, MathTransform2D gridToWorldTrasform, CoordinateReferenceSystem crs)
-
Uses of MismatchedDimensionException in org.geotools.coverage.util
Methods in org.geotools.coverage.util that throw MismatchedDimensionException Modifier and Type Method Description static ReferencedEnvelope
CoverageUtilities. getEnvelope2D(Coverage coverage)
Returns a two-dimensional envelope for the given coverage.static Polygon
FeatureUtilities. getPolygon(GeneralBounds env, GeometryFactory gf)
Convert the crop envelope into a polygon and the use the world-to-grid transform to get a ROI for the source coverage. -
Uses of MismatchedDimensionException in org.geotools.feature
Methods in org.geotools.feature that throw MismatchedDimensionException Modifier and Type Method Description static SimpleFeature
FeatureTypes. transform(SimpleFeature feature, SimpleFeatureType schema, MathTransform transform)
Applies transform to all geometry attribute. -
Uses of MismatchedDimensionException in org.geotools.geometry
Methods in org.geotools.geometry that throw MismatchedDimensionException Modifier and Type Method Description void
GeneralBounds. add(double x, double y)
Adds a position to this bounds.void
GeneralBounds. add(Bounds envelope)
Adds an envelope object to this envelope.void
GeneralBounds. add(Position position)
Adds a position to this bounds.static void
AbstractPosition. checkCoordinateReferenceSystemDimension(CoordinateReferenceSystem crs, int expected)
Convenience method for checking coordinate reference system validity.boolean
GeneralBounds. contains(Bounds envelope, boolean edgesInclusive)
Returnstrue
if this envelope completly encloses the specified envelope.boolean
GeneralBounds. contains(Position position)
Tests if a specified coordinate is inside the boundary of this envelope.void
GeneralBounds. intersect(Bounds envelope)
Sets this envelope to the intersection if this envelope with the specified one.boolean
GeneralBounds. intersects(Bounds envelope, boolean edgesInclusive)
Returnstrue
if this envelope intersects the specified envelope.void
GeneralBounds. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Sets the coordinate reference system in which the coordinate are given.void
GeneralPosition. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Set the coordinate reference system in which the coordinate is given.void
TransformedPosition. setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Sets the coordinate reference system in which the coordinate is given.void
GeneralBounds. setEnvelope(GeneralBounds envelope)
Sets this envelope to the same coordinate values than the specified envelope.void
GeneralPosition. setLocation(Point2D point)
Set this coordinate to the specifiedPoint2D
.void
GeneralPosition. setLocation(Position position)
Set this coordinate to the specified direct position.void
GeneralPosition. setLocation(GeneralPosition position)
Set this coordinate to the specified direct position.void
Position1D. setLocation(Position position)
Set this coordinate to the specified direct position.void
Position2D. setLocation(Position position)
Set this coordinate to the specified direct position.void
Position3D. setLocation(Position position)
Set this coordinate to the specified direct position. -
Uses of MismatchedDimensionException in org.geotools.geometry.jts
Methods in org.geotools.geometry.jts that throw MismatchedDimensionException Modifier and Type Method Description protected void
ReferencedEnvelope. checkCoordinateReferenceSystemDimension()
Convenience method for checking coordinate reference system validity.static Geometry
JTS. transform(Geometry geom, MathTransform transform)
Transforms the geometry using the default transformer.Constructors in org.geotools.geometry.jts that throw MismatchedDimensionException Constructor Description ReferencedEnvelope(double x1, double x2, double y1, double y2, CoordinateReferenceSystem crs)
Creates an envelope for a region defined by maximum and minimum values.ReferencedEnvelope(Rectangle2D rectangle, CoordinateReferenceSystem crs)
Creates an envelope for a Java2D rectangle.ReferencedEnvelope(BoundingBox bbox)
Creates a new envelope from an existing bounding box.ReferencedEnvelope(Bounds bounds)
Creates a new bounds from an existing OGC bounds.ReferencedEnvelope(CoordinateReferenceSystem crs)
Creates a null envelope with the specified coordinate reference system.ReferencedEnvelope(ReferencedEnvelope envelope)
Creates a new envelope from an existing envelope.ReferencedEnvelope(Envelope envelope, CoordinateReferenceSystem crs)
Creates a new envelope from an existing JTS envelope.ReferencedEnvelope3D(double x1, double x2, double y1, double y2, double z1, double z2, CoordinateReferenceSystem crs)
Creates an envelope for a region defined by maximum and minimum values.ReferencedEnvelope3D(BoundingBox3D bbox)
Creates a new envelope from an existing bounding box.ReferencedEnvelope3D(Bounds envelope)
Creates a new envelope from an existing OGC envelope.ReferencedEnvelope3D(CoordinateReferenceSystem crs)
Creates a null envelope with the specified coordinate reference system.ReferencedEnvelope3D(ReferencedEnvelope3D envelope)
Creates a new envelope from an existing envelope.ReferencedEnvelope3D(ReferencedEnvelope3D envelope, CoordinateReferenceSystem crs)
Creates a new envelope from an existing JTS envelope.ReferencedEnvelope3D(Envelope envelope, CoordinateReferenceSystem crs)
Creates a new envelope from an existing JTS envelope. -
Uses of MismatchedDimensionException in org.geotools.referencing
Methods in org.geotools.referencing that throw MismatchedDimensionException Modifier and Type Method Description protected void
Console. test()
Invoked automatically when thetarget pt
instruction were executed and atest tolerance
were previously set. -
Uses of MismatchedDimensionException in org.geotools.referencing.crs
Methods in org.geotools.referencing.crs that throw MismatchedDimensionException Modifier and Type Method Description Measure
AbstractCRS. distance(double[] coord1, double[] coord2)
Computes the distance between two points.Measure
DefaultGeographicCRS. distance(double[] coord1, double[] coord2)
Computes the orthodromic distance between two points.Constructors in org.geotools.referencing.crs that throw MismatchedDimensionException Constructor Description AbstractDerivedCRS(Map<String,?> properties, Conversion conversionFromBase, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS)
Constructs a derived CRS from a defining conversion.AbstractDerivedCRS(Map<String,Object> properties, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS)
Constructs a derived CRS from a set of properties.DefaultDerivedCRS(String name, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS)
Constructs a derived CRS from a name.DefaultDerivedCRS(Map<String,?> properties, Conversion conversionFromBase, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS)
Constructs a derived CRS from a defining conversion.DefaultDerivedCRS(Map<String,Object> properties, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS)
Constructs a derived CRS from a set of properties.DefaultDerivedCRS(Map<String,Object> properties, OperationMethod method, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS)
Constructs a derived CRS from a set of properties.DefaultProjectedCRS(String name, GeographicCRS base, MathTransform baseToDerived, CartesianCS derivedCS)
Constructs a projected CRS from a name.DefaultProjectedCRS(Map<String,?> properties, Conversion conversionFromBase, GeographicCRS base, MathTransform baseToDerived, CartesianCS derivedCS)
Constructs a projected CRS from a defining conversion.DefaultProjectedCRS(Map<String,Object> properties, GeographicCRS base, MathTransform baseToDerived, CartesianCS derivedCS)
Constructs a projected CRS from a set of properties.DefaultProjectedCRS(Map<String,Object> properties, OperationMethod method, GeographicCRS base, MathTransform baseToDerived, CartesianCS derivedCS)
Constructs a projected CRS from a set of properties. -
Uses of MismatchedDimensionException in org.geotools.referencing.cs
Methods in org.geotools.referencing.cs that throw MismatchedDimensionException Modifier and Type Method Description Measure
AbstractCS. distance(double[] coord1, double[] coord2)
Computes the distance between two points.Measure
DefaultCartesianCS. distance(double[] coord1, double[] coord2)
Computes the distance between two points.Measure
DefaultLinearCS. distance(double[] coord1, double[] coord2)
Computes the distance between two points.Measure
DefaultTimeCS. distance(double[] coord1, double[] coord2)
Computes the time difference between two points.Measure
DefaultVerticalCS. distance(double[] coord1, double[] coord2)
Computes the distance between two points.double
DefaultEllipsoidalCS. getHeight(double[] coordinates)
Returns the height found in the specified coordinate point, always in meters.double
DefaultEllipsoidalCS. getLatitude(double[] coordinates)
Returns the latitude found in the specified coordinate point, always in decimal degrees.double
DefaultEllipsoidalCS. getLongitude(double[] coordinates)
Returns the longitude found in the specified coordinate point, always in decimal degrees. -
Uses of MismatchedDimensionException in org.geotools.referencing.operation
Methods in org.geotools.referencing.operation that throw MismatchedDimensionException Modifier and Type Method Description static void
DefaultOperationMethod. checkDimensions(OperationMethod method, MathTransform transform)
Checks if an operation method and a math transform have a compatible number of source and target dimensions. -
Uses of MismatchedDimensionException in org.geotools.referencing.operation.builder
Methods in org.geotools.referencing.operation.builder that throw MismatchedDimensionException Modifier and Type Method Description void
MathTransformBuilder. setMappedPositions(List<MappedPosition> positions)
Set the list of mapped positions.void
MathTransformBuilder. setSourcePoints(Position... points)
Convenience method setting the source points in mapped positions.void
MathTransformBuilder. setTargetPoints(Position... points)
Convenience method setting the target points in mapped positions.Constructors in org.geotools.referencing.operation.builder that throw MismatchedDimensionException Constructor Description AdvancedAffineBuilder(List<MappedPosition> vectors)
Constructs builder from set of GCPsAdvancedAffineBuilder(List<MappedPosition> vectors, AffineTransform2D affineTrans)
Constructs affine transform from GCPs and approximate values for calculation.AffineTransformBuilder(List<MappedPosition> vectors)
Creates AffineTransformBuilder for the set of properties.GridToEnvelopeMapper(GridEnvelope gridRange, Bounds userRange)
Creates a new instance for the specified grid range and envelope.ProjectiveTransformBuilder(List<MappedPosition> vectors)
Creates ProjectiveTransformBuilder for the set of properties.RubberSheetBuilder(List<MappedPosition> vectors, List<Position> vertices)
Creates the Builder from a List of control points and a List of four DirectPositions defining the vertexes of the area for interpolation.SimilarTransformBuilder(List<MappedPosition> vectors)
Creates SimilarTransformBuilder for the set of properties. -
Uses of MismatchedDimensionException in org.geotools.referencing.operation.transform
Methods in org.geotools.referencing.operation.transform that throw MismatchedDimensionException Modifier and Type Method Description Position
MathTransformProxy. transform(Position ptSrc, Position ptDst)
Transforms the specifiedptSrc
and stores the result inptDst
.
-