PmTilesErrorCodes

PMTiles error-code constants.

Properties

Link copied to clipboard

The archive was used after it was closed.

Link copied to clipboard
@ObjCName(swiftName = "compressionFailed")
val CompressionFailed: PmTilesErrorCode

Data could not be compressed for archive writing.

Link copied to clipboard
@ObjCName(swiftName = "decompressionFailed")
val DecompressionFailed: PmTilesErrorCode

Compressed data could not be decompressed.

Link copied to clipboard
@ObjCName(swiftName = "invalidDirectory")
val InvalidDirectory: PmTilesErrorCode

A root or leaf directory is malformed.

Link copied to clipboard

The header is malformed or internally inconsistent.

Link copied to clipboard

The archive does not start with the PMTiles magic bytes.

Link copied to clipboard
@ObjCName(swiftName = "invalidMetadata")
val InvalidMetadata: PmTilesErrorCode

Metadata JSON is malformed or violates strict metadata rules.

Link copied to clipboard
@ObjCName(swiftName = "invalidRootDirectoryLocation")
val InvalidRootDirectoryLocation: PmTilesErrorCode

The root directory is not fully contained in the first 16 KiB.

Link copied to clipboard
@ObjCName(swiftName = "invalidSectionLayout")
val InvalidSectionLayout: PmTilesErrorCode

Header section offsets or lengths are invalid.

Link copied to clipboard
@ObjCName(swiftName = "invalidTileCoordinate")
val InvalidTileCoordinate: PmTilesErrorCode

A tile coordinate or TileID is outside the supported range.

Link copied to clipboard
@ObjCName(swiftName = "invalidTileInput")
val InvalidTileInput: PmTilesErrorCode

Tile input provided to the writer is malformed or inconsistent.

Link copied to clipboard

A varint is malformed, unterminated, or overflows.

Link copied to clipboard

A configured operational limit was exceeded.

Link copied to clipboard
@ObjCName(swiftName = "rangeOutOfBounds")
val RangeOutOfBounds: PmTilesErrorCode

A requested byte range is outside the archive or configured limits.

Link copied to clipboard
@ObjCName(swiftName = "sinkUnavailable")
val SinkUnavailable: PmTilesErrorCode

The caller-provided sink could not satisfy a write.

Link copied to clipboard
@ObjCName(swiftName = "sourceUnavailable")
val SourceUnavailable: PmTilesErrorCode

The caller-provided source could not satisfy a read.

Link copied to clipboard
@ObjCName(swiftName = "unsupportedCompression")
val UnsupportedCompression: PmTilesErrorCode

The archive requires a compression codec this reader does not implement.

Link copied to clipboard
@ObjCName(swiftName = "unsupportedVersion")
val UnsupportedVersion: PmTilesErrorCode

The archive uses a PMTiles version unsupported by this reader.