GPKGTileReprojectionOptimize
Objective-C
@interface GPKGTileReprojectionOptimize : NSObject
Swift
class GPKGTileReprojectionOptimize : NSObject
Tile Reprojection Optimizations
-
World tile coordinate bounds (XYZ), as opposed to minimal tile fitting bounds (default)
Declaration
Objective-C
@property (nonatomic) BOOL world;
Swift
var world: Bool { get set }
-
Create a Web Mercator optimization, minimally tile bounded
Declaration
Objective-C
+ (GPKGTileReprojectionOptimize *)webMercator;
Swift
class func webMercator() -> GPKGTileReprojectionOptimize!
Return Value
tile reprojection optimize
-
Create a Platte Carre (WGS84) optimization, minimally tile bounded
Declaration
Objective-C
+ (GPKGTileReprojectionOptimize *)platteCarre;
Swift
class func platteCarre() -> GPKGTileReprojectionOptimize!
Return Value
tile reprojection optimize
-
Create a Web Mercator optimization, world bounded with XYZ tile coordinates
Declaration
Objective-C
+ (GPKGTileReprojectionOptimize *)webMercatorWorld;
Swift
class func webMercatorWorld() -> GPKGTileReprojectionOptimize!
Return Value
tile reprojection optimize
-
Create a Platte Carre (WGS84) optimization, world bounded with XYZ tile coordinates
Declaration
Objective-C
+ (GPKGTileReprojectionOptimize *)platteCarreWorld;
Swift
class func platteCarreWorld() -> GPKGTileReprojectionOptimize!
Return Value
tile reprojection optimize
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new tile reprojection optimize
-
Initialize
Declaration
Objective-C
- (instancetype)initWithWorld:(BOOL)world;
Swift
init!(world: Bool)
Parameters
world
world coordinate bounds
Return Value
new tile reprojection optimize
-
Get the optimization projection
Return Value
projection
-
Get the world tile grid of the optimization projection
Return Value
tile grid
-
Get the world bounding box of the optimization projection
Declaration
Objective-C
- (GPKGBoundingBox *)boundingBox;
Swift
func boundingBox() -> GPKGBoundingBox!
Return Value
bounding box
-
Get the tile grid of the bounding box at the zoom
Declaration
Objective-C
- (GPKGTileGrid *)tileGridWithBoundingBox:(GPKGBoundingBox *)boundingBox andZoom:(int)zoom;
Swift
func tileGrid(with boundingBox: GPKGBoundingBox!, andZoom zoom: Int32) -> GPKGTileGrid!
Parameters
boundingBox
bounding box
zoom
zoom level
Return Value
tile grid
-
Get the bounding box of the tile grid at the zoom
Declaration
Objective-C
- (GPKGBoundingBox *)boundingBoxWithTileGrid:(GPKGTileGrid *)tileGrid andZoom:(int)zoom;
Swift
func boundingBox(with tileGrid: GPKGTileGrid!, andZoom zoom: Int32) -> GPKGBoundingBox!
Parameters
tileGrid
tile grid
zoom
zoom level
Return Value
bounding box