[postgis-tickets] [PostGIS] #3301: PostGIS_HasBBOX regress with 2.1.8 (intentional change?)

PostGIS trac at osgeo.org
Tue Sep 29 12:26:36 PDT 2015


#3301: PostGIS_HasBBOX regress with 2.1.8 (intentional change?)
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  low      |  Milestone:  PostGIS 2.2.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------
Description changed by robe:

Old description:

> I suspect this is intentional, but logging it as a regress just in case.
>
> Testing with
>
> {{{
> POSTGIS="2.2.0dev r14136" 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" (core procs from "2.2.0dev r14092" need upgrade) RASTER
> (raster procs from "2.2.0dev r14092" need upgrade)
> }}}
>

> {{{
> SELECt PostGIS_HasBBox('LINESTRING(-11 70,70 -10)'::geometry)
> }}}
>

> In 2.1.8 this returns true, but in 2.2.0 returns false.
>

> Returns true for 3 point, so I am guessing this is just an optimization
> change since the box talkes as much sapce a the geometry.

New description:

 I suspect this is intentional, but logging it as a regress just in case.

 Testing with

 {{{
 POSTGIS="2.2.0dev r14136" 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" (core procs from "2.2.0dev r14092" need upgrade) RASTER
 (raster procs from "2.2.0dev r14092" need upgrade)
 }}}


 {{{
 SELECt PostGIS_HasBBox('LINESTRING(-11 70,70 -10)'::geometry)
 }}}


 In 2.1.8 this returns true, but in 2.2.0 returns false.


 Returns true for 3 point, so I am guessing this is just an optimization
 change since the box talkes as much space as the geometry.

--

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