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 WebMercatorOptimize
create()
Create with minimal boundsstatic WebMercatorOptimize
createWorld()
Create with world boundsBoundingBox
getBoundingBox()
Get the world bounding box of the optimization projectionBoundingBox
getBoundingBox(TileGrid tileGrid, long zoom)
Get the bounding box of the tile grid at the zoomProjection
getProjection()
Get the optimization projectionTileGrid
getTileGrid()
Get the world tile grid of the optimization projectionTileGrid
getTileGrid(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:
getProjection
in classTileReprojectionOptimize
- Returns:
- projection
-
getTileGrid
public TileGrid getTileGrid()
Get the world tile grid of the optimization projection- Specified by:
getTileGrid
in classTileReprojectionOptimize
- Returns:
- tile grid
-
getBoundingBox
public BoundingBox getBoundingBox()
Get the world bounding box of the optimization projection- Specified by:
getBoundingBox
in 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:
getTileGrid
in 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:
getBoundingBox
in classTileReprojectionOptimize
- Parameters:
tileGrid
- tile gridzoom
- zoom level- Returns:
- bounding box
-
-