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);
_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

Reply via email to