Skip to content

sqlbunny/geo

Repository files navigation

geo

Go geometry/geography data types.

Features:

  • Point, LineString, Polygon
  • MultiPoint, MultiLineString, MultiPolygon
  • *Z, *M, *ZM variants, including the Z and/or M coordinate.
  • *S variants, including an SRID.
  • null.* variants, to handle nullable SQL columns nicely.
  • EWKB marshal/unmarshal.
  • sql.Scanner, sql.Valuer implementation, tested with Postgres PostGIS.
  • JSON marshal/unmarshal works nicely.

About

Go geometry/geography data types for PostGIS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published