Ticket #441 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

ST_AsGeoJson Bbox on GeometryCollection error

Reported by: colivier Owned by: colivier
Priority: medium Milestone: PostGIS 1.4.2
Component: postgis Version: trunk
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

Changed 3 years ago by colivier

  • status changed from new to closed
  • resolution set to fixed

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.