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

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

public class PointBuilder
extends java.lang.Object

Builds PostGIS Point objects based on a set of coordinates.

Author:
Brett Henderson

Constructor Summary
PointBuilder()
           
 
Method Summary
 org.postgis.Point createPoint(double latitude, double longitude)
          Creates a PostGIS Point object corresponding to the provided coordinates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointBuilder

public PointBuilder()
Method Detail

createPoint

public org.postgis.Point createPoint(double latitude,
                                     double longitude)
Creates a PostGIS Point object corresponding to the provided coordinates.

Parameters:
latitude - The latitude measured in degrees.
longitude - The longitude measured in degrees.
Returns:
The Point object.