[PostGIS] #5674: ST_CoveredBy(geography, geography) not working for covered polygon with hole

PostGIS trac at osgeo.org
Thu Mar 7 17:52:02 PST 2024


#5674: ST_CoveredBy(geography, geography) not working for covered polygon with
hole
-------------------------+---------------------------
  Reporter:  dbiernacka  |      Owner:  pramsey
      Type:  defect      |     Status:  new
  Priority:  medium      |  Milestone:  PostGIS 3.2.8
 Component:  postgis     |    Version:  3.4.x
Resolution:              |   Keywords:
-------------------------+---------------------------
Comment (by robe):

 I just tested this and it returns true for me:


 {{{
 select ST_CoveredBy(
   ST_GeographyFromText('POLYGON ((3.845215 46.407564, 3.845215 47.886881,
 7.097168 47.886881, 7.097168 46.407564, 3.845215 46.407564), (6.569824
 46.980252, 5.822754 46.860191, 6.28418 47.561701, 6.569824 46.980252))'),
   ST_GeographyFromText('POLYGON ((1.120605 45.383019, 1.120605 48.661943,
 8.657227 48.661943, 8.657227 45.383019, 1.120605 45.383019))')
 )
 }}}


 {{{
 st_coveredby
 --------------
  t
 (1 row)
 }}}

 Are you sure this was the example you meant to post?
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5674#comment:2>
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