Ticket #288 (closed defect: fixed)

Opened 4 years ago

Last modified 17 months ago

ST_AsBinary should return SQL/MM WKB

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

Changed 4 years ago by pramsey

  • keywords sqlmm added

Changed 17 months ago by strk

See #1393 for a generic ticket about GUC

Changed 17 months ago by strk

  • owner changed from pramsey to strk
  • status changed from new to assigned

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

Changed 17 months ago by strk

  • keywords sqlmm, history added; sqlmm removed
  • status changed from assigned to closed
  • resolution set to fixed

Fixed by r8769 - see also #1448

Changed 17 months ago by strk

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

Changed 17 months ago by strk

  • status changed from closed to reopened
  • resolution fixed deleted

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 ?

Changed 17 months ago by strk

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

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

Changed 17 months 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.