Versions in this module Expand all Collapse all v0 v0.0.1 Oct 8, 2024 Changes in this version + type Geometry struct + func Must(g *Geometry, err error) *Geometry + func NewGeometry(geom *geos.Geom) *Geometry + func NewGeometryFromGeoJSON(geoJSON []byte) (*Geometry, error) + func NewGeometryFromWKB(wkb []byte) (*Geometry, error) + func NewGeometryFromWKT(wkt string) (*Geometry, error) + func (g *Geometry) AsGeoJSON() ([]byte, error) + func (g *Geometry) Bounds() *geos.Box2D + func (g *Geometry) Destroy() + func (g *Geometry) GobDecode(data []byte) error + func (g *Geometry) GobEncode() ([]byte, error) + func (g *Geometry) MarshalBinary() ([]byte, error) + func (g *Geometry) MarshalJSON() ([]byte, error) + func (g *Geometry) MarshalText() ([]byte, error) + func (g *Geometry) MarshalXML(e *xml.Encoder, _ xml.StartElement) error + func (g *Geometry) Scan(src interface{}) error + func (g *Geometry) SetSRID(srid int) *Geometry + func (g *Geometry) UnmarshalBinary(data []byte) error + func (g *Geometry) UnmarshalJSON(data []byte) error + func (g *Geometry) UnmarshalText(data []byte) error + func (g Geometry) Value() (driver.Value, error)