Hi, thanks for giving access to the snapshot. I paste below output from the CLI. The pragma compile_options now works, but there is an error in the coordinates returned from applying geopoly_ccw those produced by a simple mirror about x axis.
SQLite version 3.26.0 2018-11-17 14:26:45 Enter ".help" for usage hints. Connected to a transient in-memory database. Use ".open FILENAME" to reopen on a persistent database. sqlite> pragma compile_options; COMPILER=gcc-8.1.0 ENABLE_GEOPOLY ENABLE_JSON1 ENABLE_RTREE THREADSAFE=0 sqlite> create virtual table newtab using geopoly(a,b,c); sqlite> insert into newtab (_shape) values ('[[0,0],[88,0],[88,80],[60,80],[30,40],[0,40],[0,0]]'); sqlite> select geopoly_json(_shape) from newtab; [[0.0,0.0],[88.0,0.0],[88.0,80.0],[60.0,80.0],[30.0,40.0],[0.0,40.0],[0.0,0.0]] sqlite> select geopoly_json(geopoly_xform(_shape, 1,0,0,-1,0,0)) from newtab; [[0.0,0.0],[88.0,0.0],[88.0,-80.0],[60.0,-80.0],[30.0,-40.0],[0.0,-40.0],[0.0,0.0]] sqlite> select geopoly_json(geopoly_ccw(geopoly_xform(_shape, 1,0,0,-1,0,0))) from newtab; [[0.0,0.0],[30.0,-40.0],[60.0,-80.0],[88.0,-80.0],[88.0,0.0],[0.0,-40.0],[0.0,0.0]] I think my process is Ok. regards, Graham _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users