Closed peterstace closed 6 months ago
E.g. https://go.dev/play/p/ESSvqvTFVlV
package main import ( "fmt" "github.com/peterstace/simplefeatures/geom" ) func main() { p := geom.Polygon{}.ForceCoordinatesType(geom.DimXYM) p, err := p.Simplify(0.1) if err != nil { panic(err) } fmt.Println(p.CoordinatesType()) }
XY Program exited.
E.g. https://go.dev/play/p/ESSvqvTFVlV