Opened 14 years ago

Closed 14 years ago

#441 closed defect (fixed)

ST_AsGeoJson Bbox on GeometryCollection error

Reported by: colivier Owned by: colivier
Priority: medium Milestone: PostGIS 1.4.2
Component: postgis Version: master
Keywords: ST_AsGeoJSon bbox GeometryCollection Cc:

Description

On such WKT, GeoJson with Bbox option is not reliable (try to recompute bbox for each subgeoms)

With lwgeon cunit produce execution error (double free)

GEOMETRYCOLLECTION(POINT(0 1),LINESTRING(2 3,4 5))

Branches 1.4, 1.5 should also be impacted

Change History (1)

comment:1 by colivier, 14 years ago

Resolution: fixed
Status: newclosed

Fix on 1.4, 1.5 and trunk as r5311

Change behaviour in some way: only top level bbox is provided with a GeometryCollection

Note: See TracTickets for help on using tickets.