Class ST_MakeGridPoints
java.lang.Object
org.h2gis.api.AbstractFunction
org.h2gis.functions.spatial.create.ST_MakeGridPoints
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_MakeGridPoints
extends org.h2gis.api.AbstractFunction
implements org.h2gis.api.ScalarFunction
Create a regular grid of points based on a table or a geometry envelope.
- Author:
- Erwan Bocher
-
Field Summary
Fields inherited from interface org.h2gis.api.Function
PROP_NAME, PROP_REMARKSFields inherited from interface org.h2gis.api.ScalarFunction
PROP_DETERMINISTIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultSetcreateGridPoints(Connection connection, org.h2.value.Value value, double deltaX, double deltaY) Create a regular grid of points using the first input value to compute the full extent.Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.h2gis.api.Function
getProperty
-
Constructor Details
-
ST_MakeGridPoints
public ST_MakeGridPoints()
-
-
Method Details
-
getJavaStaticMethod
- Specified by:
getJavaStaticMethodin interfaceorg.h2gis.api.ScalarFunction
-
createGridPoints
public static ResultSet createGridPoints(Connection connection, org.h2.value.Value value, double deltaX, double deltaY) throws SQLException Create a regular grid of points using the first input value to compute the full extent.- Parameters:
connection-value- could be the name of a table or a geometry.deltaX- the X cell sizedeltaY- the Y cell size- Returns:
- a resultset that contains all cells as a set of polygons
- Throws:
SQLException
-