/go-polygon

Small project that shows how to work with geos library in golang.

Primary LanguageGo

Geos in go


Small project that shows how to work with geos library in golang.

Build

$ go build

Main

  • Main file loads 2 csv files (Polygon and Points) in corresponding structures.

  • Then check if point intersects polygon and log the result.

Utils

  • Some utils to work with csv files that have WKT geometry field.

Types

  • Structs for loading csv files

  • To run tests on types:

$ go test