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

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中的实际一至

版权声明:
作者:congcong
链接:https://www.techfm.club/p/45208.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>