Uses of Class
org.apache.sis.internal.feature.GeometryWrapper
Packages that use GeometryWrapper
Package
Description
Filters features according their properties.
A set of helper classes for the SIS implementation.
Centralizes usages ERSI geometry API by Apache SIS.
Centralizes usages of some (not all) Java2D geometry API by Apache SIS.
Methods specific to the Java Topology Suite (JTS).
Base implementation shared by the main
filter
package and the SQLMM extension.Partial implementation of SQLMM operations as filter expressions.
Build
DefaultFeatureType
s by inspection of database schemas.-
Uses of GeometryWrapper in org.apache.sis.filter
Fields in org.apache.sis.filter with type parameters of type GeometryWrapperModifier and TypeFieldDescriptionprotected final Expression<? super R,
GeometryWrapper<G>> BinaryGeometryFilter.expression1
The first of the two expressions to be used by this function.protected final Expression<? super R,
GeometryWrapper<G>> BinaryGeometryFilter.expression2
The second of the two expressions to be used by this function.Method parameters in org.apache.sis.filter with type arguments of type GeometryWrapperModifier and TypeMethodDescriptionprotected static <R,
G> Expression<? super R, ?> BinaryGeometryFilter.original
(Expression<R, GeometryWrapper<G>> expression) Returns the original expression specified by the user. -
Uses of GeometryWrapper in org.apache.sis.internal.feature
Subclasses of GeometryWrapper in org.apache.sis.internal.featureModifier and TypeClassDescriptionclass
A geometry wrapper with a field for CRS information.Methods in org.apache.sis.internal.feature that return GeometryWrapperModifier and TypeMethodDescriptionabstract GeometryWrapper<G>
Geometries.castOrWrap
(Object geometry) Returns a wrapper for the given<G>
orGeometryWrapper<G>
instance.abstract GeometryWrapper<G>
Geometries.createFromComponents
(GeometryType type, Object components) Creates a geometry from components.private GeometryWrapper<G>
Geometries.createGeometry2D
(org.opengis.geometry.Envelope envelope, int xd, int yd, boolean expand, boolean addPts) Creates a polyline made of points describing a rectangle whose start point is the lower left corner.abstract GeometryWrapper<G>
Geometries.createMultiPolygon
(Object[] geometries) Creates a multi-polygon from an array of geometries (polygons or linear rings).final GeometryWrapper<G>
Geometries.createPoint
(org.opengis.geometry.DirectPosition point) Creates and wraps a point from the given position.protected abstract GeometryWrapper<G>
Geometries.createWrapper
(G geometry) Creates a wrapper for the given geometry instance.abstract GeometryWrapper<G>
Geometries.parseWKB
(ByteBuffer data) Reads the given bytes as a Well Known Binary (WKB) encoded geometry.abstract GeometryWrapper<G>
Parses the given Well Known Text (WKT).Geometries.toGeometry2D
(org.opengis.geometry.Envelope envelope, WraparoundMethod strategy) Transforms an envelope to a two-dimensional polygon whose start point is lower corner and other points are the envelope corners in clockwise order.GeometryWrapper.toGeometryType
(GeometryType target) Converts the given geometry to the specified type.private GeometryWrapper<G>
GeometryWrapper.toSameCRS
(GeometryWrapper<G> other) Transforms theother
geometry to the same CRS than this geometry.GeometryWrapper.transform
(org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS) Transforms this geometry to the specified Coordinate Reference System (CRS).GeometryWrapper.transform
(org.opengis.referencing.operation.CoordinateOperation operation, boolean validate) Transforms this geometry using the given coordinate operation.<G> GeometryWrapper<G>
SpatialOperationContext.transform
(GeometryWrapper<G> geometry) Transforms the specified geometry to the computation CRS.Methods in org.apache.sis.internal.feature that return types with arguments of type GeometryWrapperModifier and TypeMethodDescriptionstatic Optional<GeometryWrapper<?>>
Wraps the given geometry implementation if recognized.Methods in org.apache.sis.internal.feature with parameters of type GeometryWrapperModifier and TypeMethodDescriptionfinal boolean
GeometryWithCRS.isSameCRS
(GeometryWrapper<G> other) Returnstrue
if the given geometry use the same CRS than this geometry, or conservatively returnsfalse
in case of doubt.abstract boolean
GeometryWrapper.isSameCRS
(GeometryWrapper<G> other) Returnstrue
if the given geometry use the same CRS than this geometry, or conservatively returnsfalse
in case of doubt.final Object
GeometryWrapper.operation
(SQLMM operation, GeometryWrapper<G> other) Applies a SQLMM operation on two geometries.protected Object
GeometryWrapper.operationSameCRS
(SQLMM operation, GeometryWrapper<G> other, Object argument) Applies a SQLMM operation on this geometry.final Object
GeometryWrapper.operationWithArgument
(SQLMM operation, GeometryWrapper<G> other, Object argument) Applies a SQLMM operation on two geometries with one operation-specific argument.final boolean
GeometryWrapper.predicate
(DistanceOperatorName type, GeometryWrapper<G> other, javax.measure.Quantity<javax.measure.quantity.Length> distance, SpatialOperationContext context) Applies a filter predicate between this geometry and another geometry.final boolean
GeometryWrapper.predicate
(SpatialOperatorName type, GeometryWrapper<G> other, SpatialOperationContext context) Applies a filter predicate between this geometry and another geometry.protected boolean
GeometryWrapper.predicateSameCRS
(DistanceOperatorName type, GeometryWrapper<G> other, double distance) Applies a filter predicate between this geometry and another geometry within a given distance.protected boolean
GeometryWrapper.predicateSameCRS
(SpatialOperatorName type, GeometryWrapper<G> other) Applies a filter predicate between this geometry and another geometry.private GeometryWrapper<G>
GeometryWrapper.toSameCRS
(GeometryWrapper<G> other) Transforms theother
geometry to the same CRS than this geometry.<G> GeometryWrapper<G>
SpatialOperationContext.transform
(GeometryWrapper<G> geometry) Transforms the specified geometry to the computation CRS.(package private) final <G> boolean
SpatialOperationContext.transform
(GeometryWrapper<G>[] geometries) Transforms the specified geometries to the common CRS.private static org.opengis.referencing.crs.CoordinateReferenceSystem
SpatialOperationContext.usingSystemUnit
(GeometryWrapper<?> geometry, org.opengis.referencing.crs.CoordinateReferenceSystem geometryCRS, org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS, javax.measure.Unit<?> systemUnit) Returns a coordinate reference system using the unit of measurement compatible with given system unit.Constructors in org.apache.sis.internal.feature with parameters of type GeometryWrapperModifierConstructorDescriptionSpatialOperationContext
(org.opengis.metadata.extent.GeographicBoundingBox areaOfInterest, GeometryWrapper<?> literal, javax.measure.Unit<?> systemUnit, int skipIndex) Creates a new context. -
Uses of GeometryWrapper in org.apache.sis.internal.feature.esri
Subclasses of GeometryWrapper in org.apache.sis.internal.feature.esriModifier and TypeClassDescription(package private) final class
The wrapper of ERSI geometries.Methods in org.apache.sis.internal.feature.esri that return GeometryWrapperModifier and TypeMethodDescriptionGeometryWrapper<com.esri.core.geometry.Geometry>
Factory.castOrWrap
(Object geometry) Returns a wrapper for the given<G>
orGeometryWrapper<G>
geometry.GeometryWrapper<com.esri.core.geometry.Geometry>
Factory.createFromComponents
(GeometryType type, Object components) Creates a geometry from components.GeometryWrapper<com.esri.core.geometry.Geometry>
Factory.createMultiPolygon
(Object[] geometries) Creates a multi-polygon from an array of geometries.protected GeometryWrapper<com.esri.core.geometry.Geometry>
Factory.createWrapper
(com.esri.core.geometry.Geometry geometry) Creates a wrapper for the given geometry instance.GeometryWrapper<com.esri.core.geometry.Geometry>
Factory.parseWKB
(ByteBuffer data) Reads the given Well Known Binary (WKB).GeometryWrapper<com.esri.core.geometry.Geometry>
Parses the given Well Known Text (WKT).Methods in org.apache.sis.internal.feature.esri with parameters of type GeometryWrapperModifier and TypeMethodDescriptionprotected Object
Wrapper.operationSameCRS
(SQLMM operation, GeometryWrapper<com.esri.core.geometry.Geometry> other, Object argument) Applies a SQLMM operation on this geometry.protected boolean
Wrapper.predicateSameCRS
(SpatialOperatorName type, GeometryWrapper<com.esri.core.geometry.Geometry> other) Applies a filter predicate between this geometry and another geometry. -
Uses of GeometryWrapper in org.apache.sis.internal.feature.j2d
Subclasses of GeometryWrapper in org.apache.sis.internal.feature.j2dModifier and TypeClassDescription(package private) final class
The wrapper of Java2D points.(package private) final class
The wrapper of Java2D geometries.Methods in org.apache.sis.internal.feature.j2d that return GeometryWrapperModifier and TypeMethodDescriptionFactory.castOrWrap
(Object geometry) Returns a wrapper for the given<G>
orGeometryWrapper<G>
geometry.Factory.createFromComponents
(GeometryType type, Object components) Creates a geometry from components.Factory.createMultiPolygon
(Object[] geometries) Creates a multi-polygon from an array of geometries.protected GeometryWrapper<Shape>
Factory.createWrapper
(Shape geometry) Creates a wrapper for the given geometry instance.Factory.parseWKB
(ByteBuffer data) Well Known Binary (WKB) reading not supported with Java2D.Well Known Text (WKT) parsing not supported with Java2D.Methods in org.apache.sis.internal.feature.j2d with parameters of type GeometryWrapperModifier and TypeMethodDescriptionprotected Object
PointWrapper.operationSameCRS
(SQLMM operation, GeometryWrapper<Shape> other, Object argument) Applies a SQLMM operation on this geometry.protected Object
Wrapper.operationSameCRS
(SQLMM operation, GeometryWrapper<Shape> other, Object argument) Applies a SQLMM operation on this geometry.protected boolean
PointWrapper.predicateSameCRS
(SpatialOperatorName type, GeometryWrapper<Shape> other) Applies a filter predicate between this geometry and another geometry.protected boolean
Wrapper.predicateSameCRS
(SpatialOperatorName type, GeometryWrapper<Shape> other) Applies a filter predicate between this geometry and another geometry. -
Uses of GeometryWrapper in org.apache.sis.internal.feature.jts
Subclasses of GeometryWrapper in org.apache.sis.internal.feature.jtsModifier and TypeClassDescription(package private) final class
The wrapper of Java Topology Suite (JTS) geometries.Methods in org.apache.sis.internal.feature.jts that return GeometryWrapperModifier and TypeMethodDescriptionGeometryWrapper<org.locationtech.jts.geom.Geometry>
Factory.castOrWrap
(Object geometry) Returns a wrapper for the given<G>
orGeometryWrapper<G>
geometry.GeometryWrapper<org.locationtech.jts.geom.Geometry>
Factory.createFromComponents
(GeometryType type, Object components) Creates a geometry from components.GeometryWrapper<org.locationtech.jts.geom.Geometry>
Factory.createMultiPolygon
(Object[] geometries) Creates a multi-polygon from an array of JTSPolygon
orLinearRing
.protected GeometryWrapper<org.locationtech.jts.geom.Geometry>
Factory.createWrapper
(org.locationtech.jts.geom.Geometry geometry) Creates a wrapper for the given geometry instance.GeometryWrapper<org.locationtech.jts.geom.Geometry>
Factory.parseWKB
(ByteBuffer data) Reads the given Well Known Binary (WKB).GeometryWrapper<org.locationtech.jts.geom.Geometry>
Parses the given Well Known Text (WKT).GeometryWrapper<org.locationtech.jts.geom.Geometry>
Wrapper.toGeometryType
(GeometryType target) Converts the given geometry to the specified type.GeometryWrapper<org.locationtech.jts.geom.Geometry>
Wrapper.transform
(org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS) Transforms this geometry to the specified Coordinate Reference System (CRS).GeometryWrapper<org.locationtech.jts.geom.Geometry>
Wrapper.transform
(org.opengis.referencing.operation.CoordinateOperation operation, boolean validate) Transforms this geometry using the given coordinate operation.Methods in org.apache.sis.internal.feature.jts with parameters of type GeometryWrapperModifier and TypeMethodDescriptionboolean
Wrapper.isSameCRS
(GeometryWrapper<org.locationtech.jts.geom.Geometry> other) Returnstrue
if the given geometry use the same CRS than this geometry, or conservatively returnsfalse
in case of doubt.protected Object
Wrapper.operationSameCRS
(SQLMM operation, GeometryWrapper<org.locationtech.jts.geom.Geometry> other, Object argument) Applies a SQLMM operation on this geometry.protected boolean
Wrapper.predicateSameCRS
(DistanceOperatorName type, GeometryWrapper<org.locationtech.jts.geom.Geometry> other, double distance) Applies a filter predicate between this geometry and another geometry within a given distance.protected boolean
Wrapper.predicateSameCRS
(SpatialOperatorName type, GeometryWrapper<org.locationtech.jts.geom.Geometry> other) Applies a filter predicate between this geometry and another geometry. -
Uses of GeometryWrapper in org.apache.sis.internal.filter
Methods in org.apache.sis.internal.filter that return GeometryWrapperModifier and TypeMethodDescriptionEvaluates the expression and converts the value to a geometry wrapper.Methods in org.apache.sis.internal.filter that return types with arguments of type GeometryWrapperModifier and TypeMethodDescriptionGeometryConverter.recreate
(Expression<? super R, ?>[] effective) Creates a new expression of the same type than this expression, but with an optimized geometry.protected static <R,
G> Expression<R, GeometryWrapper<G>> Node.toGeometryWrapper
(Geometries<G> library, Expression<R, ?> expression) Returns an expression whose results is a geometry wrapper.Method parameters in org.apache.sis.internal.filter with type arguments of type GeometryWrapperModifier and TypeMethodDescriptionprotected static <G> Geometries<G>
Node.getGeometryLibrary
(Expression<?, GeometryWrapper<G>> expression) Returns a handler for the library of geometric objects used by the given expression.protected static <R,
G> Expression<? super R, ?> Node.unwrap
(Expression<R, GeometryWrapper<G>> expression) If the given exception was wrapped byNode.toGeometryWrapper(Geometries, Expression)
, returns the original expression. -
Uses of GeometryWrapper in org.apache.sis.internal.filter.sqlmm
Fields in org.apache.sis.internal.filter.sqlmm with type parameters of type GeometryWrapperModifier and TypeFieldDescription(package private) final Expression<? super R,
GeometryWrapper<G>> OneGeometry.geometry
The expression giving the geometry.private final Expression<? super R,
GeometryWrapper<G>> ST_Transform.geometry
The expression giving the geometry.(package private) final Expression<? super R,
GeometryWrapper<G>> TwoGeometries.geometry1
The expression giving the geometries.(package private) final Expression<? super R,
GeometryWrapper<G>> TwoGeometries.geometry2
The expression giving the geometries.Methods in org.apache.sis.internal.filter.sqlmm that return GeometryWrapperModifier and TypeMethodDescriptionprotected abstract GeometryWrapper<G>
Parses the given value.protected GeometryWrapper<G>
Parses the given value.protected GeometryWrapper<G>
Parses the given value.private GeometryWrapper<G>
Parses a WKT or WKB as a point. -
Uses of GeometryWrapper in org.apache.sis.internal.sql.feature
Methods in org.apache.sis.internal.sql.feature with parameters of type GeometryWrapperModifier and TypeMethodDescriptionprivate void
SelectionClause.appendGeometry
(GeometryWrapper<?> wrapper, org.opengis.geometry.Envelope bounds) Appends the given geometry in Well-Known Text (WKT) format.