[geos-devel] PostGIS Exception Catching

Paul Ramsey pramsey at refractions.net
Mon Jun 2 12:33:25 EDT 2003


Well, since the underlying GEOS code is throwing an exception which 
probably contains a little descriptive text, perhaps parrotting the GEOS 
information would be a good first step.

David Blasby wrote:
> Paul Ramsey wrote:
> 
>> Dave,
>> Now that we're catching exceptions (I just compiled the CVS postgis 
>> and geos, no problems, straight install) we should make the return 
>> text on the pgsql error more instructive.
>>
>> pramsey=# select relate(g,g) from validtest ;
>> ERROR:  GEOS relate() threw an error!
>> pramsey=#
> 
> 
> Its easy to change - what do you want it to say?
> 
> dave





More information about the geos-devel mailing list