Enum PbfError

Errors detected while decoding OSMPBF storage/framing data.

enum PbfError : ubyte { ... }

Enum members

NameDescription
blobDataTooLarge BlobHeader datasize exceeds the defensive serialized-Blob limit.
blobHeaderTooLarge The serialized BlobHeader length violates the hard format limit.
blobRawSizeMismatch Raw payload length disagrees with an explicitly supplied raw_size.
decompressedSizeMismatch Actual decompressed length disagrees with the declared raw_size.
denseInfoColumnLengthMismatch A present DenseInfo column does not contain one value per dense node.
denseInfoDeltaOverflow DenseInfo delta accumulation overflowed signed 64-bit range.
denseInfoTimestampOverflow Timestamp scaling by date_granularity overflowed signed 64-bit range.
denseInfoUidOutOfRange A cumulative DenseInfo uid cannot be represented by schema int32.
denseInfoUserStringIdOutOfRange A cumulative DenseInfo user_sid does not reference the indexed StringTable.
denseNodeColumnLengthMismatch DenseNodes ID, latitude and longitude columns have different lengths.
denseNodeCoordinateOverflow Exact nanodegree coordinate conversion overflowed signed 64-bit range.
denseNodeDeltaOverflow Delta accumulation for a DenseNodes ID/coordinate column overflowed.
denseTagMissingValue A DenseNodes tag key is not followed by a value before its node delimiter.
denseTagNodeCountMismatch A non-empty DenseNodes tag stream has too few or too many node delimiters.
denseTagStringIdOutOfRange A DenseNodes tag references a StringTable ID outside the indexed table.
infoTimestampOverflow Info timestamp scaling by date_granularity overflowed signed 64-bit range.
infoUserStringIdOutOfRange Info user_sid does not reference the indexed StringTable.
invalidBlobDataSize BlobHeader datasize is not a non-negative representable int32.
invalidBlobHeaderWire The BlobHeader contains malformed or unsupported protobuf wire data.
invalidBlobRawSize Blob raw_size, when present, is negative.
invalidBlobWire The Blob contains malformed or unsupported protobuf wire data.
invalidDenseInfoWire A DenseInfo message contains malformed or unsupported protobuf wire data.
invalidDenseNodesWire A DenseNodes message contains malformed or unsupported protobuf wire data.
invalidDenseTagStringId A non-zero DenseNodes keys_vals entry cannot denote a positive int32 StringTable ID.
invalidHeaderBBoxWire An embedded HeaderBBox contains malformed or unsupported protobuf wire data.
invalidHeaderBlockWire The HeaderBlock contains malformed or unsupported protobuf wire data.
invalidInfoWire A regular Info message contains malformed or unsupported protobuf wire data.
invalidNodeWire A regular Node message contains malformed or unsupported protobuf wire data.
invalidPrimitiveBlockWire The PrimitiveBlock contains malformed or unsupported protobuf wire data.
invalidPrimitiveGroupWire The PrimitiveGroup contains malformed or unsupported protobuf wire data.
invalidRelationRoleStringId A Relation role StringTable ID is negative after protobuf int32 decoding.
invalidRelationWire A regular Relation message contains malformed or unsupported protobuf wire data.
invalidStringTableWire A StringTable message contains malformed or unsupported protobuf wire data.
invalidTagStringId StringTable index zero was used as a normal element tag key or value.
invalidTagWire A normal element tag scan encountered malformed protobuf wire data.
invalidWayWire A regular Way message contains malformed or unsupported protobuf wire data.
missingBlobDataSize The required BlobHeader datasize field is absent.
missingBlobPayload No recognized Blob data payload field is present.
missingBlobRawSize A compressed Blob does not provide the required raw_size.
missingBlobType The required BlobHeader type field is absent.
missingHeaderBBoxBottom A present HeaderBBox is missing required field bottom.
missingHeaderBBoxLeft A present HeaderBBox is missing required field left.
missingHeaderBBoxRight A present HeaderBBox is missing required field right.
missingHeaderBBoxTop A present HeaderBBox is missing required field top.
missingNodeId A regular Node is missing required field id.
missingNodeLat A regular Node is missing required field lat.
missingNodeLon A regular Node is missing required field lon.
missingPrimitiveBlockStringTable The required PrimitiveBlock stringtable message is absent.
missingRelationId A regular Relation is missing required field id.
missingStringTableZeroEntry The merged StringTable has no index-zero entry.
missingWayId A regular Way is missing required field id.
mixedPrimitiveGroupTypes One PrimitiveGroup contains more than one OSMPBF primitive kind.
multipleBlobPayloads More than one correctly encoded Blob data oneof occurrence was found.
nodeCoordinateOverflow Exact regular-Node nanodegree coordinate conversion overflowed signed 64-bit range.
nodeCountMismatch A defensive regular-Node rescan disagreed with the validated group node count.
none No error has occurred.
nonEmptyStringTableZeroEntry The merged StringTable index-zero entry is not empty.
obsoleteBlobCompression The Blob uses the deprecated bzip2 field.
outputBufferTooSmall The caller-provided decompression buffer is smaller than raw_size.
primitiveBlockTooLarge PrimitiveBlock payload reaches or exceeds the hard uncompressed block limit.
relationCountMismatch A defensive regular-Relation rescan disagreed with the validated group summary.
relationMemberColumnLengthMismatch Relation roles_sid, memids, and types have different logical lengths.
relationMemberIdOverflow Checked accumulation of a delta-coded Relation member ID overflowed int64.
relationRoleStringIdOutOfRange A Relation role references a StringTable ID outside the indexed table.
stringTableCountMismatch A defensive StringTable rescan did not reproduce the validated entry count.
stringTableWorkspaceTooSmall Caller-owned StringRef storage is smaller than the validated table size.
tagColumnLengthMismatch Regular element key/value arrays have different logical lengths.
tagStringIdOutOfRange A normal element tag references a StringTable ID outside the indexed table.
trailingCompressedData Bytes remain after the end of the single expected compressed stream.
truncatedBlobData The input ends before the complete serialized Blob message is available.
truncatedBlobHeader The input ends before the complete serialized BlobHeader is available.
truncatedHeaderLength Fewer than four bytes remain for the network-order header length.
uncompressedBlobTooLarge The uncompressed Blob payload reaches or exceeds the 32 MiB hard limit.
unsupportedBlobCompression The optional compression representation has no configured backend.
unsupportedRelationMemberType A Relation member type is not NODE, WAY, or RELATION.
unsupportedRequiredFeature The active reader policy does not understand a required HeaderBlock feature.
wayCoordinateOverflow Way location delta accumulation or exact coordinate conversion overflowed int64.
wayCountMismatch A defensive regular-Way rescan disagreed with the validated group summary.
wayLocationColumnLengthMismatch Optional Way location columns do not align one-to-one with refs.
wayRefOverflow Checked accumulation of a delta-coded Way node reference overflowed int64.
wayWorkspaceTooSmall Caller-owned WayDecodePlan storage is smaller than the validated Way count.
zlibDecompressionFailed zlib rejected the compressed payload as malformed or otherwise invalid.