Opened 14 years ago

Closed 12 years ago

Last modified 12 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 by pramsey, 14 years ago

Keywords: sqlmm added

comment:2 by strk, 12 years ago

See #1393 for a generic ticket about GUC

comment:3 by strk, 12 years ago

Owner: changed from pramsey to strk
Status: newassigned

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

comment:4 by strk, 12 years ago

Keywords: history added
Resolution: fixed
Status: assignedclosed

Fixed by r8769 - see also #1448

comment:5 by strk, 12 years ago

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

comment:6 by strk, 12 years ago

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 by strk, 12 years ago

Resolution: fixed
Status: reopenedclosed

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

comment:8 by strk, 12 years ago

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

Note: See TracTickets for help on using tickets.