美文网首页
GoLang解析FileGDB(5) .gdbtablx文件规范

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

作者: 开源GIS地图与信创 | 来源:发表于2022-07-25 09:27 被阅读0次

.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文件规范

      本文链接:https://www.haomeiwen.com/subject/vslgirtx.html