Barend Gehrels
a98772cba0
[test] remove duplicate test cases #10658 and #11121 now that
...
validity is tested for them in the normal flow
2015-11-01 16:30:32 +01:00
Barend Gehrels
e939bf8e83
[test] add settings to difference to test for validity and
...
conditionally remove spikes
2015-11-01 16:24:39 +01:00
Barend Gehrels
44372ca32e
[test] harmonize names for define
2015-11-01 13:44:42 +01:00
Barend Gehrels
29e1595e3f
[test] added failing test cases for tickets #11674 , #11676
2015-11-01 13:39:41 +01:00
Barend Gehrels
50c7e922d4
[test] extract areal_linear from difference_multi into separate ut
2015-11-01 13:19:52 +01:00
Barend Gehrels
c3b23647eb
[test] extract areal_linear from difference.cpp into separate ut
2015-11-01 12:56:21 +01:00
Barend Gehrels
a2d2d4f58d
[test] remove overload with percentage, only used once and now
...
supported by ut_settings
2015-11-01 12:27:08 +01:00
Barend Gehrels
94dc52a931
[test] add test case for ticket 10803 and added code to test for validity
2015-11-01 12:17:45 +01:00
Barend Gehrels
7ee6bd99b1
[buffer] prefix traits::detail namespace
2015-11-01 11:17:32 +01:00
Barend Gehrels
4327b0cb35
[difference][test] add currently failing testcase
2015-11-01 11:15:40 +01:00
Barend Gehrels
8f8b7bdfb1
[test] add testcase for similar situation (interior ring touches exterior
...
ring)
2015-11-01 11:14:58 +01:00
Barend Gehrels
7d2b3b6ba2
[test] fix traverse_ccw w.r.t. enrich_intersection_points
2015-10-31 22:46:52 +01:00
Barend Gehrels
085d641dab
[difference] fix colocations
2015-10-31 20:06:39 +01:00
Barend Gehrels
c1aeab008b
[enrich] add overlay_type template parameter
...
which will be used later
2015-10-31 19:35:18 +01:00
Barend Gehrels
a9277926fb
[test] move wkt's to headerfile
2015-10-31 19:08:54 +01:00
Barend Gehrels
e764179a41
[test] update traverse unit test, using overlay_type instead of
...
operation_type
2015-10-31 19:06:26 +01:00
Barend Gehrels
d6b7e052ba
[union] fix new case #80 to discard i/i turn of interior ring with
...
interior ring, in case of a colocation
2015-10-31 18:53:55 +01:00
Barend Gehrels
cbd431a65a
typo
2015-10-31 12:29:57 +01:00
Barend Gehrels
4cc8112544
[colocations] fix: the condition to select on uu or ux should be there
2015-10-31 12:26:09 +01:00
Barend Gehrels
77299c8c22
[intersection] testcase was already fixed by colocations solution,
...
remove #ifdef and add testcase
2015-10-31 11:35:22 +01:00
Barend Gehrels
a1e4a65f9a
[test] add case with two ext/int colocations at the same point
2015-10-31 11:16:55 +01:00
Barend Gehrels
013420fd07
[colocations] fix debug info
2015-10-31 11:00:41 +01:00
Barend Gehrels
7cfe3dc337
[union] instead of checking on u/u, sort/check
...
on exterior ring/interior rings such that also cases with u/x are handled
This fixes case mysql_21964049
2015-10-31 10:56:27 +01:00
Barend Gehrels
4ae1320d1c
[union][test] move test cases to overlay_cases.hpp and enable two cases
...
which are fixed now
2015-10-28 19:49:37 +01:00
Barend Gehrels
ac5bc527e7
[union] fix cases where a polygon is touching the interior ring of another
...
polygon at a point where that interior ring touches its exterior ring
2015-10-28 19:48:34 +01:00
Adam Wulkiewicz
ddcce3d2a9
[test][union] Add failing test case.
2015-10-22 22:40:27 +02:00
Adam Wulkiewicz
7ddeab4f05
[test][intersection] Add failing test case.
2015-10-22 22:05:22 +02:00
Adam Wulkiewicz
40aafb8107
[test][difference] Add failing test cases.
2015-10-22 21:43:41 +02:00
Barend Gehrels
f98e0ed947
Merge pull request #324 from jeremy-murphy/pj_units
...
Split pj units at divisor, support fractional multipliers.
2015-10-17 10:42:57 +02:00
Menelaos Karavelas
fc3f5e57fb
[test][algorithms][buffer] fix "enumeration value not handled warning"
2015-10-16 11:25:51 +03:00
Adam Wulkiewicz
9fcbd75ee1
[test][intersects] Add possibly failing test cases (Seg/Box).
2015-10-15 22:09:42 +02:00
Adam Wulkiewicz
3e22205687
Merge pull request #329 from springmeyer/fix-lineclip-int
...
[algorithms][intersection] Fixes liang_barsky for integral data
2015-10-14 23:41:08 +02:00
Dane Springmeyer
6f214c54c6
use select_most_precise + better naming of TemplateType
2015-10-14 11:36:50 -07:00
Barend Gehrels
533543e86b
[traverse][robustness] in case of cc, instead of arbitrary candidate,
...
take candidate with largest remaining distance. This fixes some
errors if rescaling is turned off.
2015-10-14 17:15:53 +02:00
Barend Gehrels
74f5465516
[get_turns][test] exclude failing case for clang/release
2015-10-14 16:30:51 +02:00
Barend Gehrels
c5f31b17a4
[difference][test] increase tolerance to let it pass on clang (the subsequent
...
cases also have tolerance of 1e-10).
Also increase printed precision to be able to investigate the problem
2015-10-14 14:17:47 +02:00
Barend Gehrels
d25b47f627
[buffer][test] decrease one tolerance which was too high
2015-10-14 12:59:30 +02:00
Barend Gehrels
82b1290849
[buffer][test] increase tolerances for extreme cases to let them pass
...
in clang/clang release/gcc
2015-10-14 12:59:15 +02:00
Barend Gehrels
4c29a2f7d5
[buffer] initialize intersection point to avoid warning
2015-10-14 12:58:05 +02:00
Barend Gehrels
ec017da3f0
[buffer] move same code fragments to finish_ring
2015-10-14 12:57:46 +02:00
Barend Gehrels
71143c1b68
[buffer][fix] Fix case where side calculation fails because of length
2015-10-14 12:14:38 +02:00
Menelaos Karavelas
c863eb4e92
Merge pull request #331 from mkaravel/fix/is_valid_numerically_collinear
...
Fix problem of numerical inconsistency when checking for spikes
2015-10-14 09:24:29 +03:00
Menelaos Karavelas
b029641604
[algorithms][detail][point_is_spike_or_equal] fix inconsistency between sideness/collinearity
...
test and check for direction of vectors;
Problem: when checking whether a point q creates a spike or not with respect to two (ordered)
points a and b, the first check performed is whether q, a and b are collinear; if so, then it
is determined whether the vectors q-b and b-a have the same direction or not; for points with
floating-point coordinates, due to rounding errors as well as due to the fact that equality to
zero is checked using some tolerance, the three points may be detected as collinear; however,
when the directions of the two vectors are checked, computations are done without taking into
account any tolerance and this can lead to inconsistent results;
Fix: when checking the directions of the vectors q-b and b-a, compute signs of differences using
numerical tolerances, that is using math::equals() instead of plain comparison operators;
2015-10-12 12:07:10 +03:00
Menelaos Karavelas
04b834506c
[test][algorithms][is_valid] add test cases for checking spikes in areal geometries
2015-10-12 11:37:29 +03:00
Jeremy W. Murphy
013ed09a55
[projections] Use lexical_cast, check for zeroes.
...
-99 is a placeholder.
2015-10-11 23:36:22 +11:00
Jeremy W. Murphy
37b3487a0d
[projections] Punctuation and naming.
2015-10-11 18:13:22 +11:00
Adam Wulkiewicz
605d6d2e9b
[relate] Comment-out unused variable to suppress compiler warning.
2015-10-09 17:04:38 +02:00
Adam Wulkiewicz
51d683c737
Merge pull request #321 from awulkiew/fix/rtree_eps2
...
Enlarge nodes boxes in the rtree WRT epsilon when non-Box values are indexed.
2015-10-09 15:54:03 +02:00
Menelaos Karavelas
8614c403f0
Merge pull request #325 from mkaravel/fix/difference_intersection_linear_areal
...
Fix/difference intersection linear areal
2015-10-09 08:13:52 +03:00
Menelaos Karavelas
49b7be215e
[algorithms][intersection] use more descriptive name for method;
...
change template parameter name to something more descreptive;
2015-10-09 08:11:39 +03:00