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
DefaultFeatureTypes 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.expression1The first of the two expressions to be used by this function.protected final Expression<? super R,GeometryWrapper<G>> BinaryGeometryFilter.expression2The 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 TypeClassDescriptionclassA 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 theothergeometry 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 booleanGeometryWithCRS.isSameCRS(GeometryWrapper<G> other) Returnstrueif the given geometry use the same CRS than this geometry, or conservatively returnsfalsein case of doubt.abstract booleanGeometryWrapper.isSameCRS(GeometryWrapper<G> other) Returnstrueif the given geometry use the same CRS than this geometry, or conservatively returnsfalsein case of doubt.final ObjectGeometryWrapper.operation(SQLMM operation, GeometryWrapper<G> other) Applies a SQLMM operation on two geometries.protected ObjectGeometryWrapper.operationSameCRS(SQLMM operation, GeometryWrapper<G> other, Object argument) Applies a SQLMM operation on this geometry.final ObjectGeometryWrapper.operationWithArgument(SQLMM operation, GeometryWrapper<G> other, Object argument) Applies a SQLMM operation on two geometries with one operation-specific argument.final booleanGeometryWrapper.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 booleanGeometryWrapper.predicate(SpatialOperatorName type, GeometryWrapper<G> other, SpatialOperationContext context) Applies a filter predicate between this geometry and another geometry.protected booleanGeometryWrapper.predicateSameCRS(DistanceOperatorName type, GeometryWrapper<G> other, double distance) Applies a filter predicate between this geometry and another geometry within a given distance.protected booleanGeometryWrapper.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 theothergeometry 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> booleanSpatialOperationContext.transform(GeometryWrapper<G>[] geometries) Transforms the specified geometries to the common CRS.private static org.opengis.referencing.crs.CoordinateReferenceSystemSpatialOperationContext.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 classThe 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 ObjectWrapper.operationSameCRS(SQLMM operation, GeometryWrapper<com.esri.core.geometry.Geometry> other, Object argument) Applies a SQLMM operation on this geometry.protected booleanWrapper.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 classThe wrapper of Java2D points.(package private) final classThe 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 ObjectPointWrapper.operationSameCRS(SQLMM operation, GeometryWrapper<Shape> other, Object argument) Applies a SQLMM operation on this geometry.protected ObjectWrapper.operationSameCRS(SQLMM operation, GeometryWrapper<Shape> other, Object argument) Applies a SQLMM operation on this geometry.protected booleanPointWrapper.predicateSameCRS(SpatialOperatorName type, GeometryWrapper<Shape> other) Applies a filter predicate between this geometry and another geometry.protected booleanWrapper.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 classThe 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 JTSPolygonorLinearRing.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 TypeMethodDescriptionbooleanWrapper.isSameCRS(GeometryWrapper<org.locationtech.jts.geom.Geometry> other) Returnstrueif the given geometry use the same CRS than this geometry, or conservatively returnsfalsein case of doubt.protected ObjectWrapper.operationSameCRS(SQLMM operation, GeometryWrapper<org.locationtech.jts.geom.Geometry> other, Object argument) Applies a SQLMM operation on this geometry.protected booleanWrapper.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 booleanWrapper.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.geometryThe expression giving the geometry.private final Expression<? super R,GeometryWrapper<G>> ST_Transform.geometryThe expression giving the geometry.(package private) final Expression<? super R,GeometryWrapper<G>> TwoGeometries.geometry1The expression giving the geometries.(package private) final Expression<? super R,GeometryWrapper<G>> TwoGeometries.geometry2The 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 voidSelectionClause.appendGeometry(GeometryWrapper<?> wrapper, org.opengis.geometry.Envelope bounds) Appends the given geometry in Well-Known Text (WKT) format.