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