Skip to content

Repository files navigation

TWKB Go Library

Build Status

A small GO parser for the TWKB specification

Usage

go get github.com/devork/twkb

data, _:=hex.DecodeString("01000204")
geom, err:=Decode(bytes.NewReader(data))
iferr!=nil {
t.Fatalf("Failed to decode point geometry: err = %s", err)
}
// Do something magical with the geometry returned

The library is usable, but could do with some optimisations.

About

A small GO parser for the TWKB format

Topics

Resources

Stars

17 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages