Re: JDBC get object - (Geometry Postgis)

From: Pedro Salazar <pedro-b-salazar(at)ptinovacao(dot)pt>
To: Dave Cramer <Dave(at)micro-automation(dot)net>
Cc: postgres <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC get object - (Geometry Postgis)
Date: 2003-04-08 15:38:23
Message-ID: 1049816303.14880.78.camel@vitoria.intra.cet.pt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)ptinovacao(dot)pt
PGP:0E129E31D803BC61

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2003-04-08 16:43:48 Re: Problem asking columns allowing NULL values
Previous Message Pedro Salazar 2003-04-08 15:09:55 JDBC get object - (Geometry Postgis)