[postgis-devel] JDBC: Setting/Getting JTS-geometries using bind-vars

Markus Schaber schabi at logix-tt.com
Mon Jan 9 08:35:47 PST 2006


Hi, Aron,

Aron Olsen wrote:

> I was looking for a way to get JTS-geoms from ResultSets and to set
> JTS-geoms in PreparedStatements using bind-vars, but what I found was not
> very usefull. Usually everybody seems to use WKT, which requires a special
> SQL-syntax. This was not acceptable to me.

Did you try to use the PostGIS JDBC Driver extensions? The newer
versions provide a basic JTS geometry interface in addition to the
PostGIS original one.

Schabi

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org



More information about the postgis-devel mailing list