Changes between Version 38 and Version 39 of DevWikiEmptyGeometry


Ignore:
Timestamp:
12/14/11 09:59:38 (13 years ago)
Author:
strk
Comment:

InteriorRingN and ExteriorRing were meant to be called on empty, not geometry (I guess)

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiEmptyGeometry

    v38 v39  
    4242 * ST_NumPoints(empty) == 0
    4343 * ST_GeometryN(empty, n) == empty
    44  * ST_InteriorRingN(geometry, n) == empty
    45  * ST_ExteriorRing(geometry, n) == empty
     44 * ST_InteriorRingN(empty, n) == empty
     45  * NOTE that manual page says that an out-of-range n triggers a return of NULL, so maybe this should be NULL, being any n out of the empty range (strk said)
     46 * ST_ExteriorRing(empty) == empty
    4647 * ST_Area(empty) == 0
    4748 * ST_Length(empty) == 0