[postgis-tickets] [PostGIS] #3632: getFaceByPoint test relies on invalid topology

PostGIS trac at osgeo.org
Wed Sep 14 08:30:41 PDT 2016


#3632: getFaceByPoint test relies on invalid topology
----------------------+----------------------------
 Reporter:  strk      |      Owner:  strk
     Type:  defect    |     Status:  new
 Priority:  medium    |  Milestone:  PostGIS Future
Component:  topology  |    Version:  2.2.x
 Keywords:            |
----------------------+----------------------------
 Trying a faster Point-In-Polygon test I found that
 topology/test/regress/getfacebypoint.sql is expecting a debating result
 for the test 't5'.

 The argument point falls within an "inner" face but the "inner" face isn't
 correctly registered but rather marked as being part of the universe face.
 This is an invalid topology, constructed via AddEdge/AddFace calls within
 the test itself.

 I suggest the topology is corrected and both a test for point-in-hole and
 point-in-universe replace the existing 't5' test.

 Andrea: adding you in Cc as I believe you were the author of that test

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3632>
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