[postgis-users] Strange Exceptions

Markus Schaber schabios at logi-track.com
Mon Jan 26 11:21:16 PST 2004


Hi, David,

On Mon, 26 Jan 2004 10:16:57 -0800
David Blasby <dblasby at refractions.net> wrote:

> > Some strange Exceptions appeared today:
> 
> Your query involved an intersection() that couldnt be computed. 
> PostGIS is giving you more information, but Java isnt reporting it. 
> Try executing the same query directly to postgresql (using psql) and
> you should see what the error message is.

Yes, I got more Information from it:

testdb=# SELECT intersection(geom,'BOX3D (6.05 46.2667,11.05
48.4667)'::box3d) FROM table WHERE geom && 'BOX3D (6.05 46.2667,11.05
48.4667)'::box3d; 

HINWEIS:  TopologyException: side location conflict (6.74219,46.9513) 

FEHLER:  GEOS Intersection() threw an error!

However, I currently don't really understand what it means. I guess it's
some problem with the polygon data (Polygon objects with up to 19
rings).

I'll try to investigate further.

Thanks,
Markus

-- 
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schaber at logi-track.com | www.logi-track.com



More information about the postgis-users mailing list