This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-testing.git


The following commit(s) were added to refs/heads/main by this push:
     new c7bc17d  Add wkts from georust/geo for testing sedona-geo-generic-alg 
in sedona-db (#9)
c7bc17d is described below

commit c7bc17d7109fc628959eb2850d4cfce3d483b1ee
Author: Kristin Cowalcijk <[email protected]>
AuthorDate: Wed Oct 8 12:38:50 2025 +0800

    Add wkts from georust/geo for testing sedona-geo-generic-alg in sedona-db 
(#9)
    
    * Add WKT fixtures migrated from sedona-db rust/sedona-geo-test-fixtures
    
    * Move the wkt files and add readme
---
 data/wkts/geo-test-fixtures/README.md              | 24 ++++++++++++++++++++++
 data/wkts/geo-test-fixtures/east_baton_rouge.wkt   |  1 +
 data/wkts/geo-test-fixtures/issue-894/inpa.wkt     |  1 +
 data/wkts/geo-test-fixtures/issue-894/inpb.wkt     |  1 +
 data/wkts/geo-test-fixtures/issue-894/inpc.wkt     |  1 +
 data/wkts/geo-test-fixtures/louisiana.wkt          |  1 +
 data/wkts/geo-test-fixtures/nl_plots.wkt           |  1 +
 .../wkts/geo-test-fixtures/nl_plots_epsg_28992.wkt |  1 +
 data/wkts/geo-test-fixtures/nl_zones.wkt           |  1 +
 .../wkts/geo-test-fixtures/norway_concave_hull.wkt |  1 +
 data/wkts/geo-test-fixtures/norway_convex_hull.wkt |  1 +
 data/wkts/geo-test-fixtures/norway_main.wkt        |  1 +
 .../geo-test-fixtures/norway_nonconvex_hull.wkt    |  1 +
 data/wkts/geo-test-fixtures/poly1.wkt              |  1 +
 data/wkts/geo-test-fixtures/poly1_hull.wkt         |  1 +
 data/wkts/geo-test-fixtures/poly2.wkt              |  1 +
 data/wkts/geo-test-fixtures/poly2_hull.wkt         |  1 +
 data/wkts/geo-test-fixtures/poly_in_ring.wkt       |  1 +
 data/wkts/geo-test-fixtures/ring.wkt               |  1 +
 data/wkts/geo-test-fixtures/shell.wkt              |  1 +
 data/wkts/geo-test-fixtures/vw_orig.wkt            |  1 +
 data/wkts/geo-test-fixtures/vw_simplified.wkt      |  1 +
 22 files changed, 45 insertions(+)

diff --git a/data/wkts/geo-test-fixtures/README.md 
b/data/wkts/geo-test-fixtures/README.md
new file mode 100644
index 0000000..dfd5a04
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/README.md
@@ -0,0 +1,24 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+
+# WKT files from `georust/geo`
+
+The wkt files were taken from the `georust/geo` repository.
+Please refer to the 
[geo-test-fixtures](https://github.com/georust/geo/tree/geo-0.31.0/geo-test-fixtures)
 directory for
+for the original data files.
diff --git a/data/wkts/geo-test-fixtures/east_baton_rouge.wkt 
b/data/wkts/geo-test-fixtures/east_baton_rouge.wkt
new file mode 100644
index 0000000..1c38474
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/east_baton_rouge.wkt
@@ -0,0 +1 @@
+POLYGON((-91.316488 30.590003,-91.315282 30.594288,-91.309914 
30.601297,-91.301863 30.609497,-91.29465 30.625207,-91.293072 
30.629882,-91.292821 30.631539,-91.293596 30.63919,-91.294211 
30.641591,-91.296807 30.648037,-91.297658 30.649548,-91.293604 
30.655036,-91.292644 30.658244,-91.292608 30.662034,-91.289693 
30.667624,-91.288731 30.677904,-91.27046 30.680864,-91.267699 
30.686118,-91.268221 30.689126,-91.267518 30.690108,-91.267133 
30.693745,-91.267882 30.69442,-91.265734 30.696264,-91. [...]
diff --git a/data/wkts/geo-test-fixtures/issue-894/inpa.wkt 
b/data/wkts/geo-test-fixtures/issue-894/inpa.wkt
new file mode 100644
index 0000000..a512c74
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/issue-894/inpa.wkt
@@ -0,0 +1 @@
+MULTIPOLYGON(((2044 1653,1828 1649,1365 1651,1284 1649,1256 1651,725 1650,696 
1652,650 1650,285 1653,183 1651,171 1653,146 1652,140 1649,140 1645,152 
1642,1060 1640,1078 1642,1091 1640,1694 1641,1707 1639,1795 1641,1833 1639,2044 
1643,2044 1653)),((361 2003,368 2001,467 2004,929 2002,935 2004,939 2002,1042 
2003,1055 2001,1146 2003,1165 2000,1175 2003,1187 2001,1826 2002,1836 2000,2044 
2005,2044 2015,1966 2011,1301 2012,1283 2010,1273 2012,383 2012,362 2015,358 
2008,361 2003)),((2044 637, [...]
diff --git a/data/wkts/geo-test-fixtures/issue-894/inpb.wkt 
b/data/wkts/geo-test-fixtures/issue-894/inpb.wkt
new file mode 100644
index 0000000..2ad5657
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/issue-894/inpb.wkt
@@ -0,0 +1 @@
+MULTIPOLYGON(((1790.3616 2048,1790.3616 0,2048 0,2048 2048,1790.3616 2048)))
diff --git a/data/wkts/geo-test-fixtures/issue-894/inpc.wkt 
b/data/wkts/geo-test-fixtures/issue-894/inpc.wkt
new file mode 100644
index 0000000..84c109c
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/issue-894/inpc.wkt
@@ -0,0 +1 @@
+MULTIPOLYGON(((1889 1671,2047 1675,2047 1687,1886 1685,1877 1682,1876 
1676,1889 1671)),((1817 723,1821 720,1836 721,1846 716,1847 661,1855 654,2047 
659,2047 671,1910 668,1868 670,1863 674,1861 685,1860 728,1850 734,1825 
736,1815 731,1817 723)),((70 1265,77 1261,80 1252,86 1246,97 1245,109 1252,113 
1263,120 1265,213 1264,228 1267,234 1275,237 1395,234 1536,226 1543,215 
1545,126 1544,113 1547,109 1565,111 1574,116 1578,151 1578,158 1583,159 
1587,151 1596,35 1596,30 1592,30 1585,38 1579,74  [...]
diff --git a/data/wkts/geo-test-fixtures/louisiana.wkt 
b/data/wkts/geo-test-fixtures/louisiana.wkt
new file mode 100644
index 0000000..159adb4
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/louisiana.wkt
@@ -0,0 +1 @@
+LINESTRING(-94.043147 32.69303,-94.043147 32.693031,-94.042947 
32.767991,-94.043027 32.776863,-94.042938 32.780558,-94.042829 
32.785277,-94.042747 32.786973,-94.043026 32.797476,-94.042785 
32.871486,-94.043025 32.880446,-94.042886 32.880965,-94.042886 
32.881089,-94.042859 32.892771,-94.042885 32.898911,-94.043092 
32.910021,-94.043067 32.937903,-94.043088 32.955592,-94.042964 
33.019219,-94.041444 33.019188,-94.035839 33.019145,-94.027983 
33.019139,-94.024475 33.019207,-93.814553 33.019372 [...]
diff --git a/data/wkts/geo-test-fixtures/nl_plots.wkt 
b/data/wkts/geo-test-fixtures/nl_plots.wkt
new file mode 100644
index 0000000..279c14c
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/nl_plots.wkt
@@ -0,0 +1 @@
+MULTIPOLYGON(((5.545757189 52.317793574,5.545670899 52.317631067,5.5459931 
52.317566112,5.546117204 52.317541454,5.546203274 52.317703826,5.545757189 
52.317793574)),((5.546203274 52.317703826,5.54628936 52.317866189,5.545842849 
52.317956199,5.545757189 52.317793574,5.546203274 52.317703826)),((5.545842849 
52.317956199,5.54628936 52.317866189,5.546393551 52.318062735,5.545946905 
52.318152565,5.545842849 52.317956199)),((5.546087065 52.318294301,5.546101002 
52.318291514,5.546216035 52.3182 [...]
diff --git a/data/wkts/geo-test-fixtures/nl_plots_epsg_28992.wkt 
b/data/wkts/geo-test-fixtures/nl_plots_epsg_28992.wkt
new file mode 100644
index 0000000..277c8c7
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/nl_plots_epsg_28992.wkt
@@ -0,0 +1 @@
+MULTIPOLYGON(((165810.88331013816 481105.4135319523,165805.03924028226 
481087.31955796864,165827.0243031839 481080.140574016,165835.492344386 
481077.4156058137,165841.32134709298 481095.4945620494,165810.88331013816 
481105.4135319523)),((165841.32134709298 481095.4945620494,165847.1513999863 
481113.57252679195,165816.684352003 481123.520548419,165810.88331013816 
481105.4135319523,165841.32134709298 481095.4945620494)),((165816.684352003 
481123.520548419,165847.1513999863 481113.572526791 [...]
diff --git a/data/wkts/geo-test-fixtures/nl_zones.wkt 
b/data/wkts/geo-test-fixtures/nl_zones.wkt
new file mode 100644
index 0000000..1aa1b1c
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/nl_zones.wkt
@@ -0,0 +1 @@
+MULTIPOLYGON(((5.543993 52.322388,5.544071 52.322222,5.544205 
52.321941,5.544315 52.321712,5.544368 52.321599,5.544468 52.321389,5.54462 
52.321416,5.544746 52.321439,5.544873 52.321461,5.545 52.321484,5.545127 
52.321507,5.545278 52.321534,5.545176 52.32175,5.545144 52.321817,5.54512 
52.321866,5.545097 52.321915,5.545073 52.321964,5.54505 52.322013,5.545027 
52.322063,5.545003 52.322112,5.544967 52.322187,5.544931 52.322263,5.544908 
52.322312,5.544884 52.322361,5.544861 52.32241,5.544838 5 [...]
diff --git a/data/wkts/geo-test-fixtures/norway_concave_hull.wkt 
b/data/wkts/geo-test-fixtures/norway_concave_hull.wkt
new file mode 100644
index 0000000..bf01069
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/norway_concave_hull.wkt
@@ -0,0 +1 @@
+LINESTRING(5.227792433014884 59.468030338041025,5.23044532188834 
59.45613831272054,5.2384039885087095 59.432354262079556,5.249015544002534 
59.432354262079556,5.48777554261359 58.75186614651813,5.503692875854327 
58.743938129637804,5.519610209095064 58.72015407899682,5.516957320221608 
58.70958338982305,5.538180431209257 58.671264641568136,5.551444875576538 
58.656729943954204,5.572667986564188 58.648801927073876,5.625725764033311 
58.59330580891158,5.6389902084005925 58.584056455884536,5.649 [...]
diff --git a/data/wkts/geo-test-fixtures/norway_convex_hull.wkt 
b/data/wkts/geo-test-fixtures/norway_convex_hull.wkt
new file mode 100644
index 0000000..0dd909b
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/norway_convex_hull.wkt
@@ -0,0 +1 @@
+LINESTRING(7.717377961338066 57.74911832172092,6.968425350867709 
57.74957737187902,5.464957056755467 58.24822761552509,4.722530819313656 
59.24963650749106,4.346980035524813 60.498808789126734,4.340231074407465 
61.998825794804695,12.617561279995918 68.4983356095851,15.010693169334283 
69.49664550225157,18.503596794856012 70.49788127446817,23.41773118246719 
71.25021807292373,23.99734444112429 71.25032666052927,25.81713611470763 
71.25061029282803,27.018043769538682 71.25053409142788,28.29158 [...]
diff --git a/data/wkts/geo-test-fixtures/norway_main.wkt 
b/data/wkts/geo-test-fixtures/norway_main.wkt
new file mode 100644
index 0000000..180559e
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/norway_main.wkt
@@ -0,0 +1 @@
+LINESTRING(11.82022128355349 59.29625663896727,11.830832839047314 
59.240760520804976,11.804303950312752 59.22754715933777,11.783080839325102 
59.206405780990224,11.775122172704734 59.17601504961564,11.77777506157819 
59.136374965214,11.76451061721091 59.11523358686647,11.775122172704734 
59.10730556998614,11.77777506157819 59.08880686393204,11.748593283970173 
59.066344149437775,11.737981728476347 59.050488115677126,11.708799950868329 
59.030668073476306,11.706147061994873 59.01349070356893,1 [...]
diff --git a/data/wkts/geo-test-fixtures/norway_nonconvex_hull.wkt 
b/data/wkts/geo-test-fixtures/norway_nonconvex_hull.wkt
new file mode 100644
index 0000000..168fb6a
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/norway_nonconvex_hull.wkt
@@ -0,0 +1 @@
+LINESTRING(7.717377961338066 57.74911832172092,12.83203125 
58.722598828043374,31.218815724995086 69.50004679809811,31.220360609653444 
69.74967563784787,31.22041170425437 70.00042112672493,31.220012092660365 
70.50025174432726,30.61987385954102 70.74988171707938,28.291580927773403 
71.25031072902001,27.018043769538682 71.25053409142788,25.81713611470763 
71.25061029282803,23.99734444112429 71.25032666052927,23.41773118246719 
71.25021807292373,18.503596794856012 70.49788127446817,15.010693169 [...]
diff --git a/data/wkts/geo-test-fixtures/poly1.wkt 
b/data/wkts/geo-test-fixtures/poly1.wkt
new file mode 100644
index 0000000..059f8a8
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/poly1.wkt
@@ -0,0 +1 @@
+LINESTRING(-75.57274028771249 110.01960141091608,-47.01425001453319 
224.2535625036333,-44.1986052400443 233.56520178444188,-40.491516848197264 
242.55919851821028,-35.928066677809895 251.1504384831045,-30.55144070299677 
259.2576189250935,-24.412520344941953 266.8040179623472,-17.56940095820731 
273.7182206387879,-10.086842048356445 279.93479475582495,-2.0356544237308825 
285.394910086574,6.507969918963688 290.0468951126591,15.463178833668529 
293.8467260149487,24.745225165064543 296.75844329 [...]
diff --git a/data/wkts/geo-test-fixtures/poly1_hull.wkt 
b/data/wkts/geo-test-fixtures/poly1_hull.wkt
new file mode 100644
index 0000000..4b3becf
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/poly1_hull.wkt
@@ -0,0 +1 @@
+LINESTRING(-249.25973483602792 -212.145165304821,-247.59133771033882 
-221.8158383727649,-244.98308265364727 -231.27641299142869,-241.46008858796648 
-240.4357786555585,-237.0562838720134 -249.20572566679022,-231.8140795525672 
-257.50179464126495,-225.78396092290453 -265.2440898996658,-219.02400132182714 
-272.3580489062855,-211.59930285566332 -278.7751603470045,-203.58136942939524 
-284.4336239306988,-195.04741812496607 -289.2789455598266,-186.0796355585698 
-293.26446213837716,-176.76438637 [...]
diff --git a/data/wkts/geo-test-fixtures/poly2.wkt 
b/data/wkts/geo-test-fixtures/poly2.wkt
new file mode 100644
index 0000000..06f841e
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/poly2.wkt
@@ -0,0 +1 @@
+LINESTRING(0 -100,-9.801714032956664 -99.51847266721963,-19.509032201613387 
-98.07852804032294,-29.02846772544675 -95.69403357322072,-38.268343236509445 
-92.38795325112848,-47.13967368260018 -88.19212643483529,-55.5570233019606 
-83.14696123025428,-63.439328416364795 -77.30104533627349,-70.710678118655 
-70.71067811865453,-77.30104533627389 -63.439328416364326,-83.14696123025468 
-55.55702330196001,-88.1921264348356 -47.13967368259957,-92.38795325112875 
-38.2683432365088,-95.69403357322092  [...]
diff --git a/data/wkts/geo-test-fixtures/poly2_hull.wkt 
b/data/wkts/geo-test-fixtures/poly2_hull.wkt
new file mode 100644
index 0000000..e15bceb
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/poly2_hull.wkt
@@ -0,0 +1 @@
+LINESTRING(-99.5184726672197 -9.80171403295597,-98.07852804032306 
-19.509032201612705,-95.69403357322092 -29.028467725446088,-92.38795325112875 
-38.2683432365088,-88.1921264348356 -47.13967368259957,-83.14696123025468 
-55.55702330196001,-77.30104533627389 -63.439328416364326,-70.710678118655 
-70.71067811865453,-63.439328416364795 -77.30104533627349,-55.5570233019606 
-83.14696123025428,-47.13967368260018 -88.19212643483529,-38.268343236509445 
-92.38795325112848,-29.02846772544675 -95.6940 [...]
diff --git a/data/wkts/geo-test-fixtures/poly_in_ring.wkt 
b/data/wkts/geo-test-fixtures/poly_in_ring.wkt
new file mode 100644
index 0000000..bdfeab7
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/poly_in_ring.wkt
@@ -0,0 +1 @@
+LINESTRING(4 1,3.9855541800165906 0.7059485790113185,3.9423558412096913 
0.41472903395161576,3.8708210071966267 0.12914596823661362,3.771638597533861 
-0.14805029709526818,3.6457637930450657 -0.41419021047799154,3.4944088369076365 
-0.6667106990588052,3.3190313600882124 -0.9031798524909349,3.1213203435596446 
-1.121320343559641,2.903179852490939 -1.3190313600882089,2.6667106990588096 
-1.4944088369076338,2.4141902104779955 -1.6457637930450635,2.1480502970952724 
-1.771638597533859,1.8708540317 [...]
diff --git a/data/wkts/geo-test-fixtures/ring.wkt 
b/data/wkts/geo-test-fixtures/ring.wkt
new file mode 100644
index 0000000..ee0cd97
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/ring.wkt
@@ -0,0 +1 @@
+LINESTRING(10 1,9.956662540049772 0.1178457370339554,9.827067523629074 
-0.7558128981451526,9.61246302158988 -1.612562095290159,9.314915792601582 
-2.4441508912858048,8.937291379135196 -3.242570631433975,8.483226510722911 
-4.000132097176415,7.957094080264637 -4.709539557472804,7.363961030678933 
-5.363961030678923,6.709539557472817 -5.957094080264627,6.0001320971764285 
-6.483226510722902,5.2425706314339875 -6.937291379135191,4.444150891285817 
-7.314915792601576,3.612562095290172 -7.61246302 [...]
diff --git a/data/wkts/geo-test-fixtures/shell.wkt 
b/data/wkts/geo-test-fixtures/shell.wkt
new file mode 100644
index 0000000..b40a300
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/shell.wkt
@@ -0,0 +1 @@
+LINESTRING(11 1,10.95184726672197 0.019828596704394963,10.807852804032304 
-0.9509032201612808,10.56940335732209 -1.902846772544621,10.23879532511287 
-2.826834323650894,9.819212643483553 -3.713967368259972,9.314696123025456 
-4.555702330196017,8.730104533627374 -5.343932841636449,8.07106781186548 
-6.07106781186547,7.343932841636462 -6.7301045336273635,6.5557023301960315 
-7.314696123025447,5.713967368259986 -7.819212643483546,4.826834323650909 
-8.238795325112862,3.9028467725446356 -8.569403 [...]
diff --git a/data/wkts/geo-test-fixtures/vw_orig.wkt 
b/data/wkts/geo-test-fixtures/vw_orig.wkt
new file mode 100644
index 0000000..abdba07
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/vw_orig.wkt
@@ -0,0 +1 @@
+LINESTRING(2.32986 48.86005,2.35093 48.863411,2.43115 48.940418,2.54246 
48.960732,2.63999 49.001961,2.72844 49.08049,2.73925 49.098728,2.77004 
49.111778,2.80339 49.144669,2.85119 49.15979,2.99549 49.23616,3.03301 
49.241539,3.08543 49.26516,3.13198 49.266472,3.18086 49.294731,3.21429 
49.302959,3.28301 49.356419,3.3289 49.35873,3.35653 49.368698,3.37508 
49.387329,3.3684 49.40694,3.40955 49.42358,3.43405 49.446411,3.51661 
49.463291,3.58582 49.519058,3.59405 49.535789,3.62701 49.551029,3.635 [...]
diff --git a/data/wkts/geo-test-fixtures/vw_simplified.wkt 
b/data/wkts/geo-test-fixtures/vw_simplified.wkt
new file mode 100644
index 0000000..cff03fa
--- /dev/null
+++ b/data/wkts/geo-test-fixtures/vw_simplified.wkt
@@ -0,0 +1 @@
+LINESTRING(2.32986 48.86005,2.35093 48.863411,2.43115 48.940418,2.54246 
48.960732,2.63999 49.001961,2.80339 49.144669,2.85119 49.15979,2.99549 
49.23616,3.08543 49.26516,3.13198 49.266472,3.21429 49.302959,3.28301 
49.356419,3.3289 49.35873,3.37508 49.387329,3.3684 49.40694,3.43405 
49.446411,3.51661 49.463291,3.62701 49.551029,3.65985 49.59404,3.71867 
49.705761,3.80852 49.78054,3.9306 49.8503,4.00552 49.867611,4.02625 
49.889511,4.09659 49.905418,4.10586 49.934929,4.16724 49.974251,4.20531  [...]

Reply via email to