Opened 14 years ago
Closed 13 years ago
#938 closed defect (fixed)
box2d of empty geom should be NULL
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | postgis | Version: | master |
Keywords: | boxes | Cc: |
Description
shouldn't it ? Currently (2.0):
=# select gid, st_summary(the_geom), the_geom::box2d from cases; gid | st_summary | the_geom ------+--------------------------+-------------- 2416 | Polygon[ZM] with 1 rings | BOX(0 0,0 0) : ring 0 has 0 points
Change History (5)
comment:1 by , 14 years ago
comment:2 by , 13 years ago
Keywords: | boxes added |
---|
comment:3 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
It turns out this ends up being the fault of lwgeom_is_empty, returning false for a polygon composed by an empty shell.
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Hmmm. Your idea does sound more sensible to me.