org.gbanga.api.geojson
Class Point

java.lang.Object
  extended by org.gbanga.api.geojson.Geometry
      extended by org.gbanga.api.geojson.Point

public class Point
extends Geometry

The point is a geometry object in the GeoJSON standard.

Author:
Matthias
See Also:
GeoJSON.org, point

Field Summary
 float[] coordinates
          The content: an array of floating numbers where [0] is the longitude and [1] the latitude.
 java.lang.String type
          The named type of a GeoJSON point
 
Constructor Summary
Point()
          Default constructor used for reflection.
Point(Coordinates p)
          Creates a new point with the given Coordinates.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

coordinates

public float[] coordinates
The content: an array of floating numbers where [0] is the longitude and [1] the latitude.


type

public java.lang.String type
The named type of a GeoJSON point

Constructor Detail

Point

public Point()
Default constructor used for reflection.


Point

public Point(Coordinates p)
Creates a new point with the given Coordinates.

Parameters:
p - the coordnates with longitude and latitude