Opened 6 years ago

Closed 6 years ago

#2129 closed defect (fixed)

ST_CollectionHomogenize drops SRID

Reported by: michischolz Owned by: strk
Priority: low Milestone: PostGIS 2.0.2
Component: postgis Version: 2.0.x
Keywords: ST_CollectionHomogenize, SRID, history Cc:

Description

Moin. When applying ST_CollectionHomogenize to a GeometryCollection? the SRID is dropped:

SELECT ST_SRID(
  ST_CollectionHomogenize(
    ST_Collect(
      ST_GeomFromText('MultiPoint((0 0))', 32632)
    )
  )
)

returns 0 for the SRID. Replace MultiPoint?((0 0)) by Point(0 0) and 32632 is returned correctly.

Change History (2)

comment:1 Changed 6 years ago by strk

Owner: changed from pramsey to strk
Status: newassigned

confirmed. broken at the liblwgeom level.

comment:2 Changed 6 years ago by strk

Keywords: history added
Resolution: fixed
Status: assignedclosed

r10782 in 2.0 branch, r10783 in trunk

Note: See TracTickets for help on using tickets.