Skip to content

Commit

Permalink
add testdata
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergrimm authored and domi-b committed Dec 18, 2023
1 parent 72187ba commit c069e6b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/test/data/DetectPolylineOverlay/DetectPolylineOverlay.ili
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
INTERLIS 2.4;

MODEL TestSuite
AT "mailto:[email protected]" VERSION "2023-12-14" =

DOMAIN
!!@CRS=EPSG:2056
CHKoord = COORD 2460000.000 .. 2870000.000 [INTERLIS.m],
1045000.000 .. 1310000.000 [INTERLIS.m],
ROTATION 2 -> 1;

TOPIC FunctionTestTopic =

CLASS TestClass =
geometry : POLYLINE WITH (STRAIGHTS) VERTEX CHKoord WITHOUT OVERLAPS > 0.001;
type : (t1,t2,t3);
END TestClass;

END FunctionTestTopic;

END TestSuite.
15 changes: 15 additions & 0 deletions src/test/data/DetectPolylineOverlay/testdata.xtf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?><ili:transfer xmlns:ili="http://www.interlis.ch/xtf/2.4/INTERLIS" xmlns:geom="http://www.interlis.ch/geometry/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:TestSuite="http://www.interlis.ch/xtf/2.4/TestSuite">
<ili:headersection><ili:models><ili:model>TestSuite</ili:model></ili:models><ili:sender>ili2gpkg-5.0.0-20f2bb62307ba6329a125fc6f10965ad9a4e6300</ili:sender></ili:headersection>
<ili:datasection>
<TestSuite:FunctionTestTopic ili:bid="TestSuite.FunctionTestTopic">
<TestSuite:TestClass ili:tid="6a6902d8-61c0-4778-8733-ef81432e2665"><TestSuite:geometry><geom:polyline><geom:coord><geom:c1>2645657.466</geom:c1><geom:c2>1249752.542</geom:c2></geom:coord><geom:coord><geom:c1>2645626.782</geom:c1><geom:c2>1249819.826</geom:c2></geom:coord><geom:coord><geom:c1>2645687.041</geom:c1><geom:c2>1249842.746</geom:c2></geom:coord><geom:coord><geom:c1>2645691.702</geom:c1><geom:c2>1249830.036</geom:c2></geom:coord><geom:coord><geom:c1>2645693.141</geom:c1><geom:c2>1249826.110</geom:c2></geom:coord></geom:polyline></TestSuite:geometry><TestSuite:type>t1</TestSuite:type></TestSuite:TestClass>
<TestSuite:TestClass ili:tid="dc1c980a-598d-4c1e-8a9f-ab2f81b6a433"><TestSuite:geometry><geom:polyline><geom:coord><geom:c1>2645542.677</geom:c1><geom:c2>1249774.538</geom:c2></geom:coord><geom:coord><geom:c1>2645543.027</geom:c1><geom:c2>1249774.761</geom:c2></geom:coord><geom:coord><geom:c1>2645564.119</geom:c1><geom:c2>1249788.217</geom:c2></geom:coord><geom:coord><geom:c1>2645584.822</geom:c1><geom:c2>1249800.602</geom:c2></geom:coord><geom:coord><geom:c1>2645613.103</geom:c1><geom:c2>1249812.986</geom:c2></geom:coord><geom:coord><geom:c1>2645625.673</geom:c1><geom:c2>1249785.629</geom:c2></geom:coord><geom:coord><geom:c1>2645629.624</geom:c1><geom:c2>1249777.049</geom:c2></geom:coord><geom:coord><geom:c1>2645637.503</geom:c1><geom:c2>1249759.936</geom:c2></geom:coord></geom:polyline></TestSuite:geometry><TestSuite:type>t1</TestSuite:type></TestSuite:TestClass>
<TestSuite:TestClass ili:tid="be5879c9-9406-4d2f-9205-dbd4b85fc385"><TestSuite:geometry><geom:polyline><geom:coord><geom:c1>2645691.702</geom:c1><geom:c2>1249830.036</geom:c2></geom:coord><geom:coord><geom:c1>2645693.141</geom:c1><geom:c2>1249826.110</geom:c2></geom:coord><geom:coord><geom:c1>2645699.241</geom:c1><geom:c2>1249810.722</geom:c2></geom:coord><geom:coord><geom:c1>2645704.139</geom:c1><geom:c2>1249797.921</geom:c2></geom:coord></geom:polyline></TestSuite:geometry><TestSuite:type>t1</TestSuite:type></TestSuite:TestClass>
<TestSuite:TestClass ili:tid="1bf1e7c0-4f03-4823-a04b-106a6948cb7c"><TestSuite:geometry><geom:polyline><geom:coord><geom:c1>2645543.027</geom:c1><geom:c2>1249774.761</geom:c2></geom:coord><geom:coord><geom:c1>2645564.119</geom:c1><geom:c2>1249788.217</geom:c2></geom:coord><geom:coord><geom:c1>2645565.875</geom:c1><geom:c2>1249785.306</geom:c2></geom:coord><geom:coord><geom:c1>2645572.530</geom:c1><geom:c2>1249789.557</geom:c2></geom:coord><geom:coord><geom:c1>2645581.032</geom:c1><geom:c2>1249773.106</geom:c2></geom:coord></geom:polyline></TestSuite:geometry><TestSuite:type>t2</TestSuite:type></TestSuite:TestClass>
<TestSuite:TestClass ili:tid="15ff699c-b6a9-498e-a394-58af6ae0a8ef"><TestSuite:geometry><geom:polyline><geom:coord><geom:c1>2645549.805</geom:c1><geom:c2>1249782.568</geom:c2></geom:coord><geom:coord><geom:c1>2645564.778</geom:c1><geom:c2>1249757.798</geom:c2></geom:coord></geom:polyline></TestSuite:geometry><TestSuite:type>t3</TestSuite:type></TestSuite:TestClass>
<TestSuite:TestClass ili:tid="a9ee6314-d0bb-430c-834b-7c7ad60a9608"><TestSuite:geometry><geom:polyline><geom:coord><geom:c1>2645657.466</geom:c1><geom:c2>1249752.542</geom:c2></geom:coord><geom:coord><geom:c1>2645626.782</geom:c1><geom:c2>1249819.826</geom:c2></geom:coord><geom:coord><geom:c1>2645687.041</geom:c1><geom:c2>1249842.746</geom:c2></geom:coord><geom:coord><geom:c1>2645694.446</geom:c1><geom:c2>1249833.030</geom:c2></geom:coord><geom:coord><geom:c1>2645689.640</geom:c1><geom:c2>1249826.191</geom:c2></geom:coord><geom:coord><geom:c1>2645678.735</geom:c1><geom:c2>1249822.125</geom:c2></geom:coord></geom:polyline></TestSuite:geometry><TestSuite:type>t2</TestSuite:type></TestSuite:TestClass>
<TestSuite:TestClass ili:tid="371789bd-7793-4a7b-a80d-fe4154f4c503"><TestSuite:geometry><geom:polyline><geom:coord><geom:c1>2645647.126</geom:c1><geom:c2>1249816.209</geom:c2></geom:coord><geom:coord><geom:c1>2645641.950</geom:c1><geom:c2>1249828.224</geom:c2></geom:coord><geom:coord><geom:c1>2645648.790</geom:c1><geom:c2>1249831.367</geom:c2></geom:coord><geom:coord><geom:c1>2645651.562</geom:c1><geom:c2>1249825.082</geom:c2></geom:coord><geom:coord><geom:c1>2645660.065</geom:c1><geom:c2>1249828.409</geom:c2></geom:coord><geom:coord><geom:c1>2645657.847</geom:c1><geom:c2>1249834.324</geom:c2></geom:coord></geom:polyline></TestSuite:geometry><TestSuite:type>t3</TestSuite:type></TestSuite:TestClass>
<TestSuite:TestClass ili:tid="4a209413-5d36-4064-953a-582dea509387"><TestSuite:geometry><geom:polyline><geom:coord><geom:c1>2645629.624</geom:c1><geom:c2>1249777.049</geom:c2></geom:coord><geom:coord><geom:c1>2645637.503</geom:c1><geom:c2>1249759.936</geom:c2></geom:coord><geom:coord><geom:c1>2645646.941</geom:c1><geom:c2>1249738.205</geom:c2></geom:coord><geom:coord><geom:c1>2645643.060</geom:c1><geom:c2>1249727.669</geom:c2></geom:coord></geom:polyline></TestSuite:geometry><TestSuite:type>t3</TestSuite:type></TestSuite:TestClass>
</TestSuite:FunctionTestTopic>
</ili:datasection>
</ili:transfer>

0 comments on commit c069e6b

Please sign in to comment.