GoLang解析FileGDB(5) .gdbtablx文件规范

5个月前 (12-11) 0 点赞 0 收藏 0 评论 9 已阅读

.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

176405389-baa93235-3eb1-4ebb-923f-78448ee1befd.png

176405525-3ef88a10-5ef9-4db1-b16f-81255d20fb77.png

Int32类型的16进制解析

6D 02 00 00 00 是一个以16进制编码的int32类型little-endian数值,实际16进制可表示为0x26D,转换为10为621,与.gdbtable中的实际一至


GoLang解析FileGDB(5) .gdbtablx文件规范

本文收录在
0评论

登录

忘记密码 ?

切换登录

注册