Opened 10 years ago

Closed 10 years ago

#3073 closed defect (fixed)

ST_ClipByBox2D: gbox_overlaps: cannot compare geodetic and non-geodetic boxes

Reported by: strk Owned by: pramsey
Priority: blocker Milestone: PostGIS 2.2.0
Component: postgis Version: master
Keywords: Cc:

Description

The error was introduced by commit r13313, breaking an hack that relied on BOX2D and GBOX being the same for the 2D part: https://github.com/postgis/postgis/blob/179a06c7a16b488f8f4768ee20a2a72b8d2817d2/postgis/lwgeom_geos.c#L1678-L1679

Either the hack needs be removed or the new centralized code (probably better to remove the hack)

Change History (2)

comment:1 by strk, 10 years ago

I shall note that the function explicitly only supports 2D so even if we want to always use GBOX, we must make sure they are forced to 2D only (and no geodetic support).

comment:2 by strk, 10 years ago

Resolution: fixed
Status: newclosed

Fixed in r13320 by reverting the changes to that file (we'll do it manually there, keeping the hack).

Note: See TracTickets for help on using tickets.