Re: JDBC get object - (Geometry Postgis)
От | Dave Cramer |
---|---|
Тема | Re: JDBC get object - (Geometry Postgis) |
Дата | |
Msg-id | 1049813510.1743.62.camel@inspiron.cramers обсуждение исходный текст |
Ответ на | Re: JDBC get object - (Geometry Postgis) (Pedro Salazar <pedro-b-salazar@ptinovacao.pt>) |
Ответы |
Re: JDBC get object - (Geometry Postgis)
|
Список | pgsql-jdbc |
Pedro, I think we have to put the code back which allows you to add types. I'm not sure where it went, but it appears to be gone?? Dave On Tue, 2003-04-08 at 11:38, Pedro Salazar wrote: > 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. -- Dave Cramer <Dave@micro-automation.net>
В списке pgsql-jdbc по дате отправления: