geom
geom copied to clipboard
Geometry objects and functions for Go
Hi all! Can you tell me a convenient way to check a polygon for self-intersection or apply a method from a neighboring library `ctessum/polyclip-go` `MakeValid()`? Or can you make methods...
This looks like some sort of go library for working with geospatial/geometric data. Would be nice to see a simple readme describing the project and perhaps a hello world example...
Hi I made a test file with the use case that I am using and still generate some problems with the Difference. I used property-based testing with the "leanovate/gopter" library.
Adds a test for upstream bug fixed [here](https://github.com/ctessum/polyclip-go/commit/b4c12673bc80394c472b18f168a042f904ec948c). Fixes #2
The following difference of `mp1` and `mp2` multipolygons gives the empty polygon, but the difference is not empty: ``` mp1 := geom.MultiPolygon{geom.Polygon{geom.Path{geom.Point{X: 99, Y: 164}, geom.Point{X: 99, Y: 108}, geom.Point{X:...