com.supermap.mobjects.urbandata
类 UtilTools
- java.lang.Object
-
- com.supermap.mobjects.urbandata.UtilTools
-
public class UtilTools extends Object
城市数据导入通用算法类
-
-
方法概要
所有方法 静态方法 具体方法 限定符和类型 方法和说明 static voidaddTileToScene(Scene scene, String outPath)static StringbuildSceneCache(Scene scene, String srcDatasourceName, String outputFolder, SteppedListener listener)static booleancheckStringIsFloat(String str)static Layer3DdoScpFileAddToScene(Scene scene, String filePath)static voidfindSctFileInFolder(File file, ArrayList<String> scpLayerNames)static Map<String,Object>getFieldValuesIgnoreCase(Recordset recordset)获取指定 recordset 当前记录的字段值(不含系统字段,并且字段名小写)static GeoStyle3DgetGeoStyle3D(Layer3D layer3D)获取三维图层的风格static Theme3DCustomgetLineTheme3DCustom(DatasetVector datasetVector, com.alibaba.fastjson.JSONObject jsonObject, boolean isLineUseMaterial)static Theme3DCustomgetPointTheme3DCustom(DatasetVector datasetVector, com.alibaba.fastjson.JSONObject jsonObject)static SceneGetTempScene(Workspace workspace)static booleanisNumber(String orginal)判断是否为数字static voidsetGeoStyle3D(Layer3D layer3D, GeoStyle3D geoStyle3D)
-
-
-
方法详细资料
-
getPointTheme3DCustom
public static Theme3DCustom getPointTheme3DCustom(DatasetVector datasetVector, com.alibaba.fastjson.JSONObject jsonObject)
-
getLineTheme3DCustom
public static Theme3DCustom getLineTheme3DCustom(DatasetVector datasetVector, com.alibaba.fastjson.JSONObject jsonObject, boolean isLineUseMaterial)
-
buildSceneCache
public static String buildSceneCache(Scene scene, String srcDatasourceName, String outputFolder, SteppedListener listener)
-
setGeoStyle3D
public static void setGeoStyle3D(Layer3D layer3D, GeoStyle3D geoStyle3D)
-
getGeoStyle3D
public static GeoStyle3D getGeoStyle3D(Layer3D layer3D)
获取三维图层的风格- 参数:
layer3D-- 返回:
-
findSctFileInFolder
public static void findSctFileInFolder(File file, ArrayList<String> scpLayerNames)
-
checkStringIsFloat
public static boolean checkStringIsFloat(String str)
-
isNumber
public static boolean isNumber(String orginal)
判断是否为数字
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.