Ticket #475 (closed defect: invalid)
ST_Simple should return false with duplicate points
| Reported by: | kneufeld | Owned by: | pramsey |
|---|---|---|---|
| Priority: | low | Milestone: | PostGIS 2.0.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
The OGS specs state: "has no anomalous geometric points, such as self intersection or self tangency" and "is simple if it does not pass through the same point twice". (2.1.5)
The SQL/MM specs state: "is not simple if any interior point has the same location as another interior point or a point on the boundary" (4.1.4)
So, by definition then, this should return false.
select st_issimple( 'LINESTRING(0 0, 1 1, 1 1)'::geometry ); st_issimple ------------- t (1 row)
Change History
Note: See
TracTickets for help on using
tickets.
