com.supermap.web.ogc.wfs
public class SpatialRect
继承 SpatialRect Inheritance Spatial Inheritance Filter Inheritance Object

空间范围运算.

该类用于定义 GetWFSFeature 类的过滤查询条件,目的是为了查找指定范围内的要素,不包含相交。当空间关系类型(type 属性)设为 SpatialType.BBOX 时使用此类。范例代码如下:
var spatial:SpatialRect = new SpatialRect();
spatial.type = SpatialType.BBOX;
spatial.propertyName = "the_geom";
spatial.value = new Rectangle2D(-80,-40,-10,40);

另请参见

GetWFSFeature.filters
SpatialType.BBOX
type


公共属性
  属性 定义方
  Inherited propertyName : String
存储要素几何信息的字段名称,相等于 WFSFeatureDescription.spatialProperty 属性值。
Spatial
  Inherited type : String
空间运算类型,由 SpatialType 枚举类定义。
Spatial
    value : Rectangle2D
指定的查询范围。
SpatialRect
公共方法
  方法 定义方
   
实例化 SpatialRect 对象。
SpatialRect
  Inherited
Spatial
  Inherited
GetPointsStr(ps:Array):String
Spatial
  Inherited
Spatial
属性详细信息
value 属性
value:Rectangle2D

指定的查询范围。


Implementation
    public function get value():Rectangle2D
    public function set value(value:Rectangle2D):void
构造函数详细信息
SpatialRect () 构造函数
public function SpatialRect()

实例化 SpatialRect 对象。