Changes between Initial Version and Version 2 of Ticket #160


Ignore:
Timestamp:
Nov 21, 2007, 2:12:59 PM (16 years ago)
Author:
mloskot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #160

    • Property Cc mloskot added
  • Ticket #160 – Description

    initial v2  
    22select astext(envelope(GeomFromText('POINT(-104 40)')))
    33
    4 "POLYGON((-104 40,-104 40,-104 40,-104 40,-104 40))"
     4'POLYGON((-104 40,-104 40,-104 40,-104 40,-104 40))'
     5}}}
    56
    67This polygon is invalid.
     
    910
    1011- This does look like a bug, or at least a porting problem in GEOS.  In JTS, the envelope of a Point is itself a Point.  This means that the return value is always a valid geometry, and thus can be safely used in further operations.
    11 }}}