[geos-devel] [GEOS] #840: PointOnSurface strange behavior

GEOS geos-trac at osgeo.org
Tue Aug 29 11:36:20 PDT 2017


#840: PointOnSurface strange behavior
----------------------------+---------------------------
 Reporter:  sbe             |       Owner:  geos-devel@…
     Type:  defect          |      Status:  new
 Priority:  minor           |   Milestone:  3.6.3
Component:  Default         |     Version:  3.6.2
 Severity:  Unassigned      |  Resolution:
 Keywords:  pointOnSurface  |
----------------------------+---------------------------

Comment (by mloskot):

 FWIW, `ST_PointOnSurface` returns **an arbitrary point**. The only
 guarantee is that such point is located inside interior of a geometry.
 Subsequent calls of `ST_PointOnSurface` for the same geometry might
 possibly return different points (all inside the interior, of course).

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/840#comment:3>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list