com.supermap.services.components.impl
Class TileMatrixsCalculator
- java.lang.Object
-
- com.supermap.services.components.impl.TileMatrixsCalculator
-
public class TileMatrixsCalculator extends java.lang.ObjectTileMatrix collection calculation class.TileMatrixis split intoTileTaskassigned to worker inJobRunner. This class calculates a series of TileMatrix based on a cached face. Ask these TileMatrix to cover the surface to cut cache, while minimizing the number to cut cache. (Cut the cache surface is irregular, may be concave polygon)- Since:
- 6.1.3
-
-
Constructor Summary
Constructors Constructor and Description TileMatrixsCalculator(Point2D pLeftTop, double pWidth, double pHeight)The Constructor.
-
Method Summary
Methods Modifier and Type Method and Description java.util.List<TileMatrix>calculate(com.vividsolutions.jts.geom.Geometry cacheRegion)According to the input surface to calculate a series of TileMatrix.
-
-
-
Constructor Detail
-
TileMatrixsCalculator
public TileMatrixsCalculator(Point2D pLeftTop, double pWidth, double pHeight)
The Constructor.
- Parameters:
pLeftTop- Cache the origin, the upper left cornerpWidth- tile Geographical range widthpHeight- tile Geographical range height
-
-
Method Detail
-
calculate
public java.util.List<TileMatrix> calculate(com.vividsolutions.jts.geom.Geometry cacheRegion)
According to the input surface to calculate a series of TileMatrix. The method calculates an initial TileMatrix based on the bounds of the input plane. And then recursively split the TileMatrix.- Parameters:
cacheRegion-- Returns:
- Since:
- 6.1.3
-
-