Opened 13 years ago

Closed 13 years ago

#1478 closed defect (fixed)

'SRID=1;POINT EMPTY' ERROR: WKB structure does not match expected size!

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

Description

strk=# select 'SRID=1;POINT EMPTY'::geometry::text::geometry;
ERROR:  WKB structure does not match expected size!

Works fine w/out a SRID value

Change History (1)

comment:1 by strk, 13 years ago

Resolution: fixed
Status: newclosed

Fixed with r8835. The bug was in WKB _writer_ for POINT EMPTY values with non-zero flags (SRID or higher dimensions).

Note: See TracTickets for help on using tickets.