Opened 17 years ago
Last modified 15 years ago
#161 closed defect
Extent Returns Invalid Polygon — at Version 2
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | main |
Severity: | Unassigned | Keywords: | imported, phpbugtracker |
Cc: | mloskot |
Description (last modified by )
select astext(extent(GeomFromText('POINT(-104 40)'))) 'POLYGON((-104 40,-104 40,-104 40,-104 40,-104 40))'
This polygon is invalid.
Should this work the same as Envelope should? That the extent 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.
Note:
See TracTickets
for help on using tickets.