GoLang解析FileGDB(5) .gdbtablx文件规范
.gdbtablx文件规范
.gdbtablx文件包含.gdbtable的row的偏移信息。
Header (16 bytes)
- 4 bytes: 0x03 0x00 0x00 0x00 - unknown role. Constant among the files. Kind of signature ?
- int32: n1024BlocksPresent = number of blocks of offsets for 1024 features that are effectively present in that file (ie sparse blocks are not counted in that number).
- int32: number_of_rows : number of rows, included deleted rows
- int32: size_offset = number of bytes to encode each feature offset. Must be 4 (.gdbtable up to 4GB), 5 (.gdbtable up to 1TB) or 6 (.gdbtable up to 256TB)
Offset section
Int32类型的16进制解析
6D 02 00 00 00 是一个以16进制编码的int32类型little-endian数值,实际16进制可表示为0x26D,转换为10为621,与.gdbtable中的实际一至
共有 0 条评论