[postgis-tickets] [PostGIS] #4407: Test failure on 32bit: tickets ... #3719
PostGIS
trac at osgeo.org
Fri Aug 2 07:30:14 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):
Comparing 64 vs 32 bits:
{{{
Select postgis_geos_noop('CURVEPOLYGON(COMPOUNDCURVE(CIRCULARSTRING(1.0441
2.9312,1.3959388 2.93601515,1.7478 2.9333), (1.7478 2.9333,1.0441
2.9312)))'::geometry);
}}}
64b
{{{
01030000000100000004000000BF0E9C33A2B4F03F174850FC18730740CE84A5E2C355F63F70C9CA82F57C0740492EFF21FDF6FB3FBADA8AFD65770740BF0E9C33A2B4F03F174850FC18730740
}}}
32b
{{{
01030000000100000005000000BF0E9C33A2B4F03F174850FC18730740CE84A5E2C355F63F6DC9CA82F57C07404E2EFF21FDF6FB3FB6DA8AFD65770740492EFF21FDF6FB3FBADA8AFD65770740BF0E9C33A2B4F03F174850FC18730740
}}}
{{{
Select
ST_AsText(postgis_geos_noop('CURVEPOLYGON(COMPOUNDCURVE(CIRCULARSTRING(1.0441
2.9312,1.3959388 2.93601515,1.7478 2.9333), (1.7478 2.9333,1.0441
2.9312)))'::geometry));
}}}
64b:
{{{
POLYGON((1.0441 2.9312,1.39593876394092 2.93601514989239,1.7478
2.9333,1.0441 2.9312))
}}}
32b
{{{
POLYGON((1.0441 2.9312,1.39593876394092 2.93601514989239,1.7478
2.9333,1.7478 2.9333,1.0441 2.9312))
}}}
The 32b version is producing an extra point, which makes the polygon
invalid.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4407#comment:14>
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