File: ispolygccw2.testcase

package info (click to toggle)
spatialite 5.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 74,240 kB
  • sloc: ansic: 587,051; makefile: 8,583; sh: 4,276; yacc: 1,973; xml: 717
file content (7 lines) | stat: -rw-r--r-- 906 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
IsPolygonCCW - True
:memory: #use in-memory database
SELECT ST_IsPolygonCCW(GeomFromText('GEOMETRYCOLLECTION ZM(POINT ZM(1 2 100 10),LINESTRING ZM(3 4 101 10,5 6 102 11,7 8 103 13,9 9 19 13),POLYGON ZM((10 10 101 11,15 10 102 13,13 13 103 13,10 10 101 11),(11 10.5 100 10,13 11.3 102 13,13 10.5 101 11,11 10.5 100 10)),POLYGON ZM((20 20 100 10,22 18 102 13,24.1 20 101 11,20 20 100 10),(21 19.5 101 11,23.1 19.5 102 13,22 18.5 103 13,21 19.5 101 11)))'));
1 # rows (not including the header row)
1 # columns
ST_IsPolygonCCW(GeomFromText('GEOMETRYCOLLECTION ZM(POINT ZM(1 2 100 10),LINESTRING ZM(3 4 101 10,5 6 102 11,7 8 103 13,9 9 19 13),POLYGON ZM((10 10 101 11,15 10 102 13,13 13 103 13,10 10 101 11),(11 10.5 100 10,13 11.3 102 13,13 10.5 101 11,11 10.5 100 10)),POLYGON ZM((20 20 100 10,22 18 102 13,24.1 20 101 11,20 20 100 10),(21 19.5 101 11,23.1 19.5 102 13,22 18.5 103 13,21 19.5 101 11)))'));
1