Skip to content
/ wkt Public

Package wkt implements a simplified parser for Well Known Text in Go

License

Notifications You must be signed in to change notification settings

mb0/wkt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wkt

Package wkt implements a simplified parser for Well Known Text. It supports Point, MultiPoint, LineString, Polygon and MultiPolygon with both z and m coordinate parsing

http://en.wikipedia.org/wiki/Well-known_text

Install

go get github.com/mb0/wkt

Basic Usage

You can find the online documentation at http://godoc.org/github.com/mb0/wkt

Example:

geom, err := wkt.Parse([]byte(`POINT ZM(1.0 2.0 3.0 4.0)`))

License

wkt is BSD licensed, Copyright (c) 2014 Martin Schnabel

About

Package wkt implements a simplified parser for Well Known Text in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages