Class PlatteCarreOptimize
- java.lang.Object
-
- mil.nga.geopackage.tiles.reproject.TileReprojectionOptimize
-
- mil.nga.geopackage.tiles.reproject.PlatteCarreOptimize
-
public class PlatteCarreOptimize extends TileReprojectionOptimize
Platte Carre (WGS84) XYZ tiling optimizations- Since:
- 5.0.0
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description PlatteCarreOptimize()ConstructorPlatteCarreOptimize(boolean world)Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PlatteCarreOptimizecreate()Create with minimal boundsstatic PlatteCarreOptimizecreateWorld()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 PlatteCarreOptimize create()
Create with minimal bounds- Returns:
- platte carre optimize
-
createWorld
public static PlatteCarreOptimize createWorld()
Create with world bounds- Returns:
- platte carre 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
-
-