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
boundingBox
bounding 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
latitude
latitude coordinate
longitude
longitude 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() -> Bool
Return 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
projectedCoverage
projected coverage
Return Value
overlap bounding box