Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions test/algorithms/envelope_expand/envelope_on_spheroid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2518,7 +2518,7 @@ BOOST_AUTO_TEST_CASE( envelope_cw_ring )
from_wkt<G>("POLYGON((0 10,0 45,50 10,0 10))"),
0, 10, 50, 45);

#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
#ifdef BOOST_GEOMETRY_TEST_FAILURES
// ring that contains both the north and south poles in its interior
tester::apply("r01cw-r",
from_wkt<G>("POLYGON((0 10,50 10,0 45,0 10))"),
Expand Down Expand Up @@ -2549,7 +2549,7 @@ BOOST_AUTO_TEST_CASE( envelope_cw_ring )
-180, -90, 180, -10);
// -180, -19.42540014068282, 180, 90);

#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
#ifdef BOOST_GEOMETRY_TEST_FAILURES
// ring that has the north pole as vertex and contains the south pole
tester::apply("r04cw",
from_wkt<G>("POLYGON((0 0,-50 90,-50 0,0 0))"),
Expand Down Expand Up @@ -2584,7 +2584,7 @@ BOOST_AUTO_TEST_CASE( envelope_cw_ring )
from_wkt<G>("POLYGON((0 0,-50 0,-50 90,0 0))"),
-50, 0, 0, 90);

#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
#ifdef BOOST_GEOMETRY_TEST_FAILURES
// ring that goes through the south pole and contains the north pole
tester::apply("r09cw",
from_wkt<G>("POLYGON((0 0,0 -90,50 0,0 0))"),
Expand Down Expand Up @@ -2624,7 +2624,7 @@ BOOST_AUTO_TEST_CASE( envelope_cw_ring )
from_wkt<G>("POLYGON((100 45,0 45,-100 45,-100 90,100 45))"),
-100, 45, 100, 90);

#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
#ifdef BOOST_GEOMETRY_TEST_FAILURES
// ring that represents the complement of a spherical cap
// near the north pole
tester::apply("r13cw-r",
Expand All @@ -2638,7 +2638,7 @@ BOOST_AUTO_TEST_CASE( envelope_cw_ring )
from_wkt<G>("POLYGON((-100 45,0 45,100 45,100 -90,-100 45))"),
-100, -90, 100, 57.26759279038765);

#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
#ifdef BOOST_GEOMETRY_TEST_FAILURES
// ring that represents a spherical cap that touches the south pole
tester::apply("r14cw-r",
from_wkt<G>("POLYGON((100 45,0 45,-100 45,-100 -90,100 45))"),
Expand All @@ -2661,7 +2661,7 @@ BOOST_AUTO_TEST_CASE( envelope_cw_ring )
from_wkt<G>("POLYGON((-50 -80,-50 -40,-30 -40,-30 -80,-50 -80))"),
-50, -80.14892388341609, -30, -40);

#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
#ifdef BOOST_GEOMETRY_TEST_FAILURES
// ring that lies in the lower hemisphere and contains both poles
tester::apply("r16-r",
from_wkt<G>("POLYGON((-50 -80,-30 -80,-30 -40,-50 -40,-50 -80))"),
Expand All @@ -2678,7 +2678,7 @@ BOOST_AUTO_TEST_CASE( envelope_cw_ring )
from_wkt<G>("POLYGON((50 0,100 0,100 -90,50 0))"),
50, -90, 100, 0);

#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
#ifdef BOOST_GEOMETRY_TEST_FAILURES
// ring that goes through the south pole and contains the north pole
tester::apply("r18cw",
from_wkt<G>("POLYGON((50 0,50 -90,460 0,50 0))"),
Expand All @@ -2690,7 +2690,7 @@ BOOST_AUTO_TEST_CASE( envelope_cw_ring )
from_wkt<G>("POLYGON((50 0,460 0,100 -90,50 0))"),
50, -90, 100, 0);

#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
#ifdef BOOST_GEOMETRY_TEST_FAILURES
// ring that goes through the south pole and contains the north pole
tester::apply("r19cw",
from_wkt<G>("POLYGON((50 0,50 -90,-260 0,50 0))"),
Expand All @@ -2707,7 +2707,7 @@ BOOST_AUTO_TEST_CASE( envelope_cw_ring )
from_wkt<G>("POLYGON((10 0,10 90,20 0,20 -90,10 0))"),
10, -90, 20, 90); // SUCCEEDS FOR WRONG REASON

#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
#ifdef BOOST_GEOMETRY_TEST_FAILURES
// ring that goes through both poles
tester::apply("r20cw-r",
from_wkt<G>("POLYGON((10 0,10 -90,20 0,20 90,10 0))"),
Expand All @@ -2720,7 +2720,7 @@ BOOST_AUTO_TEST_CASE( envelope_cw_ring )
from_wkt<G>("POLYGON((-10 0,-10 90,170 0,170 -90,-10 0))"),
-10, -90, 170, 90); // SUCCEEDS FOR WRONG REASON

#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
#ifdef BOOST_GEOMETRY_TEST_FAILURES
// ring that goes through both poles and its boundary forms
// a great circle
tester::apply("r21cw-r",
Expand Down
6 changes: 6 additions & 0 deletions test/algorithms/overlay/multi_overlay_cases.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1985,6 +1985,12 @@ static std::string issue_1354[2] =
"MULTIPOLYGON(((-161.64096882920154 -24.7006892825620064,-161.289685158351034 -24.4725629993453921,-160.946576972490334 -24.2323160611842638,-160.612062296092091 -23.9802411719655595,-160.286548683761538 -23.7166454461126293,-159.970432723693705 -23.4418500344136262,-159.664099554492026 -23.1561897327487074,-159.367922395936176 -22.8600125741928615,-159.082262094271272 -22.5536794049911933,-158.807466682572255 -22.2375634449233637,-158.543870956719331 -21.9120498325927926,-158.291796067500627 -21.5775351561945712,-158.051549129339492 -21.2344269703338533,-157.823422846122895 -20.8831432994833506,-157.607695154586736 -20.5241121286848909,-157.404628885692887 -20.1577708821155781,-157.21447144440998 -19.7845658901538215,-157.037454508288789 -19.4049518455944927,-156.873793745198554 -19.0193912496758344,-156.723688550569108 -18.6283538485929157,-156.587321804458156 -18.2323160611842603,-156.464859648740173 -17.8317603984888819,-156.356451284688035 -17.4271748758809046,-156.262228791194332 -17.0190524184980028,-156.182306963853506 -16.6078902606880554,-156.116783175101148 -16.1941893402056749,-156.065737255580729 -15.7784536878967323,-156.029231396882096 -15.361189813614395,-156.007310075770846 -14.9429060891149028,-156 -14.5241121286848909,-156 -0.659861765609321083,-156 -0.659861765609321083,-156.007310075770874 -0.24106780517901305,-156.029231396882125 0.177215919320473647,-156.065737255580757 0.594479793602806117,-156.116783175101205 1.01021544591174406,-156.182306963853563 1.42391636639411612,-156.262228791194389 1.8350785242040577,-156.35645128468812 2.24320098158695203,-156.464859648740259 2.64778650419492223,-156.587321804458242 3.04834216689029436,-156.723688550569193 3.44437995429894173,-156.87379374519864 3.83541735538185424,-157.037454508288874 4.22097795130050457,-157.214471444410094 4.6005919958598227,-157.404628885693 4.97379698782157575,-157.60769515458685 5.34013823439087876,-157.823422846123009 5.69916940518932957,-158.051549129339634 6.0504530760398243,-158.291796067500769 6.39356126190053153,-158.543870956719473 6.72807593829874495,-158.807466682572397 7.05358955062930804,-159.082262094271414 7.36970551069712698,-159.367922395936318 7.67603867989878808,-159.664099554492168 7.97221583845462689,-159.970432723693847 8.25787614011953508,-160.28654868376168 8.53267155181853276,-160.612062296092233 8.79626727767145233,-160.946576972490448 9.04834216689014958,-161.289685158351176 9.28858910505127255,-161.640968829201682 9.51671538826787611,-162.000000000000142 9.73244307980402112,-162.366341246569448 9.93550934869787383,-162.739546238531204 10.1256667899807482,-163.119160283090537 10.3026837261019484,-163.504720879009199 10.4663444891921795,-163.89575828009211 10.6164496838216245,-164.291796067500741 10.7528164299325617,-164.692351730196123 10.8752785856505412,-165.096937252804111 10.9836869497026655,-165.505059710186998 11.0779094431963721,-165.916221867996938 11.1578312705371943,-166.329922788479308 11.2233550592895384,-166.745658440788247 11.2744009788099682,-167.162922315070603 11.3109068375085773,-167.581206039570077 11.3328281586198312,-168.000000000000085 11.3401382343906789,-168.418793960430094 11.3328281586198258,-168.837077684929568 11.3109068375085648,-169.254341559211923 11.2744009788099522,-169.670077211520862 11.2233550592895135,-170.083778132003232 11.1578312705371641,-170.494940289813172 11.077909443196333,-170.90306274719606 10.9836869497026228,-171.307648269804048 10.8752785856504914,-171.708203932499401 10.7528164299325084,-172.10424171990806 10.6164496838215658,-172.495279120990972 10.4663444891921138,-172.880839716909634 10.3026837261018773,-173.260453761468966 10.1256667899806718,-173.633658753430694 9.93550934869779212,-174 9.73244307980393408,-174.35903117079846 9.51671538826778551,-174.710314841648966 9.28858910505117663,-175.053423027509666 9.04834216689004656,-175.387937703907909 8.79626727767134398,-175.713451316238462 8.53267155181842085,-176.029567276306295 8.25787614011941784,-176.335900445507946 7.97221583845450077,-176.632077604063795 7.67603867989865307,-176.917737905728728 7.36970551069698487,-177.192533317427717 7.05358955062915793,-177.456129043280669 6.72807593829858508,-177.708203932499373 6.39356126190036278,-177.948450870660508 6.05045307603964844,-178.176577153877105 5.69916940518914394,-178.392304845413264 5.34013823439068602,-178.595371114307113 4.97379698782137414,-178.785528555589991 4.60059199585961309,-178.962545491711211 4.22097795130028608,-179.126206254801446 3.83541735538162776,-179.276311449430892 3.44437995429870725,-179.412678195541844 3.04834216689005189,-179.535140351259827 2.64778650419467221,-179.643548715311965 2.24320098158669401,-179.737771208805668 1.83507852420379303,-179.817693036146494 1.42391636639384433,-179.883216824898852 1.01021544591146517,-179.934262744419271 0.59447979360252079,-179.970768603117904 0.177215919320182214,-179.992689924229154 -0.241067805179310257,-180 -0.659861765609321083,-180 -14.5241121286848909,-179.992689924229154 -14.942906089114862,-179.970768603117904 -15.3611898136143541,-179.9342627444193 -15.7784536878966932,-179.883216824898852 -16.1941893402056394,-179.817693036146494 -16.6078902606880163,-179.737771208805668 -17.0190524184979672,-179.643548715311965 -17.4271748758808691,-179.535140351259827 -17.8317603984888464,-179.412678195541844 -18.2323160611842248,-179.276311449430921 -18.6283538485928801,-179.126206254801474 -19.0193912496758024,-178.962545491711239 -19.4049518455944607,-178.78552855559002 -19.7845658901537895,-178.595371114307142 -20.1577708821155497,-178.392304845413292 -20.5241121286848625,-178.176577153877133 -20.8831432994833222,-177.948450870660508 -21.2344269703338284,-177.708203932499373 -21.5775351561945428,-177.456129043280669 -21.9120498325927642,-177.192533317427745 -22.2375634449233388,-176.917737905728757 -22.5536794049911684,-176.632077604063824 -22.8600125741928366,-176.335900445507974 -23.1561897327486861,-176.029567276306324 -23.4418500344136049,-175.713451316238491 -23.7166454461126079,-175.387937703907909 -23.9802411719655382,-175.053423027509695 -24.2323160611842425,-174.710314841648994 -24.4725629993453779,-174.359031170798488 -24.7006892825619886,-174.000000000000028 -24.9164169740981407,-173.633658753430723 -25.1194832429920041,-173.260453761468938 -25.3096406842748856,-172.880839716909634 -25.4866576203960911,-172.495279120990972 -25.6503183834863329,-172.104241719908032 -25.8004235781157831,-171.708203932499401 -25.9367903242267275,-171.307648269804019 -26.0592524799447105,-170.903062747196032 -26.1676608439968419,-170.494940289813144 -26.2618833374905556,-170.083778132003175 -26.3418051648313849,-169.670077211520805 -26.4073289535837326,-169.254341559211866 -26.4583748731041695,-168.837077684929511 -26.4948807318027804,-168.418793960430037 -26.5168020529140378,-168.000000000000028 -26.5241121286848909,-167.581206039569992 -26.5168020529140378,-167.162922315070517 -26.4948807318027804,-166.745658440788162 -26.4583748731041695,-166.329922788479223 -26.4073289535837361,-165.916221867996853 -26.341805164831392,-165.505059710186913 -26.2618833374905591,-165.096937252803997 -26.167660843996849,-164.692351730196009 -26.0592524799447212,-164.291796067500627 -25.9367903242267381,-163.895758280091997 -25.8004235781157938,-163.504720879009056 -25.6503183834863435,-163.119160283090395 -25.4866576203961053,-162.739546238531091 -25.3096406842748962,-162.366341246569306 -25.1194832429920183,-162 -24.9164169740981585,-161.64096882920154 -24.7006892825620064)))"
};

static std::string issue_1363[2] =
{
"MULTIPOLYGON(((2.0611606968426476882 0.61095000000000010409,2.046160696842648008 0.62595000000000000639,2.0311606968426478836 0.6409499999999999087,1.9486606968426476438 0.73094999999999987761,1.9261606968426476794 0.76094999999999990425,1.9336606968426472974 0.78344999999999986873,2.0161606968426477593 0.85844999999999993534,2.0236606968426480435 0.8584499999999997133,2.0461606968426475639 0.90344999999999986429,2.0911606968426479369 0.88844999999999973994,2.098660696842647333 0.8734499999999996156,2.1136606968426479014 0.86594999999999977547,2.1286606968426480258 0.85094999999999976215,2.1436606968426472619 0.83594999999999985985,2.143660696842647706 0.62594999999999989537,2.0836606968426476527 0.62594999999999989537,2.0611606968426476882 0.61095000000000010409)))",
"MULTIPOLYGON(((2.0461606968426484521 0.90344999999999986429,2.001160696842647635 0.91095000000000003748,1.8511606968426477238 0.91094999999999992646,1.813660696842647635 0.91844999999999998863,1.813660696842647635 0.9409499999999999531,1.8211606968426479192 1.1059499999999999886,1.8286606968426479813 1.263449999999999962,1.9636606968426479902 1.263449999999999962,2.0461606968426484521 1.2559499999999998998,2.0536606968426478481 1.2409499999999999975,2.1286606968426480258 1.2409499999999999975,2.1286606968426480258 1.1059499999999999886,2.1211606968426477415 0.92594999999999982876,2.1136606968426479014 0.89594999999999980211,2.091160696842648381 0.88844999999999996199,2.0461606968426484521 0.90344999999999986429)))"
};

static std::string issue_1471[2] =
{
"MULTIPOLYGON((("
Expand Down
12 changes: 0 additions & 12 deletions test/algorithms/overlay/overlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,12 +315,6 @@ static std::string issue_1100_multi[2] =
"MULTIPOLYGON(((-0.19761611601674899941 2101,0 2100.6135231738085167,0 2100,-0.5 2100,-0.5 2101,-0.19761611601674899941 2101)))"
};

static std::string issue_1363_multi[2] =
{
"MULTIPOLYGON(((2.0611606968426476882 0.61095000000000010409,2.046160696842648008 0.62595000000000000639,2.0311606968426478836 0.6409499999999999087,1.9486606968426476438 0.73094999999999987761,1.9261606968426476794 0.76094999999999990425,1.9336606968426472974 0.78344999999999986873,2.0161606968426477593 0.85844999999999993534,2.0236606968426480435 0.8584499999999997133,2.0461606968426475639 0.90344999999999986429,2.0911606968426479369 0.88844999999999973994,2.098660696842647333 0.8734499999999996156,2.1136606968426479014 0.86594999999999977547,2.1286606968426480258 0.85094999999999976215,2.1436606968426472619 0.83594999999999985985,2.143660696842647706 0.62594999999999989537,2.0836606968426476527 0.62594999999999989537,2.0611606968426476882 0.61095000000000010409)))",
"MULTIPOLYGON(((2.0461606968426484521 0.90344999999999986429,2.001160696842647635 0.91095000000000003748,1.8511606968426477238 0.91094999999999992646,1.813660696842647635 0.91844999999999998863,1.813660696842647635 0.9409499999999999531,1.8211606968426479192 1.1059499999999999886,1.8286606968426479813 1.263449999999999962,1.9636606968426479902 1.263449999999999962,2.0461606968426484521 1.2559499999999998998,2.0536606968426478481 1.2409499999999999975,2.1286606968426480258 1.2409499999999999975,2.1286606968426480258 1.1059499999999999886,2.1211606968426477415 0.92594999999999982876,2.1136606968426479014 0.89594999999999980211,2.091160696842648381 0.88844999999999996199,2.0461606968426484521 0.90344999999999986429)))"
};

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated, it was duplicate


static std::string buffer_rt_g_multi[2] =
{
"MULTIPOLYGON(((2.0 8.0,2.0 9.0,2.0 10.0,3.0 10.0,4.0 10.0,6.4142135623730958 10.0,4.7071067811865479 8.2928932188134521,3.7071067811865475 7.2928932188134521,2.0 5.5857864376269051,2.0 8.0)))",
Expand Down Expand Up @@ -364,15 +358,9 @@ void test_all()

// TEST_INTERSECTION(case_bitset_3, 16.0, 1, 0);
// TEST_INTERSECTION(case_149_multi, 48.0, 2, 2); // instruction
//

// TEST_DIFFERENCE_B(issue_893_multi, 97213916.0, 1, 1); // needs is_traverse


#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
TEST_INTERSECTION(issue_1439, 0, 0, 0.0);
#endif

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This overlay.cpp is more a debug test - for "real" tests we should prefer test/algorithms/set_operations/set_ops_areal_areal.cpp


TEST_UNION(case_134_multi, 66.0, 1, 2);
TEST_UNION(case_76_multi, 8.0, 5, 0);
TEST_UNION(case_150_multi, 21.0, 2, 0); // uu
Expand Down
24 changes: 3 additions & 21 deletions test/algorithms/overlay/overlay_cases.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1297,10 +1297,10 @@ static std::string issue_1345_b[2] =
)""""
};

static std::string issue_1363[2] =
static std::string issue_1439[2] =
{
"MULTIPOLYGON(((2.0611606968426476882 0.61095000000000010409,2.046160696842648008 0.62595000000000000639,2.0311606968426478836 0.6409499999999999087,1.9486606968426476438 0.73094999999999987761,1.9261606968426476794 0.76094999999999990425,1.9336606968426472974 0.78344999999999986873,2.0161606968426477593 0.85844999999999993534,2.0236606968426480435 0.8584499999999997133,2.0461606968426475639 0.90344999999999986429,2.0911606968426479369 0.88844999999999973994,2.098660696842647333 0.8734499999999996156,2.1136606968426479014 0.86594999999999977547,2.1286606968426480258 0.85094999999999976215,2.1436606968426472619 0.83594999999999985985,2.143660696842647706 0.62594999999999989537,2.0836606968426476527 0.62594999999999989537,2.0611606968426476882 0.61095000000000010409)))",
"MULTIPOLYGON(((2.0461606968426484521 0.90344999999999986429,2.001160696842647635 0.91095000000000003748,1.8511606968426477238 0.91094999999999992646,1.813660696842647635 0.91844999999999998863,1.813660696842647635 0.9409499999999999531,1.8211606968426479192 1.1059499999999999886,1.8286606968426479813 1.263449999999999962,1.9636606968426479902 1.263449999999999962,2.0461606968426484521 1.2559499999999998998,2.0536606968426478481 1.2409499999999999975,2.1286606968426480258 1.2409499999999999975,2.1286606968426480258 1.1059499999999999886,2.1211606968426477415 0.92594999999999982876,2.1136606968426479014 0.89594999999999980211,2.091160696842648381 0.88844999999999996199,2.0461606968426484521 0.90344999999999986429)))"
"POLYGON((-2.47089026 -86.03059246, -1.161944873 146.3030596, 3.40221214 145.8628015, 3.024695769 141.949088, 2.420586453 111.9554564, 1.208013978 -86.04069936, -2.47089026 -86.03059246))",
"POLYGON((-6.213278056 -88.01851748, -6.207382255 -86.51852906, -6.20539951 -86.01408604, -2.470873099 -86.02434575, -2.472221358 -86.53315586, -2.476196085 -88.03315059, -6.213278056 -88.01851748))"

@barendgehrels barendgehrels Jul 3, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the version from the sample of the report in #1439

};

static std::string ggl_list_20120229_volker[3] =
Expand Down Expand Up @@ -1653,23 +1653,5 @@ static std::string mysql_23023665_13[2] =
"POLYGON((0 7,-5 6,11 -13,0 7))"
};

static std::string issue_1439[2] =
{
"POLYGON((-2.47089026 -86.03059246,"
"-1.161944873 146.3030596,"
"3.40221214 145.8628015,"
"3.024695769 141.949088,"
"2.420586453 111.9554564,"
"1.208013978 -86.04069936,"
"-2.47089026 -86.03059246))",

"POLYGON((-6.213278056 -88.01851748,"
"-6.207382255 -86.51852906,"
"-6.20539951 -86.01408604,"
"-2.470873099 -86.02434575,"
"-2.472221358 -86.53315586,"
"-2.476196085 -88.03315059,"
"-6.213278056 -88.01851748))"
};

#endif // BOOST_GEOMETRY_TEST_OVERLAY_CASES_HPP
2 changes: 1 addition & 1 deletion test/algorithms/relate/relate_gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void test_gc_gc()
"1FFF0F212");

// Error in detail::relate::linear_linear
#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
#ifdef BOOST_GEOMETRY_TEST_FAILURES
test_geometry<gc_t, gc_t>("GEOMETRYCOLLECTION(LINESTRING(0 0,5 5))",
"GEOMETRYCOLLECTION(LINESTRING(0 0,5 5), LINESTRING(5 5, 6 6))",
"1FF00F102");
Expand Down
2 changes: 1 addition & 1 deletion test/algorithms/relate/relate_linear_linear.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ void test_linestring_multi_linestring()
test_geometry<ls, mls>("LINESTRING(0 0,5 5)",
"MULTILINESTRING((0 0,5 5),(5 5,6 6))",
"1FF00F102");
#ifdef BOOST_GEOMETRY_TEST_ENABLE_FAILING
#ifdef BOOST_GEOMETRY_TEST_FAILURES

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few years back we harmonized these defines - apparently it diverged again after that, a bit, in this way. Better to have just one define for this purpose.

test_geometry<ls, mls>("LINESTRING(0 0,5 5)",
"MULTILINESTRING((5 5,6 6),(0 0,5 5))",
"1FF00F102");
Expand Down
2 changes: 2 additions & 0 deletions test/algorithms/set_operations/set_ops_areal_areal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ int test_main(int, char* [])
TEST_CASE(issue_1363);
#endif

TEST_CASE_WITH(issue_1439, 0, 1, ut_settings().ignore_validity_diff_sym());

@barendgehrels barendgehrels Jul 3, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some (non commited) debug output gives:

issue_1439_0_1 875.977 7.49641 883.474 6.20003e-11 1 875.977 7.49641

which is area a, area b, the union, the intersection, "intersects" (1), diff a-b, diff b-a

The intersection is small but present. Its WKT is the same as the one of the reporter in #1439. So we can consider it as closed. The one imperfection is that the sym-diff is invalid, over such a small common area - it might be a false positive.


TEST_CASE(case_bitset_1);
TEST_CASE(case_bitset_2);
TEST_CASE(case_bitset_3);
Expand Down
Loading