[postgis-tickets] [PostGIS] #4407: Test failure on 32bit: tickets ... #3719

PostGIS trac at osgeo.org
Fri Aug 2 07:44:29 PDT 2019


#4407: Test failure on 32bit: tickets ... #3719
----------------------+---------------------------
  Reporter:  myon     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.0.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by Algunenano):

 I've narrowed it down to lwgeom_stroke:

 {{{
 CREATE OR REPLACE FUNCTION __custom_segmentize(geom geometry, integer
 DEFAULT 32)
         RETURNS geometry
         AS '$libdir/postgis-3', 'LWGEOM_curve_segmentize'
         LANGUAGE 'c' IMMUTABLE STRICT PARALLEL SAFE;


 Select
 ST_AsText(__custom_segmentize('CURVEPOLYGON(COMPOUNDCURVE(CIRCULARSTRING(1.0441
 2.9312,1.3959388 2.93601515,1.7478 2.9333), (1.7478 2.9333,1.0441
 2.9312)))'::geometry));
 }}}

 32b:
 {{{
 POLYGON((1.0441 2.9312,1.39593876394092 2.93601514989239,1.7478
 2.9333,1.7478 2.9333,1.0441 2.9312))
 }}}

 64b
 {{{
 POLYGON((1.0441 2.9312,1.39593876394092 2.93601514989239,1.7478
 2.9333,1.0441 2.9312))
 }}}


 BTW, I understand that LWGEOM_curve_segmentize should be replaced by the
 default deprecated C function as it's not used by the SQL code anymore.

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