Opened 9 years ago

Closed 9 years ago

#3301 closed defect (invalid)

PostGIS_HasBBOX regress with 2.1.8 (intentional change?)

Reported by: robe Owned by: pramsey
Priority: low Milestone: PostGIS 2.2.0
Component: postgis Version: master
Keywords: Cc:

Description (last modified by robe)

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.

Change History (3)

comment:1 by robe, 9 years ago

Description: modified (diff)

comment:2 by strk, 9 years ago

I'm pretty sure it was intentional

comment:3 by robe, 9 years ago

Resolution: invalid
Status: newclosed

okay will mark as invalid then.

Note: See TracTickets for help on using tickets.