typelevel / skunk

A data access library for Scala + Postgres.
https://typelevel.org/skunk/
MIT License
1.58k stars 161 forks source link

Support for PostGIS #116

Open k0ala opened 4 years ago

k0ala commented 4 years ago

Many Postgres-based apps use PostGIS, so it would be great to support it from skunk!

cranst0n commented 3 years ago

FWIW, I hacked together some codecs that seem to behave for a few of the PostGIS types in this gist. Maybe of use for a legit PR down the road.

tpolecat commented 3 years ago

Very helpful, thanks!

cranst0n commented 3 years ago

So the codecs in my gist are apparently for the built in postgres geometry types and not PostGIS. So while they may be useful in some capacity, they're not what I originally sold them as. As I get further up to speed on this, I'll hopefully have something applicable to PostGIS to share.

tpolecat commented 3 years ago

The built-in geometry types are useful nonetheless. Thanks!

kareblak commented 1 year ago

The suggested codecs are, as stated, for the postgres geometry types, and should have a place in the skunk core imo.