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

PostGIS trac at osgeo.org
Wed Mar 13 15:47:21 PDT 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'm not seeing anything on that fiddle.

 I can reproduce on my system running (I get a false)


 {{{
 POSTGIS="3.4.1 3.4.1" [EXTENSION] PGSQL="150" GEOS="3.12.1-CAPI-1.18.1"
 PROJ="8.2.1 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org
 USER_WRITABLE_DIRECTORY=C:\Users\paragon\AppData\Local/proj
 DATABASE_PATH=C:\Program
 Files\PostgreSQL\15\share\contrib\postgis-3.4\proj\proj.db"
 LIBXML="2.9.14" LIBJSON="0.12" LIBPROTOBUF="1.2.1" WAGYU="0.5.0
 (Internal)" (core procs from "3.3.2 3.3.2" need upgrade)
 }}}

 But on my dev systems I get true.

 Both my dev windows system running


 {{{
 POSTGIS="3.5.0dev 3.4.0rc1-1002-g10e23c724" [EXTENSION] PGSQL="160"
 GEOS="3.12.2dev-CAPI-1.18.2" (compiled against GEOS 3.13.0) PROJ="8.2.1
 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org
 USER_WRITABLE_DIRECTORY=C:\Users\lr\AppData\Local/proj
 DATABASE_PATH=C:\ming64gcc81\projects\proj\rel-
 proj-8.2.1w64gcc81/share/proj/proj.db" LIBXML="2.9.14" LIBJSON="0.12"
 LIBPROTOBUF="1.2.1" WAGYU="0.5.0 (Internal)" (core procs from "3.5.0dev
 3.4.0rc1-1009-g4b1f87175" need upgrade)
 }}}


 and a linux dev system running:


 {{{
 POSTGIS="3.5.0dev 3.4.0rc1-972-ga832b8598" [EXTENSION] PGSQL="160"
 GEOS="3.13.0dev-CAPI-1.18.0" PROJ="9.3.1 NETWORK_ENABLED=OFF
 URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/tmp/proj
 DATABASE_PATH=/usr/share/proj/proj.db" GDAL="GDAL 3.8.1, released
 2023/11/28" LIBXML="2.9.14" LIBJSON="0.17" LIBPROTOBUF="1.4.1"
 WAGYU="0.5.0 (Internal)" (core procs from "3.5.0dev
 3.4.0rc1-1013-g1284f168d" need upgrade) RASTER (raster lib from "3.5.0dev
 3.4.0rc1-1013-g1284f168d" need upgrade) (raster procs from "3.5.0dev
 3.4.0rc1-1013-g1284f168d" need upgrade)
 }}}

 So I'm guessing this issue was probably fixed recently.  Your 3.2.3 is not
 latest stable for 3.2, Latest 3.2 is 3.2.7

 Going to close this out as soon as I find the patch that fixed it.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5674#comment:4>
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