Class WebMercatorOptimize
- java.lang.Object
-
- mil.nga.geopackage.tiles.reproject.TileReprojectionOptimize
-
- mil.nga.geopackage.tiles.reproject.WebMercatorOptimize
-
public class WebMercatorOptimize extends TileReprojectionOptimize
Web Mercator XYZ tiling optimizations- Since:
- 5.0.0
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description WebMercatorOptimize()ConstructorWebMercatorOptimize(boolean world)Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebMercatorOptimizecreate()Create with minimal boundsstatic WebMercatorOptimizecreateWorld()Create with world boundsBoundingBoxgetBoundingBox()Get the world bounding box of the optimization projectionBoundingBoxgetBoundingBox(TileGrid tileGrid, long zoom)Get the bounding box of the tile grid at the zoomProjectiongetProjection()Get the optimization projectionTileGridgetTileGrid()Get the world tile grid of the optimization projectionTileGridgetTileGrid(BoundingBox boundingBox, long zoom)Get the tile grid of the bounding box at the zoom-
Methods inherited from class mil.nga.geopackage.tiles.reproject.TileReprojectionOptimize
isWorld, platteCarre, platteCarreWorld, setWorld, webMercator, webMercatorWorld
-
-
-
-
Method Detail
-
create
public static WebMercatorOptimize create()
Create with minimal bounds- Returns:
- web mercator optimize
-
createWorld
public static WebMercatorOptimize createWorld()
Create with world bounds- Returns:
- web mercator optimize
-
getProjection
public Projection getProjection()
Get the optimization projection- Specified by:
getProjectionin classTileReprojectionOptimize- Returns:
- projection
-
getTileGrid
public TileGrid getTileGrid()
Get the world tile grid of the optimization projection- Specified by:
getTileGridin classTileReprojectionOptimize- Returns:
- tile grid
-
getBoundingBox
public BoundingBox getBoundingBox()
Get the world bounding box of the optimization projection- Specified by:
getBoundingBoxin classTileReprojectionOptimize- Returns:
- bounding box
-
getTileGrid
public TileGrid getTileGrid(BoundingBox boundingBox, long zoom)
Get the tile grid of the bounding box at the zoom- Specified by:
getTileGridin classTileReprojectionOptimize- Parameters:
boundingBox- bounding boxzoom- zoom level- Returns:
- tile grid
-
getBoundingBox
public BoundingBox getBoundingBox(TileGrid tileGrid, long zoom)
Get the bounding box of the tile grid at the zoom- Specified by:
getBoundingBoxin classTileReprojectionOptimize- Parameters:
tileGrid- tile gridzoom- zoom level- Returns:
- bounding box
-
-