no.uio.edd.utils.geoutils
Class GeoFeature
java.lang.Object
no.uio.edd.utils.geoutils.GeoFeature
- Direct Known Subclasses:
- GeoBoundingBox, GeoLine, GeoPlace, GeoPoint, GeoPolygon, GeoPolyline
public abstract class GeoFeature
- extends java.lang.Object
Mother class of all geographical stuff.
- Author:
- oeide
Method Summary |
abstract java.lang.String |
asCoordList()
|
abstract java.lang.String |
asGML()
The GML fragment returned by this method should contain everything from
the level of the specific geometry, that is, from gml:Point, gml:Polygon,
etc. |
static java.lang.String |
getGmlFooter()
|
static java.lang.String |
getGmlHeader()
|
abstract GeoPoint |
getMidpoint()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
coordSystNumeric
protected int coordSystNumeric
coordSyst
protected java.lang.String coordSyst
myId
protected java.lang.String myId
OFFSET_CHRA
public static final double OFFSET_CHRA
- See Also:
- Constant Field Values
KOORD_NAME_REKTANGEL
public static final java.lang.String KOORD_NAME_REKTANGEL
- See Also:
- Constant Field Values
MAP_IDENT_REKTANGEL
public static final java.lang.String MAP_IDENT_REKTANGEL
- See Also:
- Constant Field Values
OFFSET_STHLM
public static final double OFFSET_STHLM
- See Also:
- Constant Field Values
KOORD_NAME_GENERALSTABEN
public static final java.lang.String KOORD_NAME_GENERALSTABEN
- See Also:
- Constant Field Values
MAP_IDENT_GENERALSTABEN
public static final java.lang.String MAP_IDENT_GENERALSTABEN
- See Also:
- Constant Field Values
GeoFeature
public GeoFeature()
asGML
public abstract java.lang.String asGML()
- The GML fragment returned by this method should contain everything from
the level of the specific geometry, that is, from gml:Point, gml:Polygon,
etc.
- Returns:
- An XML-GML fragment representing my vector geometry, if
application; otherwise, return an empty string.
asCoordList
public abstract java.lang.String asCoordList()
getGmlHeader
public static java.lang.String getGmlHeader()
getGmlFooter
public static java.lang.String getGmlFooter()
getMidpoint
public abstract GeoPoint getMidpoint()