Class TileReprojectionOptimize
- java.lang.Object
-
- mil.nga.geopackage.tiles.reproject.TileReprojectionOptimize
-
- Direct Known Subclasses:
PlatteCarreOptimize
,WebMercatorOptimize
public abstract class TileReprojectionOptimize extends Object
Tile Reprojection Optimizations- Since:
- 5.0.0
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description TileReprojectionOptimize()
ConstructorTileReprojectionOptimize(boolean world)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract BoundingBox
getBoundingBox()
Get the world bounding box of the optimization projectionabstract BoundingBox
getBoundingBox(TileGrid tileGrid, long zoom)
Get the bounding box of the tile grid at the zoomabstract Projection
getProjection()
Get the optimization projectionabstract TileGrid
getTileGrid()
Get the world tile grid of the optimization projectionabstract TileGrid
getTileGrid(BoundingBox boundingBox, long zoom)
Get the tile grid of the bounding box at the zoomboolean
isWorld()
Is world tile coordinate bounds (XYZ), as opposed to minimal tile fitting boundsstatic TileReprojectionOptimize
platteCarre()
Create a Platte Carre (WGS84) optimization, minimally tile boundedstatic TileReprojectionOptimize
platteCarreWorld()
Create a Platte Carre (WGS84) optimization, world bounded with XYZ tile coordinatesvoid
setWorld(boolean world)
Set the world tile coordinate bounds (XYZ) vs minimal tile fitting bounds flagstatic TileReprojectionOptimize
webMercator()
Create a Web Mercator optimization, minimally tile boundedstatic TileReprojectionOptimize
webMercatorWorld()
Create a Web Mercator optimization, world bounded with XYZ tile coordinates
-
-
-
Method Detail
-
webMercator
public static TileReprojectionOptimize webMercator()
Create a Web Mercator optimization, minimally tile bounded- Returns:
- tile reprojection optimize
-
platteCarre
public static TileReprojectionOptimize platteCarre()
Create a Platte Carre (WGS84) optimization, minimally tile bounded- Returns:
- tile reprojection optimize
-
webMercatorWorld
public static TileReprojectionOptimize webMercatorWorld()
Create a Web Mercator optimization, world bounded with XYZ tile coordinates- Returns:
- tile reprojection optimize
-
platteCarreWorld
public static TileReprojectionOptimize platteCarreWorld()
Create a Platte Carre (WGS84) optimization, world bounded with XYZ tile coordinates- Returns:
- tile reprojection optimize
-
isWorld
public boolean isWorld()
Is world tile coordinate bounds (XYZ), as opposed to minimal tile fitting bounds- Returns:
- world flag
-
setWorld
public void setWorld(boolean world)
Set the world tile coordinate bounds (XYZ) vs minimal tile fitting bounds flag- Parameters:
world
- world bounds flag
-
getProjection
public abstract Projection getProjection()
Get the optimization projection- Returns:
- projection
-
getTileGrid
public abstract TileGrid getTileGrid()
Get the world tile grid of the optimization projection- Returns:
- tile grid
-
getBoundingBox
public abstract BoundingBox getBoundingBox()
Get the world bounding box of the optimization projection- Returns:
- bounding box
-
getTileGrid
public abstract TileGrid getTileGrid(BoundingBox boundingBox, long zoom)
Get the tile grid of the bounding box at the zoom- Parameters:
boundingBox
- bounding boxzoom
- zoom level- Returns:
- tile grid
-
getBoundingBox
public abstract BoundingBox getBoundingBox(TileGrid tileGrid, long zoom)
Get the bounding box of the tile grid at the zoom- Parameters:
tileGrid
- tile gridzoom
- zoom level- Returns:
- bounding box
-
-