[postgis-users] "row number" error on distance operation

Simon Schneider Kallas at gmx.de
Wed Dec 5 02:59:39 PST 2007


Hi,

I'd like to check whether a certain point lies within a polygon but I 
always get the error "row number -1 is out of range 0..-1".

My query:
SELECT objects.name FROM objects WHERE distance(GeomFromText('POINT(500 
500)',-1), objects.geom3d)=0;

thx in advance,

Simon



More information about the postgis-users mailing list