Package org.apache.calcite.runtime
Class ProjectionTransformer
java.lang.Object
org.locationtech.jts.geom.util.GeometryTransformer
org.apache.calcite.runtime.ProjectionTransformer
public class ProjectionTransformer
extends org.locationtech.jts.geom.util.GeometryTransformer
Transforms the projection of a geometry.
-
Field Summary
Fields inherited from class org.locationtech.jts.geom.util.GeometryTransformer
factory -
Constructor Summary
ConstructorsConstructorDescriptionProjectionTransformer(int sourceSrid, int targetSrid) Creates a transformer that reprojects geometries with the provided SRIDs. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.locationtech.jts.geom.CoordinateSequencetransformCoordinates(org.locationtech.jts.geom.CoordinateSequence coordinateSequence, org.locationtech.jts.geom.Geometry parent) protected org.locationtech.jts.geom.GeometrytransformGeometryCollection(org.locationtech.jts.geom.GeometryCollection geom, org.locationtech.jts.geom.Geometry parent) protected org.locationtech.jts.geom.GeometrytransformLinearRing(org.locationtech.jts.geom.LinearRing geom, org.locationtech.jts.geom.Geometry parent) protected org.locationtech.jts.geom.GeometrytransformLineString(org.locationtech.jts.geom.LineString geom, org.locationtech.jts.geom.Geometry parent) protected org.locationtech.jts.geom.GeometrytransformMultiLineString(org.locationtech.jts.geom.MultiLineString geom, org.locationtech.jts.geom.Geometry parent) protected org.locationtech.jts.geom.GeometrytransformMultiPoint(org.locationtech.jts.geom.MultiPoint geom, org.locationtech.jts.geom.Geometry parent) protected org.locationtech.jts.geom.GeometrytransformMultiPolygon(org.locationtech.jts.geom.MultiPolygon geom, org.locationtech.jts.geom.Geometry parent) protected org.locationtech.jts.geom.GeometrytransformPoint(org.locationtech.jts.geom.Point geom, org.locationtech.jts.geom.Geometry parent) protected org.locationtech.jts.geom.GeometrytransformPolygon(org.locationtech.jts.geom.Polygon geom, org.locationtech.jts.geom.Geometry parent) Methods inherited from class org.locationtech.jts.geom.util.GeometryTransformer
copy, createCoordinateSequence, getInputGeometry, transform
-
Constructor Details
-
ProjectionTransformer
public ProjectionTransformer(int sourceSrid, int targetSrid) Creates a transformer that reprojects geometries with the provided SRIDs.- Parameters:
sourceSrid- the source SRIDtargetSrid- the target SRID
-
-
Method Details
-
transformCoordinates
protected org.locationtech.jts.geom.CoordinateSequence transformCoordinates(org.locationtech.jts.geom.CoordinateSequence coordinateSequence, org.locationtech.jts.geom.Geometry parent) - Overrides:
transformCoordinatesin classorg.locationtech.jts.geom.util.GeometryTransformer
-
transformPoint
protected org.locationtech.jts.geom.Geometry transformPoint(org.locationtech.jts.geom.Point geom, org.locationtech.jts.geom.Geometry parent) - Overrides:
transformPointin classorg.locationtech.jts.geom.util.GeometryTransformer
-
transformMultiPoint
protected org.locationtech.jts.geom.Geometry transformMultiPoint(org.locationtech.jts.geom.MultiPoint geom, org.locationtech.jts.geom.Geometry parent) - Overrides:
transformMultiPointin classorg.locationtech.jts.geom.util.GeometryTransformer
-
transformLinearRing
protected org.locationtech.jts.geom.Geometry transformLinearRing(org.locationtech.jts.geom.LinearRing geom, org.locationtech.jts.geom.Geometry parent) - Overrides:
transformLinearRingin classorg.locationtech.jts.geom.util.GeometryTransformer
-
transformLineString
protected org.locationtech.jts.geom.Geometry transformLineString(org.locationtech.jts.geom.LineString geom, org.locationtech.jts.geom.Geometry parent) - Overrides:
transformLineStringin classorg.locationtech.jts.geom.util.GeometryTransformer
-
transformMultiLineString
protected org.locationtech.jts.geom.Geometry transformMultiLineString(org.locationtech.jts.geom.MultiLineString geom, org.locationtech.jts.geom.Geometry parent) - Overrides:
transformMultiLineStringin classorg.locationtech.jts.geom.util.GeometryTransformer
-
transformPolygon
protected org.locationtech.jts.geom.Geometry transformPolygon(org.locationtech.jts.geom.Polygon geom, org.locationtech.jts.geom.Geometry parent) - Overrides:
transformPolygonin classorg.locationtech.jts.geom.util.GeometryTransformer
-
transformMultiPolygon
protected org.locationtech.jts.geom.Geometry transformMultiPolygon(org.locationtech.jts.geom.MultiPolygon geom, org.locationtech.jts.geom.Geometry parent) - Overrides:
transformMultiPolygonin classorg.locationtech.jts.geom.util.GeometryTransformer
-
transformGeometryCollection
protected org.locationtech.jts.geom.Geometry transformGeometryCollection(org.locationtech.jts.geom.GeometryCollection geom, org.locationtech.jts.geom.Geometry parent) - Overrides:
transformGeometryCollectionin classorg.locationtech.jts.geom.util.GeometryTransformer
-