Re: JDBC get object - (Geometry Postgis) - Mailing list pgsql-jdbc

From Pedro Salazar
Subject Re: JDBC get object - (Geometry Postgis)
Date
Msg-id 1049816303.14880.78.camel@vitoria.intra.cet.pt
Whole thread Raw
In response to Re: JDBC get object - (Geometry Postgis)  (Dave Cramer <Dave@micro-automation.net>)
Responses Re: JDBC get object - (Geometry Postgis)
List pgsql-jdbc
On Tue, 2003-04-08 at 15:25, Dave Cramer wrote:
> Pedro,
>
> The geometry types are in the driver as
>
> org.postgresql.geometric.PGcircle,PGline ....
>
> Dave

Hi Dave,

Those objects are defined as well in the postgresql database as data
types, but how could I map them to postgis objects? Are them related or
compatible? Or should I transform/convert in a postgres function?

And, to retrieve a geometry object, is it enough to do a simple
getObject(N) and after that cast it to the respective postgresql object?

thanks,
Pedro Salazar.
--
PS
pedro-b-salazar@ptinovacao.pt
PGP:0E129E31D803BC61


pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: JDBC get object - (Geometry Postgis)
Next
From: Dave Cramer
Date:
Subject: Re: JDBC get object - (Geometry Postgis)