[postgis-tickets] [PostGIS] #3300: Box2D for curves regress failure between 2.1.8 and 2.2.0

PostGIS trac at osgeo.org
Tue Sep 29 08:32:03 PDT 2015


#3300: Box2D for curves regress failure  between 2.1.8 and 2.2.0
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  PostGIS 2.2.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 Testing in: PostgreSQL 9.4.4, compiled by Visual C++ build 1800, 64-bit
 {{{
 POSTGIS="2.1.8 r13780" GEOS="3.5.0-CAPI-1.9.0 r4088" PROJ="Rel. 4.8.0, 6
 March 2012" GDAL="GDAL 1.11.1, released 2014/09/24" LIBXML="2.7.8"
 LIBJSON="UNKNOWN" RASTER
 }}}


 {{{
 POSTGIS="2.2.0dev r14092" GEOS="3.5.0-CAPI-1.9.0 r4088" PROJ="Rel. 4.9.1,
 04 March 2015" GDAL="GDAL 2.0.1, released 2015/09/15" LIBXML="2.7.8"
 LIBJSON="0.12" RASTER
 }}}




 {{{
 SELECT Box2D('CURVEPOLYGON(CIRCULARSTRING(-71.0821 42.3036,-71.4821
 42.3036,-71.7821 42.7036,-71.0821 42.7036,-71.0821 42.3036),(-71.1821
 42.4036,-71.3821 42.6036,-71.3821 42.4036,-71.1821 42.4036))'::Geometry);
 }}}


 In 2.1.8 I get:


 {{{
 BOX(-71.7821 42.2622088907314,-71.0289871125841 42.9067128874151)
 }}}


 In 2.2.0 I get:


 {{{
 BOX(-71.7821 42.2622088907314,1.17549435082229e-038 42.9067128874151)
 }}}

 I'm very concerned about that - 1.17549435082229e-038   that seems to have
 come out of no where

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