Separate TWKB Unmarshallers
peterstace opened this issue · 0 comments
peterstace commented
TWKB currently has several functions that unmarshal some aspects of TWKB:
UnmarshalTWKB
UnmarshalTWKBWithHeaders
UnmarshalTWKBBoundingBoxHeader
UnmarshalTWKBEnvelope
We don't need this many (we should be able to get away with just 2):
UnmarshalTWKB
UnmarshalTWKBHeader
We should also consider returning the header as a struct containing all of the header fields rather than as individual parts.