Opened 13 years ago
Closed 13 years ago
#1441 closed defect (fixed)
ST_Dimension should respect type of EMPTIES
Reported by: | strk | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
Currently ST_Dimension returns 0 for empties, no matter type. We should instead return a value reflecting the type.
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
The manual documents that the maximum dimension is returned for collection of mixed spatial types. I'm not sure how's that useful.
Note:
See TracTickets
for help on using tickets.
tshaub suggests -1 for collections