[postgis-users] JDBC support for Geography columns

Ken Kachnowich khkachn at gmail.com
Mon Apr 21 06:43:57 PDT 2014


Is there any JDBC support for geography columns in PostGIS? I am able to
cast them to geometry on the select and I assume I can do the same for
inserts and updates, but I was wondering if any direct support exists or is
planned and I just could not find it.

So this works:

ResultSet rs = s.executeQuery("select geog::geometry from table1);
PGgeometry geo = (PGgeometry)rs.getObject(1);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20140421/91538cdb/attachment.html>


More information about the postgis-users mailing list