[postgis-users] Buffering with JDBC

Obe, Regina robe.dnd at cityofboston.gov
Fri May 11 13:12:01 PDT 2007


 
Slight correction  I think 

addDataType("geometry", org.postgis.PGgeometry.class )
 
 
Is the newer way.  But someone more familiar with this topic correct me.

Thanks,
Regina
________________________________

From: Obe, Regina 
Sent: Friday, May 11, 2007 4:07 PM
To: 'PostGIS Users Discussion'
Subject: RE: [postgis-users] Buffering with JDBC


It might have to do with the version you are using is my guess.
 
Does your cast work without buffering?  E.g. if you did
ResultSet r = s.executeQuery("SELECT GeometryFromText('POINT(10000
20000)',-1)");
 
 
I think there was a change between 8.1 and 8.2 so for 8.1 you might have
to do
addDataType("geometry", org.postgis.PGgeometry.class )
As noted in this thread
http://postgis.refractions.net/pipermail/postgis-users/2006-January/0109
48.html
 
Hope that hleps,
Regina

________________________________

From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of
backo lodovik
Sent: Friday, May 11, 2007 1:23 PM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] Buffering with JDBC



Thank you for your answer!!

I would like to ask you where can I find this vivdsolutions libraries?

Also, I would like to ask if someone knows what is the reason for
exception, I coppied the code from the PostGIS maual but it does not
work although it should have!!

 



 <https://img.web.de/p.gif> 	
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!   
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
<http://smartsurfer.web.de/?mc=100071&distributionid=000000000066>   	
-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.



More information about the postgis-users mailing list