id summary reporter owner description type status priority milestone component version resolution keywords cc 2605 armel: _ST_Covers() returns true for point in hole mwanner pramsey "I tracked down an issue in the topology test suite (test addpolygon) to the following (on ARM, little-endian): {{{ test=# SELECT _ST_Covers('POLYGON((9 28, 16 29, 16 23, 10 23, 9 28), (15 25, 13 27, 11 24, 15 25))'::geometry, 'POINT(13 25)'::geometry); _st_covers ------------ t (1 row) }}} The point in question in excluded by the hole, so _ST_Covers() should return false. It works properly if you use a small polygon, instead: {{{ test=# SELECT _ST_Covers('POLYGON((9 28, 16 29, 16 23, 10 23, 9 28), (15 25, 13 27, 11 24, 15 25))'::geometry, 'POLYGON((13 25, 13.1 25, 13 25.1, 13 25))'::geometry); _st_covers ------------ f (1 row) }}} " defect closed medium PostGIS 2.1.4 postgis 2.1.x fixed