[postgis-tickets] [PostGIS] #4274: ST_PointOnSurface generated point produces ST_Intersects = false

PostGIS trac at osgeo.org
Tue Jul 2 04:23:10 PDT 2019


#4274: ST_PointOnSurface generated point produces ST_Intersects = false
----------------------+--------------------------
  Reporter:  andehhh  |      Owner:  pramsey
      Type:  defect   |     Status:  closed
  Priority:  medium   |  Milestone:  PostGIS GEOS
 Component:  postgis  |    Version:  2.4.x
Resolution:  fixed    |   Keywords:
----------------------+--------------------------
Changes (by Algunenano):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 This was addressed both in jts and GEOS:

 {{{
 template_postgis=# SELECT ST_Intersects(ST_PointOnSurface(poly), poly)
 FROM (SELECT 'SRID=4326; POLYGON ((2.0875049999999997 49.038467,
 2.087497642793396 49.0384427212182, 2.087475 49.038368, 2.0875049999999997
 49.038467))'::geometry AS poly) AS foo;
  st_intersects
 ---------------
  t
 (1 row)


 # Select postgis_full_version();
 postgis_full_version

 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 ------------------------------------------------------------------------------------------------------
  POSTGIS="3.0.0alpha4dev r17580" [EXTENSION] PGSQL="110" GEOS="3.8.0dev-
 CAPI-1.11.0 " PROJ="6.1.0" GDAL="GDAL 3.0.0, released 2019/05/05"
 LIBXML="2.9.9" LIBJSON="0.13.1" LIBPROTOBUF="1.3.1" WAGYU="0.4.3
 (Internal)" (core procs from "3.0.0dev r17376" need upgrade) TOPOLOGY
 (topology
  procs from "3.0.0dev r17376" need upgrade) RASTER (raster procs from
 "3.0.0dev r17376" need upgrade)
 (1 row)
 }}}

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