com.supermap.maritime.data
类 MaritimeS100VectorOperator
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.maritime.data.MaritimeS100VectorOperator
-
- 所有已实现的接口:
- IDisposable
public class MaritimeS100VectorOperator extends com.supermap.data.InternalHandleDisposable
-
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 booleanaddFeatureAssociation(MaritimeS100Association association)添加要素关联。booleanaddInfoAssociation(MaritimeS100Association association)添加信息关联。DatasetVectorcreateFeatureDataset(String featureCode, DatasetType datasetType)根据给定的要素编码和数据集类型创建一个新的要素数据集,并添加到当前海图图幅中。voiddispose()ObjectgetAttribute(String featureCode, DatasetType datasetType, String attributeName, long smid)获取指定要素的属性值。StringgetCellName()获取当前海图图幅名称。MaritimeS100Association[]getFeatureAssociations(String featureCode, long rcid)获取要素关联集合。DatasetVectorgetFeatureDataset(String featureCode, DatasetType eType)获取当前海图数据集分组中,指定特征物标简称和数据集类型的特征物标数据集。DatasetVector[]getFeatureDatasets()获取当前海图图幅的要素数据集集合。StringgetFOID()获取对象可用的FOID。MaritimeS100Association[]getInfoAssociations(String featureCode, long rcid)获取信息关联集合。longgetInformationRCID()获取信息对象可用的RCID。longgetRCID()获取要素对象可用的RCID。long[]getRCIDArray(String featureCode, DatasetType datasetType)获取已有对象的RCID集合。booleanremoveFeatureAssociation(MaritimeS100Association association)移除要素关联。booleanremoveFeatureDataset(String featureCode, DatasetType datasetType)从当前海图图幅中,删除指定要素编码和数据集类型的要素数据集。booleanremoveInfoAssociation(MaritimeS100Association association)移除信息关联。voidsetAttribute(String featureCode, DatasetType datasetType, String attributeName, long smid, Object value)获取指定要素的属性值。
-
-
-
方法详细资料
-
getCellName
public String getCellName()
获取当前海图图幅名称。- 返回:
- 海图图幅名称。
-
createFeatureDataset
public DatasetVector createFeatureDataset(String featureCode, DatasetType datasetType)
根据给定的要素编码和数据集类型创建一个新的要素数据集,并添加到当前海图图幅中。- 参数:
featureCode- 指定的要素编码。datasetType- 指定的数据集类型。只支持点、线、面和纯属性表类型。- 返回:
- 新创建的要素数据集。如果创建失败,返回 null。
- 从以下版本开始:
- 12.0.0
-
getRCID
public long getRCID()
获取要素对象可用的RCID。- 返回:
- 返回RCID值。
- 从以下版本开始:
- 12.0.0
-
getFOID
public String getFOID()
获取对象可用的FOID。- 返回:
- 返回FOID值。
- 从以下版本开始:
- 12.0.0
-
removeFeatureDataset
public boolean removeFeatureDataset(String featureCode, DatasetType datasetType)
从当前海图图幅中,删除指定要素编码和数据集类型的要素数据集。- 参数:
featureCode- 指定的要素编码。datasetType- 指定的数据集类型。只支持点、线、面和纯属性表类型。- 返回:
- 一个布尔值,指示是否删除要素数据集成功。如果删除成功,返回 true,否则返回 false。
- 从以下版本开始:
- 12.0.0
-
getRCIDArray
public long[] getRCIDArray(String featureCode, DatasetType datasetType)
获取已有对象的RCID集合。- 返回:
- RCID集合。
- 从以下版本开始:
- 12.0.0
-
addFeatureAssociation
public boolean addFeatureAssociation(MaritimeS100Association association)
添加要素关联。- 参数:
association- 关联关系。- 返回:
- true添加成功,false表示添加失败。
- 从以下版本开始:
- 12.0.0
-
removeFeatureAssociation
public boolean removeFeatureAssociation(MaritimeS100Association association)
移除要素关联。- 参数:
association- 关联关系。- 返回:
- true添加成功,false表示添加失败。
- 从以下版本开始:
- 12.0.0
-
addInfoAssociation
public boolean addInfoAssociation(MaritimeS100Association association)
添加信息关联。- 参数:
association- 关联关系信息。- 返回:
- true添加成功,false表示添加失败。
- 从以下版本开始:
- 12.0.0
-
removeInfoAssociation
public boolean removeInfoAssociation(MaritimeS100Association association)
移除信息关联。- 参数:
association- 关联关系信息。- 返回:
- true添加成功,false表示添加失败。
- 从以下版本开始:
- 12.0.0
-
getFeatureAssociations
public MaritimeS100Association[] getFeatureAssociations(String featureCode, long rcid)
获取要素关联集合。- 参数:
featureCode- 要素编码。rcid- 要素RCID。- 返回:
- 关联关系集合。
-
getInfoAssociations
public MaritimeS100Association[] getInfoAssociations(String featureCode, long rcid)
获取信息关联集合。- 参数:
featureCode- 要素编码。rcid- 要素RCID。- 返回:
- 信息关联集合。
-
getAttribute
public Object getAttribute(String featureCode, DatasetType datasetType, String attributeName, long smid)
获取指定要素的属性值。- 参数:
featureCode- 要素编码。datasetType- 数据类型。attributeName- 属性名称。smid- 对象SmID。- 返回:
- 属性值。
- 从以下版本开始:
- 12.0.0
-
setAttribute
public void setAttribute(String featureCode, DatasetType datasetType, String attributeName, long smid, Object value)
获取指定要素的属性值。- 参数:
featureCode- 要素编码。datasetType- 数据类型。attributeName- 属性名称。smid- 对象smid。- 从以下版本开始:
- 12.0.0
-
dispose
public void dispose()
-
getFeatureDatasets
public DatasetVector[] getFeatureDatasets()
获取当前海图图幅的要素数据集集合。- 返回:
- 要素数据集集合。
- 从以下版本开始:
- 12.0.0
-
getFeatureDataset
public DatasetVector getFeatureDataset(String featureCode, DatasetType eType)
获取当前海图数据集分组中,指定特征物标简称和数据集类型的特征物标数据集。- 参数:
featureCode- 要素编码eType- 要素类型- 返回:
- 要素数据集
- 从以下版本开始:
- 12.0.0
-
getInformationRCID
public long getInformationRCID()
获取信息对象可用的RCID。- 返回:
- 返回RCID值。
- 从以下版本开始:
- 12.0.0
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.