This was an epically long change, and a terrible idea, but it compiles. This was essentially a cascade that came about because I can't blend jet and bob in the same transaction. In for a penny, I guess...
9 lines
166 B
Go
9 lines
166 B
Go
package geomutil
|
|
|
|
import (
|
|
"github.com/twpayne/go-geom"
|
|
)
|
|
|
|
func PointFromLngLat(lng, lat float64) geom.T {
|
|
return geom.NewPointFlat(geom.XY, []float64{lng, lat})
|
|
}
|