Test ST_IsSimple.sql (id 7889b1c65a2f) (err)
ST_IsSimple.stable.out.FILTERED 2020-07-31 21:23:07.258332772 +0200ST_IsSimple.test.out.FILTERED 2020-07-31 21:23:07.260332741 +0200
1 Statistics about stdout of test 'ST_IsSimple` in directory 'geom/sql/functions`: 1 1 Statistics about stdout of test 'ST_IsSimple` in directory 'geom/sql/functions`: 1
2 42 lines, 217 words, 833 chars in lines not matching '^$|^(\| |)#|^=` 2 ! 2 31 lines, 118 words, 419 chars in lines not matching '^$|^(\| |)#|^=` 2
3 = 42 lines, 217 words, 833 chars in lines not matching '^$|^(\| |)#` 3 ! 3 = 31 lines, 118 words, 419 chars in lines not matching '^$|^(\| |)#` 3
4 # 92 lines, 484 words, 2952 chars in all lines 4 ! 4 # 67 lines, 287 words, 1526 chars in all lines 4
5 5 5 5
..................
#SELECT ST_IsSimple(ST_GeomFromText('POL
33 % % # name 33 16 % % # name 16
34 # %1 # name 34 ! 17 # %2 # name 17
35 % boolean # type 35 18 % boolean # type 18
36 % 5 # length 36 19 % 5 # length 19
37 [ false ] 37 ! 20 [ true ] 20
38 #SELECT ST_IsSimple(ST_GeomFromText('LINESTRING(1 1,2 2,2 3.5,1 3,1 2,2 1)')); 38 21 #SELECT ST_IsSimple(ST_GeomFromText('LINESTRING(1 1,2 2,2 3.5,1 3,1 2,2 1)')); 21
..................
# %1 # name
53 % 5 # length 53 38 % 5 # length 38
54 [ false ] 54 ! 39 [ true ] 39
55 #drop table geo; 55 40 #drop table geo; 40
..................
# %1 # name
80 #drop table geo; 80 67 #drop table geo; 67
81 #SELECT geom AS "GEOMETRY" FROM geometries WHERE id<11 AND ST_IsSimple(geom); 81 ! 68 68
82 % sys. # table_name 82 ! 69 # 21:23:07 > 69
83 % GEOMETRY # name 83 ! 70 # 21:23:07 > "Done." 70
84 % geometry # type 84 ! 71 # 21:23:07 > 71
85 % 0 # length 85 -
86 [ "POINT (10 20)" ] 86 -
87 [ "LINESTRING (10 20, 30 40, 50 60)" ] 87 -
88 [ "LINESTRING (10 20, 30 40, 50 60, 80 60, 60 40, 10 20)" ] 88 -
89 [ "POLYGON ((10 10, 10 20, 20 20, 20 10, 10 10))" ] 89 -
90 [ "MULTIPOINT (10 20, 30 40)" ] 90 -
91 [ "MULTILINESTRING ((30 40, 40 50), (50 60, 60 70))" ] 91 -
92 [ "MULTIPOLYGON (((10 10, 10 20, 20 20, 20 10, 10 10), (30 30, 30 40, 40 40, 40 30, 30 30)))" ] 92 -
93 93 -
94 # 14:37:12 > 94 -
95 # 14:37:12 > "Done." 95 -
96 # 14:37:12 > 96 -
97 97 72 72