Crate petra_grid

source ·
Expand description

types and functions for retrieving (partial) grid data from Petra GRD files

this library is based on a lot of time spent in a hex editor examining some Petra grid files, including the utterly ungoogleable WVGS Utica Playbook supplemental Petra grid archive as well as data provided by helpful collaborators

educated guesses have been made in some places based on information in Petra documentation or ancillary output

while we’ve successfully used it to read real Petra grids, it’s had limited testing, and much of the data format remains opaque and mysterious, so expect oddities and perhaps errors, especially when reading grids which use “uncommon” methods or features

Structs

Enums

  • errors which may occur while reading a grid
  • the actual grid data of a Petra grid
  • units of measure for a given dimension