[postgis-users] Seeing the value of a geometry string before an error message is issued.

David Potts dave.potts at pinan.co.uk
Tue Jan 5 00:29:06 PST 2010


Hi

I am using hibernate spatial as a front end to postgis(8.3) database
within a java program.

As far as I can tell, a valid sql statment is generated,  I pass in
  what I think is a valid geometry string.

I am getting a 'invalid geometry' error message.

Short off rebuilding the liblwgeom library is there any easy way off
getting a copy of the string that postgis being passed?

I want to ensure that what I am passing in to hibernate is actual being
supplied to postgis correctly.

I have turned on on the postgres statment processing in the postgres log
just shows the geometry string being passed in as the string '$1.'  Which
is I  assume its method of showing a binary argument.

D.

-- 
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of the
Pinan Software





More information about the postgis-users mailing list