[postgis-devel] [PostGIS] #397: Defect in within function
PostGIS
trac at osgeo.org
Fri Jan 29 10:36:45 PST 2010
#397: Defect in within function
-------------------------+--------------------------------------------------
Reporter: svenanders | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone:
Component: postgis | Version: 1.4
Resolution: | Keywords:
-------------------------+--------------------------------------------------
Comment (by pramsey):
There is a slight sliver of the small geometry that extends beyond the
bounds of the large one:
{{{
select st_astext(st_difference(b.geom, a.geom)) from
(select geom from boundary_test where id = 51529) a,
(select geom from boundary_test where id = 158057) b;
}}}
{{{
POLYGON((
10.3251428466302 53.4497880952386,
10.3250776 53.4498083,10.3251442 53.4497893,
10.3251428466302 53.4497880952386))
}}}
Replace the '=' with ST_Equals in your test matrix above to get a more
reliable test.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/397#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list