gogeos
gogeos copied to clipboard
Go library for spatial data operations and geometric algorithms (Go bindings for GEOS)
`dep ensure` is currently failing on anything that depends on this package `gogeos` because of this error: ``` init failed: unable to solve the dependency graph: Solving failure: No versions...
http://geos.refractions.net/ro/doxygen_docs/html/classgeos_1_1operation_1_1distance_1_1DistanceOp.html
`dep init` chokes on this path, so better to update it to the new home for this repository on github.
The Go equivalent to C's `void*` type is `unsafe.Pointer`, and the cgo tool automatically wraps functions that accept or return `void*` to accept or return `unsafe.Pointer` instead. `cwrappers.go` currently includes...
I have observed panics when prepared geometry objects are used: ``` pure virtual method called terminate called without an active exception SIGABRT: abort PC=0x7fbe473fbd27 signal arrived during cgo execution goroutine...
The problem is twofold: - In Geometry.Coords() we have to make sure the parent Geometry outlives the processing of the coordinates array. - The previous condition is not enough when...
Under heavy load gogoes/cgo randomly panics and outputs `panic: runtime error: invalid memory address or nil pointer dereference`. I can't tell if this is in gogeos or cgo, so I...
- TODO Add more tests - TODO Improve strtree item parsing
refer http://postgis.net/docs/ST_AsEWKB.html You should update the examples*.go since I had problem go test in my fork if import your repo path
My Beego Model, package models import ( "github.com/astaxie/beego/orm" _ "github.com/lib/pq" // "time" "github.com/paulsmith/gogeos/geos" ) type Configuration struct { Id int64 `db:"id"` Created int64 `db:"created_at";auto_now_add` Updated int64 `db:"updated_at";auto_now` Tenant string `db:"tenant",size=100`...