Commit Graph

118 Commits

Author SHA1 Message Date
Barend Gehrels
8690837e56 [dissolve][test] run suite for float too 2017-11-24 13:58:56 +01:00
Barend Gehrels
93862fa638 [dissolve][test] add testcase which was already fixed by one of the
earlier fixes
2017-11-24 12:54:10 +01:00
Barend Gehrels
9c6040f4de [dissolve][test] add comments to testcases, including a possible todo item 2017-11-24 12:31:17 +01:00
Barend Gehrels
13ee521b2f [dissolve][test] add case #dissolve_mail_2017_10_26_c which is fixed by
making sure count_left/count_right are not used
2017-11-24 12:23:03 +01:00
Barend Gehrels
66112af890 [dissolve][test] add second testcase which is fixed already
(be it that it generates two points which might be removed)
2017-11-24 12:09:55 +01:00
Barend Gehrels
6b474e536a [dissolve][test] add reported testcase which should generate a hole 2017-11-24 12:02:45 +01:00
Adam Wulkiewicz
ec4c17ad15 [extensions][test] Fix Boost inspect issues (tabs). 2017-11-24 01:18:59 +01:00
Barend Gehrels
7ccda4bfc5 [test] add testcases for dissolve, some still failing 2017-10-20 16:34:18 +02:00
Barend Gehrels
36e70aa1ce [dissolve] move/partly enable other testcases 2017-10-20 15:14:57 +02:00
Barend Gehrels
8484bcc923 [test] Move and enable acute/obtuse heptagrams which are fixed now 2017-10-20 15:14:02 +02:00
Barend Gehrels
b39b9a319b [dissolve] reject negative child rings of negative parents (the parents
are reversed later), the same way as positive child rings of positive parents
are removed. This fixes the hexagram case and also dissolve_10 (both ccw)
2017-10-20 15:11:19 +02:00
Barend Gehrels
4382d85fb4 [dissolve] add testcase which is derived from (d) but has another spike,
or is horizontal instead of vertical
2017-10-20 12:48:54 +02:00
Barend Gehrels
13a8d13cb6 [dissolve] fix cases where turns were missed because 1) they were on adjacent
segments and 2) vertical segments were not sectionalized properly for this purpose.
2017-10-20 12:48:13 +02:00
Barend Gehrels
aa6778e83c [test] dissolve algorithm cannot use bg::correct, because orientation is
unknown and can be wrong. Orientation should not be reversed. Therefore
correct_closure is split of from correct, and can (should) be used to
close the geometries correctly. Only then some cases of dissolve can be
fixed. bg::dissolve can itself not close the rings by design of the library
(it would require drastic changes)
2017-10-19 16:38:49 +02:00
Barend Gehrels
a04050a31a [test] for dissolve unit tests now also check validity - and most
cases are already valid
2017-10-06 17:38:04 +02:00
Barend Gehrels
23e9f8628b [test] also move/cleanup multi-polygon tests 2017-10-06 16:38:35 +02:00
Barend Gehrels
c77f1c99ab [test] improve test, phase 2, now always check for clips/holes 2017-10-06 16:26:28 +02:00
Barend Gehrels
5f865f79f2 [test] dissolve: start testing #clips and #holes too 2017-10-06 16:01:40 +02:00
Barend Gehrels
1187e1e805 [dissolve] fix case with two triangles which needs to be corrected w.r.t.
next turn if there is only one turn
2017-10-06 15:46:20 +02:00
Barend Gehrels
ee02d25a42 [test] add Johan's testcases for dissolve 2017-10-06 13:02:14 +02:00
Barend Gehrels
7783eb6a24 [overlay] distinguish dissolve intersection/union to be able to avoid
self-turn being true for dissolve (otherwise all is true), to avoid having
those turns discarded.
This fixes some (but not all) of the regressions detected earlier
2017-10-06 12:30:48 +02:00
Barend Gehrels
f73abdab1b [test] add labels for dissolve-svg 2017-10-06 11:20:37 +02:00
Barend Gehrels
6e02971a66 [test] enhance dissolve SVG with information from visitor 2017-10-06 10:52:42 +02:00
Barend Gehrels
0bb0e7fcae [dissolve][test] enhance test information, check different outputs,
prepare svg-debug-info
2017-10-06 10:23:08 +02:00
Barend Gehrels
aaf2a5f4d6 [dissolve] use the map, which is now passed, instead of the old one
which was created explicitly
2017-10-06 10:00:36 +02:00
Barend Gehrels
1d23e0b511 [dissolve][test] fix test environment, exclude now failing cases 2017-10-06 09:18:56 +02:00
Adam Wulkiewicz
095b4f33c9 [extensions][test][dissolve] Add failing cases. 2017-04-14 15:30:17 +02:00
Adam Wulkiewicz
54e29a5157 Merge pull request #322 from meastp/add_read_multi_wkb
Support for reading and writing Multi-geometries
2017-02-26 20:09:49 +01:00
Adam Wulkiewicz
c6695f125d [test][arithmetic] Move cross_product test from extensions. 2017-01-13 23:12:18 +01:00
Adam Wulkiewicz
3c18981c73 [test][extensions] Change namesepace concept to concepts. 2017-01-13 22:35:56 +01:00
Mats Taraldsvik
f41ec1880f [io][wkb] Implement support for writing Multi-geometries 2016-09-05 20:17:13 +02:00
Mats Taraldsvik
7555eb3ccc [io][wkb] Implement support for reading Multi-geometries
Adds support for reading Multi-geometries in the WKB data format.
2016-09-05 20:17:13 +02:00
Barend Gehrels
28d46538be [dissolve][test] exclude (new) cases now failing 2016-07-20 16:54:38 +02:00
Adam Wulkiewicz
4870150a78 [test][example] Change filenames in #includes 2016-06-23 15:10:24 +02:00
Adam Wulkiewicz
163c3d83ef [test][index][extensions] Disable the deprecated std::auto_ptr support in SmartPtr and Core globally in Jamfiles. 2015-06-09 14:53:36 +02:00
barendgehrels
ecf6343def [projections][test] use names 2015-06-03 14:41:15 +02:00
barendgehrels
c3388d7398 [projections] add healpix 2015-05-31 13:26:25 +02:00
barendgehrels
7ba86400b5 [projections] avoid possibly unitialized value warning 2015-05-27 23:27:40 +02:00
barendgehrels
ce8e702cb6 [projections] remove unused type 2015-05-27 23:27:18 +02:00
barendgehrels
8e9a93e361 [projections] fix d2r in epsg testcode 2015-05-27 23:27:01 +02:00
Barend Gehrels
9ca4930e6c [projections] fix gn_sinu, remove ellipsoid models for all but sinu
because they are marked as invalid and indeed do not work correctly
2015-05-05 20:37:25 +02:00
Barend Gehrels
b7eb50c9ec [projections] add new projection igh from proj 4.9.1
including unit test in a new unit test using combined projections
2015-05-02 20:54:22 +02:00
Barend Gehrels
42550568ee [projections] add etmerc (including unit tests) 2015-04-29 16:58:38 +02:00
Barend Gehrels
4edcc4042e [projections][test] add unit test for static projections (forward)
including different models (spheroid/ellipsoid)
2015-04-29 14:57:27 +02:00
Barend Gehrels
c81255cf5e [projections] add new projection isa
include entry in unit test (tested with proj4.9.1)
2015-04-29 13:35:14 +02:00
Adam Wulkiewicz
07c8b24b89 [extensions][test] Enable the testing of IOs. 2015-04-26 01:05:26 +02:00
Barend Gehrels
0e3ea68f54 [projections] add qsc from proj 4.9.1 2015-04-25 15:40:45 +02:00
Barend Gehrels
5c5ac136a7 [projections][aitoff] go to proj 4.9.1 which adds an invert projection for aitoff
includes unit test
2015-04-25 13:19:48 +02:00
Adam Wulkiewicz
904ac9fc6c [extensions][test] Comment out unused local types. 2015-04-24 13:28:38 +02:00
Adam Wulkiewicz
9bc8baaa3b [extensions][test] Enable io/wkb testing, replace uses of cout with Test macros. 2015-04-23 17:42:53 +02:00