org.pentaho.di.core.geospatial
Class GeometryUtils

java.lang.Object
  extended by org.pentaho.di.core.geospatial.GeometryUtils

public class GeometryUtils
extends Object

Utility class for Geometry values

Since:
24-aug-2009
Author:
etdub

Constructor Summary
GeometryUtils()
           
 
Method Summary
static com.vividsolutions.jts.geom.Geometry makeEmptyGeometry()
          Constructs an empty Geometry (i.e.
static com.vividsolutions.jts.geom.Geometry makeEmptyGeometry(int srid)
          Constructs an empty Geometry (i.e.
static com.vividsolutions.jts.geom.Geometry makeEmptyGeometry(SRS srs)
          Constructs an empty Geometry (i.e.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryUtils

public GeometryUtils()
Method Detail

makeEmptyGeometry

public static com.vividsolutions.jts.geom.Geometry makeEmptyGeometry()
Constructs an empty Geometry (i.e. "GEOMETRYCOLLECTION EMPTY") with an unknown (-1) SRID

Returns:

makeEmptyGeometry

public static com.vividsolutions.jts.geom.Geometry makeEmptyGeometry(SRS srs)
Constructs an empty Geometry (i.e. "GEOMETRYCOLLECTION EMPTY") using the SRID contained in the specified SRS

Parameters:
srs -
Returns:

makeEmptyGeometry

public static com.vividsolutions.jts.geom.Geometry makeEmptyGeometry(int srid)
Constructs an empty Geometry (i.e. "GEOMETRYCOLLECTION EMPTY") with the specified SRID

Parameters:
srid -
Returns: