Opened 17 years ago
Closed 15 years ago
#160 closed defect (invalid)
Envelope Returns Invalid Geometry
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | 3.2.0 |
Component: | Core | Version: | main |
Severity: | Unassigned | Keywords: | imported, phpbugtracker |
Cc: | mloskot |
Description (last modified by )
select astext(envelope(GeomFromText('POINT(-104 40)'))) 'POLYGON((-104 40,-104 40,-104 40,-104 40,-104 40))'
This polygon is invalid.
According to Martin:
- 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.
Change History (7)
comment:2 by , 16 years ago
Cc: | added |
---|---|
Description: | modified (diff) |
comment:3 by , 16 years ago
Milestone: | imported |
---|
comment:4 by , 16 years ago
Component: | Build scripts → Core |
---|---|
Version: | 3.0.0 → svn-trunk |
comment:5 by , 16 years ago
Owner: | removed |
---|---|
Priority: | 4 → major |
Status: | assigned → new |
comment:6 by , 15 years ago
Milestone: | → 3.2.0 |
---|
comment:7 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
PostGIS' envelope doesn't use GEOS, this bug is invalid here. Consider re-filing to postgis bug tracker.
Note:
See TracTickets
for help on using tickets.