sql

All things SQL and JDBC...
maxp 2020-07-19T14:25:39.259400Z

Anyone use PostGIS with next.jdbc? How to load geometries as objects, but not as plain strings?

2020-07-20T19:26:29.264300Z

I totally want to do this also!

2020-07-20T19:27:47.265700Z

Yes I use PostGIS with next.jdbc, but I am using strings :-(

2020-07-20T19:58:18.265900Z

So, I found https://github.com/atsman/clj-postgresql#postgis-types awhile back, not sure if this is the kind of thing you are looking for, if so, it should be straightforward to port to next.jdbc (I have already ported most of the rest of this library....) One thing I still do not grok is what datatype(s) are used on the Java/Clojure side .... https://github.com/atsman/clj-postgresql/blob/master/src/clj_postgresql/spatial.clj