Changes between Initial Version and Version 1 of Ticket #3126


Ignore:
Timestamp:
May 25, 2015, 4:42:41 PM (9 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3126 – Description

    initial v1  
    33SELECT 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);
    44}}}
     5
     6Is this even supposed to work with polyhedrasurfaces.  If I give a number like 5, doesn't crash, but gives this error
     7
     8
     9{{{
     10SELECT 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);
     11
     12-- ERROR:  Error performing rectangular clipping: IllegalArgumentException: Invalid number of points in LinearRing found 3 - must be 0 or >= 4
     13}}}
     14
     15So it's trying, whether it should or not is another question