Opened 9 years ago
Last modified 9 years ago
#3301 closed defect
PostGIS_HasBBOX regress with 2.1.8 (intentional change?) — at Initial Version
Reported by: | robe | Owned by: | pramsey |
---|---|---|---|
Priority: | low | Milestone: | PostGIS 2.2.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
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.
Note:
See TracTickets
for help on using tickets.