Skip to content

devork/twkb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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))

if err != 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.

Releases

No releases published

Packages

No packages published