Opened 10 years ago

Closed 8 years ago

Last modified 8 years ago

#288 closed defect (fixed)

ST_AsBinary should return SQL/MM WKB

Reported by: pramsey Owned by: strk
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: sqlmm, history Cc:

Description

Moving to SQL/MM, the AsBinary? conversion should now support higher dimensional types, using the type numbers as specified in SQL/MM.

Change History (8)

comment:1 Changed 10 years ago by pramsey

Keywords: sqlmm added

comment:2 Changed 8 years ago by strk

See #1393 for a generic ticket about GUC

comment:3 Changed 8 years ago by strk

Owner: changed from pramsey to strk
Status: newassigned

I hope this will be as easy as the ST_Text one (#287)

comment:4 Changed 8 years ago by strk

Keywords: history added
Resolution: fixed
Status: assignedclosed

Fixed by r8769 - see also #1448

comment:5 Changed 8 years ago by strk

This broke QGiS: http://hub.qgis.org/issues/4767 I'm working on a fix there...

comment:6 Changed 8 years ago by strk

Resolution: fixed
Status: closedreopened

I've found out that ST_AsBinary(geography) is not even using the same code path at the postgis level, so it's still old style.

May I suggest we cast to geometry and do everything there instead ?

comment:7 Changed 8 years ago by strk

Resolution: fixed
Status: reopenedclosed

r8772 does it for geography as well, and adds support for endian specification for it

comment:8 Changed 8 years ago by strk

r8773 documents the enhancements. We miss an &M_support entity in doc XMLs dont' we ?

Note: See TracTickets for help on using tickets.