com.supermap.data.conversion

类 ImportSettingTEMSTextLabels

  • 所有已实现的接口:
    IDisposable


    public class ImportSettingTEMSTextLabels
    extends ImportSetting
    电信行业数据矢量地物标注(TEMSTEXT)数据的导入的参数设置类,继承自 ImportSetting 类。

    导入后的结果为点数据集,文本注记为其属性字段LabelName

    注意: 传入的文件型的数据源和工作空间连接信息,在传入之前不能被打开,否则会导入失败。

    • 构造器详细资料

      • ImportSettingTEMSTextLabels

        public ImportSettingTEMSTextLabels()
        默认构造函数,构造一个新的 ImportSettingTEMSTextLabels 对象。
      • ImportSettingTEMSTextLabels

        public ImportSettingTEMSTextLabels(ImportSettingTEMSTextLabels importSettingTEMSTextLabels)
        拷贝构造函数,根据给定的 ImportSettingTEMSTextLabels 对象构造一个与其完全相同的新对象。
        参数:
        importSettingTEMSTextLabels - 用于初始化 ImportSettingTEMSTextLabels 新实例的对象。
      • ImportSettingTEMSTextLabels

        public ImportSettingTEMSTextLabels(String sourceFilePath,
                                           DatasourceConnectionInfo targetConnectionInfo)
        根据指定的参数构造 ImportSettingTEMSTextLabels 类的新实例。
        参数:
        sourceFilePath - 指定的导入 TEMSTextLabels 格式数据的源文件路径。
        targetConnectionInfo - 指定的导入到目标数据源的连接信息对象。
      • ImportSettingTEMSTextLabels

        public ImportSettingTEMSTextLabels(String sourceFilePath,
                                           Datasource targetDatasource)
        根据指定的参数构造 ImportSettingTEMSTextLabels 类的新实例。
        参数:
        sourceFilePath - 指定的导入 TEMSTextLabels 格式数据的源文件路径。
        targetDatasource - 指定导入的目标数据源对象。
    • 方法详细资料

      • getSpatialIndex

        public SpatialIndexInfo getSpatialIndex()
        返回空间索引信息。
        返回:
        空间索引信息。
      • setSpatialIndex

        public void setSpatialIndex(SpatialIndexInfo value)
        设置空间索引信息。
        参数:
        value - 设置空间索引信息。
      • dispose

        public void dispose()
        释放该对象所占用的资源。当调用该方法之后,此对象不再可用。
      • setImportEmptyDataset

        public void setImportEmptyDataset(boolean bImportEmptyDT)
        设置是否导入空的数据集,默认是不导入的
        参数:
        bImportEmptyDT - 是否导入空的数据集,true表示导入,false表示不导入
      • isImportEmptyDataset

        public boolean isImportEmptyDataset()
        获取是否导入空的数据集
        返回:
        是否导入空的数据集

Copyright © 2021–2024 SuperMap. All rights reserved.