Class: GeometryFilter

GeometryFilter

new GeometryFilter(options)

service/support/GeometryFilter.js, line 5

IGS的几何过滤条件对象,请注意只有在IGS的10.6.9.10-20240228以后的版本才支持区和多区的几何过滤

Name Type Description
options Object

构造参数

Name Type Default Description
geometry Extent | Polygon | MultiPolygon 可选

几何对象

spatialRelation SpatialRelation SpatialRelation.intersects 可选

空间判定规则

Members

几何对象

spatialRelationSpatialRelation

空间判定规则

Methods

clone(){GeometryFilter}

service/support/GeometryFilter.js, line 47

克隆对象

Returns:
Type Description
GeometryFilter 克隆后的图层对象

toJSON(){Object}

service/support/GeometryFilter.js, line 36

转换为 JSON 对象

Returns:
Type Description
Object JSON 对象

GeometryFilter.fromJSON(json){GeometryFilter}

service/support/GeometryFilter.js, line 57

根据传入的 JSON 构造并返回几何过滤对象

Name Type Description
json Object

几何过滤对象 JSON

Returns:
Type Description
GeometryFilter 几何过滤对象