Closed peterstace closed 2 months ago
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):
UnmarshalTWKBHeader
We should also consider returning the header as a struct containing all of the header fields rather than as individual parts.
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.