Package org.h2gis.functions.spatial.edit
Class ST_RemoveDuplicatedCoordinates
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.edit.ST_RemoveDuplicatedCoordinates
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_RemoveDuplicatedCoordinates extends org.h2gis.api.DeterministicScalarFunctionRemove duplicate coordinates in a geometry- Author:
- Erwan Bocher CNRS
-
-
Constructor Summary
Constructors Constructor Description ST_RemoveDuplicatedCoordinates()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJavaStaticMethod()static org.locationtech.jts.geom.GeometryremoveCoordinates(org.locationtech.jts.geom.Geometry geom)Removes duplicated coordinates within a geometry.static org.locationtech.jts.geom.GeometryCollectionremoveCoordinates(org.locationtech.jts.geom.GeometryCollection g)Removes duplicated coordinates within a GeometryCollectionstatic org.locationtech.jts.geom.LinearRingremoveCoordinates(org.locationtech.jts.geom.LinearRing g)Removes duplicated coordinates within a linearRing.static org.locationtech.jts.geom.LineStringremoveCoordinates(org.locationtech.jts.geom.LineString g)Removes duplicated coordinates within a LineString.static org.locationtech.jts.geom.MultiLineStringremoveCoordinates(org.locationtech.jts.geom.MultiLineString g)Removes duplicated coordinates in a MultiLineString.static org.locationtech.jts.geom.MultiPointremoveCoordinates(org.locationtech.jts.geom.MultiPoint g)Removes duplicated coordinates within a MultiPoint.static org.locationtech.jts.geom.MultiPolygonremoveCoordinates(org.locationtech.jts.geom.MultiPolygon g)Removes duplicated coordinates within a MultiPolygon.static org.locationtech.jts.geom.PolygonremoveCoordinates(org.locationtech.jts.geom.Polygon poly)Removes duplicated coordinates within a Polygon.static org.locationtech.jts.geom.GeometryremoveDuplicatedCoordinates(org.locationtech.jts.geom.Geometry geometry)Returns a version of the given geometry with duplicated coordinates removed.-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
removeDuplicatedCoordinates
public static org.locationtech.jts.geom.Geometry removeDuplicatedCoordinates(org.locationtech.jts.geom.Geometry geometry)
Returns a version of the given geometry with duplicated coordinates removed.- Parameters:
geometry-- Returns:
-
removeCoordinates
public static org.locationtech.jts.geom.Geometry removeCoordinates(org.locationtech.jts.geom.Geometry geom)
Removes duplicated coordinates within a geometry.- Parameters:
geom-- Returns:
-
removeCoordinates
public static org.locationtech.jts.geom.MultiPoint removeCoordinates(org.locationtech.jts.geom.MultiPoint g)
Removes duplicated coordinates within a MultiPoint.- Parameters:
g-- Returns:
-
removeCoordinates
public static org.locationtech.jts.geom.LineString removeCoordinates(org.locationtech.jts.geom.LineString g)
Removes duplicated coordinates within a LineString.- Parameters:
g-- Returns:
-
removeCoordinates
public static org.locationtech.jts.geom.LinearRing removeCoordinates(org.locationtech.jts.geom.LinearRing g)
Removes duplicated coordinates within a linearRing.- Parameters:
g-- Returns:
-
removeCoordinates
public static org.locationtech.jts.geom.MultiLineString removeCoordinates(org.locationtech.jts.geom.MultiLineString g)
Removes duplicated coordinates in a MultiLineString.- Parameters:
g-- Returns:
-
removeCoordinates
public static org.locationtech.jts.geom.Polygon removeCoordinates(org.locationtech.jts.geom.Polygon poly)
Removes duplicated coordinates within a Polygon.- Parameters:
poly-- Returns:
-
removeCoordinates
public static org.locationtech.jts.geom.MultiPolygon removeCoordinates(org.locationtech.jts.geom.MultiPolygon g)
Removes duplicated coordinates within a MultiPolygon.- Parameters:
g-- Returns:
-
removeCoordinates
public static org.locationtech.jts.geom.GeometryCollection removeCoordinates(org.locationtech.jts.geom.GeometryCollection g)
Removes duplicated coordinates within a GeometryCollection- Parameters:
g-- Returns:
-
-