org.openstreetmap.osmosis.core.pgsql.common
Class PolygonBuilder

java.lang.Object
  extended by org.openstreetmap.osmosis.core.pgsql.common.PolygonBuilder

public class PolygonBuilder
extends java.lang.Object

Builds PostGIS Polygon objects based on a series of points.

Author:
Brett Henderson

Constructor Summary
PolygonBuilder()
           
 
Method Summary
 org.postgis.Polygon createPolygon(org.postgis.Point[] points)
          Creates a PostGIS Polygon object corresponding to the provided Point list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolygonBuilder

public PolygonBuilder()
Method Detail

createPolygon

public org.postgis.Polygon createPolygon(org.postgis.Point[] points)
Creates a PostGIS Polygon object corresponding to the provided Point list.

Parameters:
points - The points to build a polygon from.
Returns:
The Polygon object.