public class GeoRelationAnalystParameters
extends java.lang.Object
implements java.io.Serializable
空间关系分析操作参数类。
通过该类可以为空间关系分析提供参数信息。
限定符和类型 | 字段和说明 |
---|---|
java.lang.String |
dataset
源数据集名称,即被操作数据集名称,规则为"数据集名称@数据源别名"。
|
int |
expectCount
空间关系分析期望返回结果记录数,默认为500条,如果实际不足500条结果则返回所有分析结果。
|
boolean |
isBorderInside
边界处理方式,即位于面边线上的点是否被面包含。
|
QueryParameter |
referenceFilter
空间关系分析中的参考数据集查询参数。
|
boolean |
returnFeature
是否返回Feature信息。
|
boolean |
returnGeoRelatedOnly
是否仅返回满足指定空间关系的空间对象,默认为 True。
|
QueryParameter |
sourceFilter
空间关系分析中的源数据集查询参数。
|
SpatialRelationType |
spatialRelationType
指定的空间关系类型,参见 SpatialRelationType 枚举类。
|
int |
startRecord
分析结果起始记录位置,默认为0。
|
构造器和说明 |
---|
GeoRelationAnalystParameters()
构造函数。
|
public java.lang.String dataset
源数据集名称,即被操作数据集名称,规则为"数据集名称@数据源别名"。例如:Country@World。
public int expectCount
空间关系分析期望返回结果记录数,默认为500条,如果实际不足500条结果则返回所有分析结果。
public boolean isBorderInside
边界处理方式,即位于面边线上的点是否被面包含。此参数仅用于空间关系为包含或被包含的情况。
public QueryParameter referenceFilter
空间关系分析中的参考数据集查询参数。仅 name, ids, attributeFilter 和 fields 字段有效。 参考数据集即操作数据集。例如:要设置关系"面包含点",则空间关系类型为"包含",参考数据集为相应的面数据集,源数据集为相应的点数据集;再如,"点被面包含",则空间关系类型为"被包含",参考数据集为相应的点数据集,源数据集为相应的面数据集。
public boolean returnFeature
是否返回Feature信息。
public boolean returnGeoRelatedOnly
是否仅返回满足指定空间关系的空间对象,默认为 True。 若设置为false,则在源数据集中与操作数据集中的指定对象不满足指定空间关系类型的对象也会返回。
public QueryParameter sourceFilter
空间关系分析中的源数据集查询参数。仅 ids、attributeFilter 和 fields 字段有效。
public SpatialRelationType spatialRelationType
指定的空间关系类型,参见 SpatialRelationType 枚举类。
public int startRecord
分析结果起始记录位置,默认为0。