GPKGFeatureTileGenerator
Objective-C
@interface GPKGFeatureTileGenerator : GPKGTileGenerator
Swift
class GPKGFeatureTileGenerator : GPKGTileGenerator
Creates a set of tiles within a GeoPackage by generating tiles from features
-
Flag indicating whether the feature and tile tables should be linked
Declaration
Objective-C
@property (nonatomic) BOOL linkTables;
Swift
var linkTables: Bool { get set }
-
-initWithGeoPackage:
andTableName: andFeatureTiles: andMinZoom: andMaxZoom: andBoundingBox: andProjection: Initialize
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage andTableName:(NSString *)tableName andFeatureTiles:(GPKGFeatureTiles *)featureTiles andMinZoom:(int)minZoom andMaxZoom:(int)maxZoom andBoundingBox:(GPKGBoundingBox *)boundingBox andProjection:(PROJProjection *)projection;
Swift
init!(geoPackage: GPKGGeoPackage!, andTableName tableName: String!, andFeatureTiles featureTiles: GPKGFeatureTiles!, andMinZoom minZoom: Int32, andMaxZoom maxZoom: Int32, andBoundingBox boundingBox: GPKGBoundingBox!, andProjection projection: PROJProjection!)
Parameters
geoPackage
GeoPackage
tableName
table name
featureTiles
feature tiles
minZoom
min zoom
maxZoom
max zoom
boundingBox
tiles bounding box
projection
tiles projection
Return Value
new feature tile generator
-
-initWithGeoPackage:
andTableName: andFeatureTiles: andFeatureGeoPackage: andMinZoom: andMaxZoom: andBoundingBox: andProjection: Initialize
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage andTableName:(NSString *)tableName andFeatureTiles:(GPKGFeatureTiles *)featureTiles andFeatureGeoPackage:(GPKGGeoPackage *)featureGeoPackage andMinZoom:(int)minZoom andMaxZoom:(int)maxZoom andBoundingBox:(GPKGBoundingBox *)boundingBox andProjection:(PROJProjection *)projection;
Swift
init!(geoPackage: GPKGGeoPackage!, andTableName tableName: String!, andFeatureTiles featureTiles: GPKGFeatureTiles!, andFeatureGeoPackage featureGeoPackage: GPKGGeoPackage!, andMinZoom minZoom: Int32, andMaxZoom maxZoom: Int32, andBoundingBox boundingBox: GPKGBoundingBox!, andProjection projection: PROJProjection!)
Parameters
geoPackage
GeoPackage
tableName
table name
featureTiles
feature tiles
featureGeoPackage
feature GeoPackage if different from the destination
minZoom
min zoom
maxZoom
max zoom
boundingBox
tiles bounding box
projection
tiles projection
-
Initialize, find the the bounding box from the feature table
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage andTableName:(NSString *)tableName andFeatureTiles:(GPKGFeatureTiles *)featureTiles andMinZoom:(int)minZoom andMaxZoom:(int)maxZoom andProjection:(PROJProjection *)projection;
Swift
init!(geoPackage: GPKGGeoPackage!, andTableName tableName: String!, andFeatureTiles featureTiles: GPKGFeatureTiles!, andMinZoom minZoom: Int32, andMaxZoom maxZoom: Int32, andProjection projection: PROJProjection!)
Parameters
geoPackage
GeoPackage
tableName
table name
featureTiles
feature tiles
minZoom
min zoom
maxZoom
max zoom
projection
tiles projection
-
-initWithGeoPackage:
andTableName: andFeatureTiles: andFeatureGeoPackage: andMinZoom: andMaxZoom: andProjection: Initialize, find the the bounding box from the feature table
Declaration
Objective-C
- (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage andTableName:(NSString *)tableName andFeatureTiles:(GPKGFeatureTiles *)featureTiles andFeatureGeoPackage:(GPKGGeoPackage *)featureGeoPackage andMinZoom:(int)minZoom andMaxZoom:(int)maxZoom andProjection:(PROJProjection *)projection;
Swift
init!(geoPackage: GPKGGeoPackage!, andTableName tableName: String!, andFeatureTiles featureTiles: GPKGFeatureTiles!, andFeatureGeoPackage featureGeoPackage: GPKGGeoPackage!, andMinZoom minZoom: Int32, andMaxZoom maxZoom: Int32, andProjection projection: PROJProjection!)
Parameters
geoPackage
GeoPackage
tableName
table name
featureTiles
feature tiles
featureGeoPackage
feature GeoPackage if different from the destination
minZoom
min zoom
maxZoom
max zoom
projection
tiles projection