com.supermap.mobjects.urbandata

类 ImportUrbanData



  • public class ImportUrbanData
    extends Object
    城市数据导入类
    • 构造器详细资料

      • ImportUrbanData

        public ImportUrbanData()
    • 方法详细资料

      • importUrbanSHP

        public static HashMap<String,Object> importUrbanSHP(String sourceFilePath,
                                                            Charset sourceFileCharset,
                                                            Datasource targetDatasource,
                                                            EncodeType targetEncodeType,
                                                            boolean isCoverDataset,
                                                            boolean isCoverFeature,
                                                            ImportSteppedListener listener)
        导入城市SHP数据
        参数:
        sourceFilePath - SHP数据路径
        sourceFileCharset - 字符集
        targetDatasource - 目标数据源
        targetEncodeType - 目标编码格式
        isCoverDataset - 是否覆盖已有同名数据集
        isCoverFeature - 是否覆盖已有相同内码数据
        返回:
        返回已导入数据集
      • importUrbanFileGDBVector

        public static HashMap<String,Object> importUrbanFileGDBVector(String sourceFilePath,
                                                                      Charset sourceFileCharset,
                                                                      Datasource targetDatasource,
                                                                      EncodeType targetEncodeType,
                                                                      String[] layerNames,
                                                                      boolean isCoverDataset,
                                                                      boolean isCoverFeature,
                                                                      ImportSteppedListener listener)
        导入城市GDB数据
        参数:
        sourceFilePath - SHP数据路径
        sourceFileCharset - 字符集
        targetDatasource - 目标数据源
        targetEncodeType - 目标编码格式
        layerNames - 目标图层组列表
        isCoverDataset - 是否覆盖已有同名数据集
        isCoverFeature - 是否覆盖已有相同内码数据
        返回:
        返回已导入数据集

Copyright © 2021–2025 SuperMap. All rights reserved.