[postgis-tickets] [PostGIS] #3108: ST_SubDivide leaves pockets
PostGIS
trac at osgeo.org
Thu May 7 07:15:51 PDT 2015
#3108: ST_SubDivide leaves pockets
----------------------+---------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.2.0
Component: postgis | Version: trunk
Resolution: | Keywords:
----------------------+---------------------------
Comment (by strk):
The code counts the number of vertices that fall within the clipping box.
In your case, there are NO vertices in the box, right ?
In that case, the code checks if the polygon contains one corner of the
box and if it does, it returns a fully filled box, otherwise it returns
nothing.
Well, in your cases the box contains NO vertices but it still cuts the
polygon, so it's neither a full solid nor a missing. If this analysis is
correct, the code is bogus.
It will be a fun exercise at finding the smallest input that can reproduce
the problem.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3108#comment:7>
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-tickets
mailing list