[postgis-users] Re: two different geometries with the same Astext

strk at refractions.net strk at refractions.net
Sat Jul 23 14:16:55 PDT 2005


Miguel, if the summirized test still holds:

> >        1) within: false
> >        2) within(dropbbox): true
> >        3) within(addbbox(dropbbox)): true

I'd like to have some confirmation of the fact that
the boxes in 1) and 3) differ.

Try something like:

	select box2d(dropbbox(g2))::geometry::text = box2d(g2)::geometry::text;
	select box2d(dropbbox(g1))::geometry::text = box2d(g1)::geometry::text;

I'd expect one (or both) these to return FALSE.

--strk;




More information about the postgis-users mailing list