go-pg / pg

Golang ORM with focus on PostgreSQL features and performance
https://pg.uptrace.dev/
BSD 2-Clause "Simplified" License
5.67k stars 405 forks source link

Add geometry type #1034

Closed wavded closed 5 years ago

wavded commented 5 years ago

Any interest in support an official PostGIS geometry type? My use case would prefer automatic GeoJSON encode and decode similar to this ORM implementation:

http://docs.sequelizejs.com/variable/index.html#static-variable-DataTypes

However, open to other ideas.

andystroz commented 5 years ago

I am looking for this functionality as well!