citysdk.tourism.client.poi.base
Class Geometry

java.lang.Object
  extended by citysdk.tourism.client.poi.base.Geometry

public class Geometry
extends java.lang.Object

Representation of the GML_CE_GEOMETRY class of the UML diagram found in: http://www.w3.org/2010/POI/documents/Core/core-20111216.html#poi-data-model.

A Geometry is composed of one coordinate or a list of coordinates.

Author:
Pedro Cruz

Constructor Summary
Geometry()
           
 
Method Summary
 java.lang.String getPosList()
          Gets the coordinates of the geometry.
static java.lang.String getSrsname()
          Gets the opengis srs name URL
 void setPosList(java.lang.String posList)
          Sets the given coordinates as the list of coordinates.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Geometry

public Geometry()
Method Detail

getPosList

public java.lang.String getPosList()
Gets the coordinates of the geometry. A base position list (a pair of coordinates) will be in the format .

Returns:
postList the coordinates of the geometry.

setPosList

public void setPosList(java.lang.String posList)
Sets the given coordinates as the list of coordinates.

Parameters:
posList - the list of coordinates. It should be in the form of .

getSrsname

public static java.lang.String getSrsname()
Gets the opengis srs name URL

Returns:
the opengis srs name