GPKGCoverageDataTiffImage
Objective-C
@interface GPKGCoverageDataTiffImage : NSObject <GPKGCoverageDataImage>
Swift
class GPKGCoverageDataTiffImage : NSObject, GPKGCoverageDataImage
Coverage Data TIFF image
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTileRow:(GPKGTileRow *)tileRow;
Swift
init!(tileRow: GPKGTileRow!)
Parameters
tileRow
tile row
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithFileDirectory:(TIFFFileDirectory *)directory;
Swift
init!(fileDirectory directory: TIFFFileDirectory!)
Parameters
directory
file directory
Return Value
new instance
-
Get the image data
Declaration
Objective-C
- (NSData *)imageData;
Swift
func imageData() -> Data!
Return Value
image data
-
Get the file directory
Declaration
Objective-C
- (TIFFFileDirectory *)directory;
Swift
func directory() -> TIFFFileDirectory!
Return Value
file directory
-
Get the rasters, read if needed
Return Value
rasters
-
Write the TIFF file to the image bytes
Declaration
Objective-C
- (void)writeTiff;
Swift
func writeTiff()
-
Get the pixel at the coordinate
Declaration
Objective-C
- (float)pixelAtX:(int)x andY:(int)y;
Swift
func pixelAt(x: Int32, andY y: Int32) -> Float
Parameters
x
x coordinate
y
y coordinate
Return Value
pixel value