Ticket #1441 (closed defect: fixed)

Opened 17 months ago

Last modified 17 months ago

ST_Dimension should respect type of EMPTIES

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: trunk
Keywords: Cc:

Description

Currently ST_Dimension returns 0 for empties, no matter type. We should instead return a value reflecting the type.

Change History

Changed 17 months ago by strk

tshaub suggests -1 for collections

Changed 17 months ago by strk

The manual documents that the maximum dimension is returned for collection of mixed spatial types. I'm not sure how's that useful.

Changed 17 months ago by strk

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

Fixed by r8748

Note: See TracTickets for help on using tickets.