GPKGCoverageDataRequest
Objective-C
@interface GPKGCoverageDataRequest : NSObject
Swift
class GPKGCoverageDataRequest : NSObject
Coverage Data request to retrieve coverage data values for a point or bounding box
-
Bounding box projected to the coverage data projection
Declaration
Objective-C
@property (nonatomic, strong) GPKGBoundingBox *projectedBoundingBox;Swift
var projectedBoundingBox: GPKGBoundingBox! { get set } -
Initialize
Declaration
Objective-C
- (instancetype)initWithBoundingBox:(GPKGBoundingBox *)boundingBox;Swift
init!(boundingBox: GPKGBoundingBox!)Parameters
boundingBoxbounding box
Return Value
new coverage data request
-
Initialize
Declaration
Objective-C
- (instancetype)initWithLatitude:(double)latitude andLongitude:(double)longitude;Swift
init!(latitude: Double, andLongitude longitude: Double)Parameters
latitudelatitude coordinate
longitudelongitude coordinate
Return Value
new coverage data request
-
Get the bounding box
Declaration
Objective-C
- (GPKGBoundingBox *)boundingBox;Swift
func boundingBox() -> GPKGBoundingBox!Return Value
bounding box
-
Get if a point request
Declaration
Objective-C
- (BOOL)isPoint;Swift
func isPoint() -> BoolReturn Value
true if a point request
-
Get the bounding box overlap between the projected bounding box and the coverage data bounding box
Declaration
Objective-C
- (GPKGBoundingBox *)overlapWithBoundingBox: (GPKGBoundingBox *)projectedCoverage;Swift
func overlap(with projectedCoverage: GPKGBoundingBox!) -> GPKGBoundingBox!Parameters
projectedCoverageprojected coverage
Return Value
overlap bounding box
View on GitHub
GPKGCoverageDataRequest Class Reference