org.h2gis.h2spatialext.function.spatial.create
Class ST_MakeGridPoints

java.lang.Object
  extended by org.h2gis.h2spatialapi.AbstractFunction
      extended by org.h2gis.h2spatialext.function.spatial.create.ST_MakeGridPoints
All Implemented Interfaces:
Function, ScalarFunction

public class ST_MakeGridPoints
extends AbstractFunction
implements 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.h2spatialapi.ScalarFunction
PROP_DETERMINISTIC, PROP_NOBUFFER
 
Fields inherited from interface org.h2gis.h2spatialapi.Function
PROP_NAME, PROP_REMARKS
 
Constructor Summary
ST_MakeGridPoints()
           
 
Method Summary
static ResultSet createGridPoints(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.
 String getJavaStaticMethod()
           
 
Methods inherited from class org.h2gis.h2spatialapi.AbstractFunction
addProperty, getProperty, removeProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.h2gis.h2spatialapi.Function
getProperty
 

Constructor Detail

ST_MakeGridPoints

public ST_MakeGridPoints()
Method Detail

getJavaStaticMethod

public String getJavaStaticMethod()
Specified by:
getJavaStaticMethod in interface 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 size
deltaY - the Y cell size
Returns:
a resultset that contains all cells as a set of polygons
Throws:
SQLException


Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.