|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttwaver.gis.ogc.conditions.SpatialOperateCondition
TWaverGIS implements GetFeature which performs the actual query to help developers increase the interoperability with WFS servers, SpatialOperateCondition is designed to describe the condition of spatial operation when TWaverGIS performs the query. Spatial operations are used to test whether the value of a geometric property, referenced using the name of the property, and a literal geometric value satisfy the spatial relationship implied by the operator.
Constructor Summary | |
SpatialOperateCondition(int gmlType)
Constructs SpatialOperateCondition instance. |
Method Summary | |
twaver.GeoCoordinate[] |
getCoordinates()
Gets an array of geographical coordinates which is used to describe the GML type. |
double |
getDistance()
|
int |
getGMLType()
Gets the GML type of the condition. |
int |
getOperatorType()
Gets the operator type. |
java.lang.String |
getUnit()
|
void |
setCoordinates(twaver.GeoCoordinate[] coordinates)
Sets an array of geographical coordinates which is used to describe the GML type. |
void |
setDistance(double distance)
|
void |
setOperatorType(int operatorType)
Sets the operator type |
void |
setUnit(java.lang.String unit)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SpatialOperateCondition(int gmlType)
gmlType
- TWaverGisConst.GML_TYPE_LINE
,
TWaverGisConst.GML_TYPE_POINT
,
TWaverGisConst.GML_TYPE_POINTS
,
TWaverGisConst.GML_TYPE_POLYGON
Method Detail |
public twaver.GeoCoordinate[] getCoordinates()
public double getDistance()
public int getGMLType()
public int getOperatorType()
public java.lang.String getUnit()
public void setCoordinates(twaver.GeoCoordinate[] coordinates)
coordinates
- the array of geographical coordinatespublic void setDistance(double distance)
public void setOperatorType(int operatorType)
operatorType
- the operator typeTWaverGisConst.SPATIAL_OPERATOR_TYPE_CONTAIN
,
TWaverGisConst.SPATIAL_OPERATOR_TYPE_CROSS
,
TWaverGisConst.SPATIAL_OPERATOR_TYPE_DISJOINT
,
TWaverGisConst.SPATIAL_OPERATOR_TYPE_DWITHIN
,
TWaverGisConst.SPATIAL_OPERATOR_TYPE_EQUALS
,
TWaverGisConst.SPATIAL_OPERATOR_TYPE_INTERSECT
,
TWaverGisConst.SPATIAL_OPERATOR_TYPE_OVERLAP
,
TWaverGisConst.SPATIAL_OPERATOR_TYPE_TOUCH
,
TWaverGisConst.SPATIAL_OPERATOR_TYPE_WITHIN
public void setUnit(java.lang.String unit)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |