com.supermap.data.processing.cache
类 CacheCheck
- java.lang.Object
-
- com.supermap.data.processing.cache.CacheCheck
-
public class CacheCheck extends Object
-
-
构造器概要
构造器 构造器和说明 CacheCheck()
-
方法概要
所有方法 静态方法 实例方法 具体方法 限定符和类型 方法和说明 voidcheck(String cacheRoot, String sciFile)booleancheckCompactCache(String cacheRoot, String caption, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)booleancheckMongoCache(TileStorageManager manager, int level, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)booleancheckOriginalCache(String cacheRoot, String caption, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)doublegetReolustion(double scale, PrjCoordSys prjCoordSys, double cacheDPI)static ArrayList<String>getSciFileList(String scipath)voidinitalize(String cacheRoot, ArrayList<String> sciFiles, int processcount, int mergeTaskCount, boolean error2udb, boolean checkSolid, boolean checkBlock, String checkType, String boundaryRegion)booleanisBlockAlpha(BufferedImage image)booleanisBlockColor(BufferedImage image, Color color)booleanisBlockWhite(BufferedImage image)booleanisSolidAlpha(BufferedImage image)booleanisSolidColor(BufferedImage image, Color color)booleanisSolidWhite(BufferedImage image)static voidmain(String[] args)检测瓦片是否正确类
-
-
-
方法详细资料
-
main
public static void main(String[] args)
检测瓦片是否正确类- 参数:
args-
-
initalize
public void initalize(String cacheRoot, ArrayList<String> sciFiles, int processcount, int mergeTaskCount, boolean error2udb, boolean checkSolid, boolean checkBlock, String checkType, String boundaryRegion)
-
checkOriginalCache
public boolean checkOriginalCache(String cacheRoot, String caption, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)
-
checkCompactCache
public boolean checkCompactCache(String cacheRoot, String caption, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)
-
checkMongoCache
public boolean checkMongoCache(TileStorageManager manager, int level, int left, int top, int right, int bottom, double reolustion, CacheWriter cacheFile)
-
getReolustion
public double getReolustion(double scale, PrjCoordSys prjCoordSys, double cacheDPI)
-
isSolidWhite
public boolean isSolidWhite(BufferedImage image)
-
isBlockWhite
public boolean isBlockWhite(BufferedImage image)
-
isSolidAlpha
public boolean isSolidAlpha(BufferedImage image)
-
isBlockAlpha
public boolean isBlockAlpha(BufferedImage image)
-
isSolidColor
public boolean isSolidColor(BufferedImage image, Color color)
-
isBlockColor
public boolean isBlockColor(BufferedImage image, Color color)
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.