Opened 9 months ago
Closed 9 months ago
#5749 closed defect (fixed)
Documentation bug: Wrong example in ST_IsSimple
Reported by: | lukaseder | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.4.3 |
Component: | documentation | Version: | 3.4.x |
Keywords: | Cc: |
Description ¶
The first example in the documentation page for ST_IsSimple is wrong: https://postgis.net/docs/ST_IsSimple.html
SELECT ST_IsSimple(ST_GeomFromText('POLYGON((1 2, 3 4, 5 6, 1 2))')); st_issimple ------------- t (1 row)
The result is false for this polygon as all the points are on one line. This would be a better example:
SELECT ST_IsSimple(ST_GeomFromText('POLYGON((0 0, 0 1, 1 1, 0 0))'));
Change History (3)
comment:1 by , 9 months ago
Component: | postgis → documentation |
---|---|
Owner: | changed from | to
comment:2 by , 9 months ago
Note:
See TracTickets
for help on using tickets.
In 5795ded/git: