[postgis-tickets] [PostGIS] #4103: ST_PointOnSurface on invalid inputs

PostGIS trac at osgeo.org
Tue Jun 5 08:32:07 PDT 2018


#4103: ST_PointOnSurface on invalid inputs
---------------------+---------------------------
 Reporter:  komzpa   |      Owner:  komzpa
     Type:  defect   |     Status:  assigned
 Priority:  medium   |  Milestone:  PostGIS 2.5.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 {{{
 18:27:31 [gis] > select
 ST_PointOnSurface('0103000020110F0000010000000A000000000000C41E644741000000EEA2A75A41000000F420644741000000629EA75A410000007A2D644741000000E49FA75A41000000C02E644741000000409DA75A41000000286A64474100000064A4A75A410000007867644741000000FAA9A75A41000000E82B644741000000D2A2A75A41000000222D64474100000046A0A75A41000000242B6447410000006CA4A75A41000000C41E644741000000EEA2A75A41');
 ERROR:  XX000: GEOSPointOnSurface: TopologyException: Input geom 1 is
 invalid: Self-intersection at or near point 3065943.8190934439
 6987403.2828343641 at 3065943.8190934439 6987403.2828343641
 LOCATION:  pg_error, lwgeom_pg.c:128
 Time: 0,866 ms
 }}}

 A polygon is output of ST_QuantizeCoordinates and was valid before that.

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