Opened 10 years ago
Closed 10 years ago
#3126 closed defect (fixed)
ST_SubDivide garden crasher on Polyhedral Surface
Reported by: | robe | Owned by: | pramsey |
---|---|---|---|
Priority: | blocker | Milestone: | PostGIS 2.2.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description (last modified by )
SELECT ST_SubDivide('POLYHEDRALSURFACE Z (((-72.2 41.755 0,-72.2 41.755 1,-72.2 42.755 1,-72.2 42.755 0,-72.2 41.755 0)),((-72.2 41.755 0,-72.2 42.755 0,-71.2 42.755 0,-71.2 41.755 0,-72.2 41.755 0)))'::geometry,3);
Is this even supposed to work with polyhedrasurfaces. If I give a number like 5, doesn't crash, but gives this error
SELECT ST_SubDivide('POLYHEDRALSURFACE Z (((-72.2 41.755 0,-72.2 41.755 1,-72.2 42.755 1,-72.2 42.755 0,-72.2 41.755 0)),((-72.2 41.755 0,-72.2 42.755 0,-71.2 42.755 0,-71.2 41.755 0,-72.2 41.755 0)))'::geometry,5); -- ERROR: Error performing rectangular clipping: IllegalArgumentException: Invalid number of points in LinearRing found 3 - must be 0 or >= 4
So it's trying, whether it should or not is another question
Change History (2)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed at r13566