Commit Graph

  • 412fc452da [overlay] Relax case 2, allow both continue and intersection Fixes new #case_recursive_boxes_53 Barend Gehrels 2017-06-13 20:29:25 +02:00
  • 31b2a89c6d [overlay] remove duplicate condition Barend Gehrels 2017-06-13 20:18:51 +02:00
  • 2dbc55ed7d [dissolve] fix compilation errors reported by Johan Barend Gehrels 2017-06-12 20:30:09 +02:00
  • 47e1efb9e3 [test] Add testcases for variants of zoomed in cases (going OK) Barend Gehrels 2017-06-08 21:44:46 +02:00
  • 6b08e0b584 [test] Fix WKT (close interiors) Barend Gehrels 2017-06-08 21:43:25 +02:00
  • 3cd4f325ec [traverse] fix another similar case #case_137_multi now with two different outgoing arcs Barend Gehrels 2017-06-07 22:48:18 +02:00
  • 9993d3697f [traverse] fix cases where touching interior/exterior is approached from two different directions, and leave in one direction Barend Gehrels 2017-06-07 22:35:44 +02:00
  • ef22284629 [traverse] refactor new method to make more options Barend Gehrels 2017-06-07 22:28:57 +02:00
  • bf159328e5 [traverse] fix errors in isolation detection in switch detector by taking clusters into account Barend Gehrels 2017-06-07 15:20:35 +02:00
  • db372517b4 [traverse] fix cases where two polygons both have a touching interior ring, which is equal to itself Barend Gehrels 2017-06-07 15:06:51 +02:00
  • 3f002cab91 [test] include validity check in recursive_polygons, and by default add for self turns (necessary for validity) Barend Gehrels 2017-06-07 10:35:50 +02:00
  • a8f5e53555 [test] rename out_d to out_d1 Barend Gehrels 2017-06-07 10:35:03 +02:00
  • 95454e4c8e [traverse] redo, isolated MUST be checked. Checking interior/exterior ring is then redundant again, besides that it does not work for differences. This breaks case_134 but that must be fixed differently. Barend Gehrels 2017-06-05 17:45:51 +02:00
  • c04f26bffa [overlay] pending commit, where operations are set to not startable, they should not be added afterwards so set them like traversed Barend Gehrels 2017-06-05 16:00:11 +02:00
  • bd16305a72 [overlay] remove original behaviour to discard turns colocated with blocked turns, because this stops generating interior rings in certain configurations, and it is, in the meantime, handled differently in cluster traversal. Fixes cases like new case #case_recursive_boxes_51 Barend Gehrels 2017-06-05 15:59:29 +02:00
  • 6088389338 [overlay] unset startable for closed turns Barend Gehrels 2017-06-05 15:26:08 +02:00
  • e281d5e437 [overay] cleanup clusters properly Barend Gehrels 2017-06-05 15:25:03 +02:00
  • 0853342320 [traverse] fix #case_58_multi and #case_134_multi by verifying connected regions in switch detector Barend Gehrels 2017-06-05 11:51:53 +02:00
  • ecae306146 [traverse] generalize pattern for colocated interior rings by making cases with multiple rings (#case_134_multi) possible. It also does not check for isolated anymore but instead checks interior/exterior rings and region_ids Barend Gehrels 2017-06-04 14:04:00 +02:00
  • 254203d06e [traverse] add visited to traversable There is no unit test case for this change, but the robustness test (recursive_polygons) gives 5 times less errors with this change Barend Gehrels 2017-06-04 12:15:23 +02:00
  • b0cf8ffb59 [traverse] extend handling specific case of cc/ii with another variant, now also solving #case_recursive_boxes_50 Barend Gehrels 2017-06-04 11:23:42 +02:00
  • 463f778a36 [overlay] fix cases with two parallel interior rings, one touching the exterior ring, by adding a special case for this. This solves nearly all robustness (recursive_polygon) now. Barend Gehrels 2017-06-03 20:09:06 +02:00
  • 5364bbb4ca Merge pull request #400 from glenfe/develop Adam Wulkiewicz 2017-05-31 13:31:10 +02:00
  • 3555591411 [test] add missing recursive box cases to difference_multi (all checked visually) Barend Gehrels 2017-05-31 12:51:55 +02:00
  • c051ab5724 [overlay] instead of for self-turns only, skip all discarded turns for intersection operations Barend Gehrels 2017-05-31 11:38:52 +02:00
  • 390f924845 [test] add recently added cases to union/intersection tests Barend Gehrels 2017-05-31 11:22:05 +02:00
  • 16be4bbdb2 [overlay] fix new case #case_recursive_boxes_48 for self-intersections by discarding self ii turns NOT located within another geometry Barend Gehrels 2017-05-31 11:12:57 +02:00
  • 00ef210f69 [overlay] Remove some redundant includes Barend Gehrels 2017-05-31 11:00:28 +02:00
  • 952a4e8a9c [overlay] extract discarding self-turns to separate headerfile Barend Gehrels 2017-05-31 10:59:52 +02:00
  • acd364586f [overlay] handle todo-item, extract self_turn Barend Gehrels 2017-05-29 20:57:35 +02:00
  • 0ed359a624 Use pointer_traits.to_address instead of addressof(*p) Glen Fernandes 2017-05-29 13:57:04 -04:00
  • d3481fccca [overlay] fix within-check for buffer by making it a specialization instead of a if-condition Barend Gehrels 2017-05-28 17:28:51 +02:00
  • f54f85a6de [test] update union.cpp, there is only one invalid input - but with no robustness there are several failures Barend Gehrels 2017-05-26 22:40:15 +02:00
  • c53cbe56f5 [overlay] fix cases with self-turns where interior rings are generated within another geometry, for union Barend Gehrels 2017-05-26 22:21:10 +02:00
  • 7d8a46d888 [overlay] remove redundant parameter Barend Gehrels 2017-05-26 15:26:18 +02:00
  • 5a94c45644 [test] Check remaining problems for difference, restructure macros like in multi version Barend Gehrels 2017-05-25 16:20:35 +02:00
  • 36d81e18bf [test] update difference_multi, many invalid results are fixed using self-turns Barend Gehrels 2017-05-25 14:45:27 +02:00
  • 0bc28aadb8 [self_turns] fix direction - for this, an extra template parameter is required (it cannot (yet) be derived from the geometry, because it causes is_valid to fail) Barend Gehrels 2017-05-25 13:52:13 +02:00
  • 7d86bfdbf5 [overlay] simplify conditions to discard turns in enrich Barend Gehrels 2017-05-25 12:03:03 +02:00
  • 99c580a7b1 [overlay] For self-turns, remove exception for difference and, like union, for intersection only keep ii self-turns Barend Gehrels 2017-05-25 11:45:46 +02:00
  • 1a605740cc Merge pull request #397 from awulkiew/feature/relops_multi_point Adam Wulkiewicz 2017-05-23 13:24:19 +02:00
  • f6c28cebb7 Merge pull request #398 from vissarion/feature/disjoint_fix Adam Wulkiewicz 2017-05-23 13:23:58 +02:00
  • d6c8619cdc [test] fix reverse information for ccw geometries in overlay test Barend Gehrels 2017-05-21 14:45:47 +02:00
  • 25f55bfac4 [test] overlay, add ccw/open/self/rob info to svg filename Barend Gehrels 2017-05-21 14:43:38 +02:00
  • 52c2fde84a [self_turns] fix behaviour (correct assignment of segment_identifiers) for ccw geometries Barend Gehrels 2017-05-21 14:41:46 +02:00
  • 27fdefbd2e [test] enhance svg filename with self info Barend Gehrels 2017-05-21 14:16:37 +02:00
  • ae745f5b5c [test] enhance validity messages with ccw/open info Barend Gehrels 2017-05-21 14:15:47 +02:00
  • 713679f0d0 [overlay] add comment Barend Gehrels 2017-05-20 17:30:52 +02:00
  • d4ce96df48 [test] Add testcase 131 (fixed) and 132 (still unclear) Barend Gehrels 2017-05-20 17:30:25 +02:00
  • 0de898a004 [union] Fix select_source for self_turn, it should use multi_index Barend Gehrels 2017-05-20 15:54:57 +02:00
  • b75c22b567 [test][srs] Add projection<> interface test including geometries other than point. Adam Wulkiewicz 2017-05-19 15:15:56 +02:00
  • 3c1fa1e316 [srs] Support all geometries in projection<>, add concepts and dimension check. Adam Wulkiewicz 2017-05-19 15:14:31 +02:00
  • d755045f45 [test][srs] Catch projection_exception instead of proj_exception. Adam Wulkiewicz 2017-05-17 21:44:18 +02:00
  • 048d3fe53b [srs] Rename proj_exception to projection_exception and use BOOST_THROW_EXCEPTION. Adam Wulkiewicz 2017-05-17 21:39:33 +02:00
  • 4b46351890 [srs] Add missing proj_exception codes in projections. Adam Wulkiewicz 2017-05-17 20:35:23 +02:00
  • 6002b55607 [srs] Add return statement in base_t_f::inverse to suppress warning. Adam Wulkiewicz 2017-05-17 20:33:05 +02:00
  • 2ebf8b7fe1 [test] add test for union needing self-turns. It is still failing. Barend Gehrels 2017-05-17 20:32:17 +02:00
  • 5a7650b3b5 [test][srs] Add error handling cases to projection_interface test. Adam Wulkiewicz 2017-05-17 17:43:46 +02:00
  • d9cd15e94f [srs] Improve compile- and run-time error handling. Adam Wulkiewicz 2017-05-17 17:38:25 +02:00
  • 7be1af9cbc [test][srs] Update expected coordinates in projections test wrt recent fixes. Adam Wulkiewicz 2017-05-17 01:43:16 +02:00
  • 51c1c5c4d4 [test][srs] Add cases for projections p* - w* (converted selftests from Proj4). Adam Wulkiewicz 2017-05-17 01:21:24 +02:00
  • 08500cfc18 [srs] Check validity of +n parameter in urm5 projection. Adam Wulkiewicz 2017-05-17 01:20:10 +02:00
  • 32a8a0a451 [srs] Fix bug with stereographic projection at equator that multiplied equatorial coordinates by 2 (after Proj4). Adam Wulkiewicz 2017-05-17 01:18:44 +02:00
  • b4aab6bccd [srs] Add exceptions in robin projection and pass error code to existing ones. Adam Wulkiewicz 2017-05-17 01:17:10 +02:00
  • 52a6e508a8 [srs] In pj_inv() replace fabs() with bg::math::abs(). Adam Wulkiewicz 2017-05-17 01:15:04 +02:00
  • 02d57ff52c [srs] Differentiate between proj. not specified and unknown (different exception code/msg). Adam Wulkiewicz 2017-05-17 01:14:04 +02:00
  • 267da8d557 [test][srs] Add cases for projections m*, n*, o* (converted selftests from Proj4). Adam Wulkiewicz 2017-05-16 15:13:40 +02:00
  • bbad83ea5d [srs] Fix scaling bug in ocea projection, as fixed in Proj4. Adam Wulkiewicz 2017-05-16 15:12:41 +02:00
  • 959d6e7a2e [test][srs] Add cases for projections i*, k*, l* (converted selftests from Proj4). Adam Wulkiewicz 2017-05-16 02:29:15 +02:00
  • 9e3c314aa7 [test][srs] Add cases for projections f*, g*, h* (converted selftests from Proj4). Adam Wulkiewicz 2017-05-16 01:36:25 +02:00
  • 59f4800d79 [srs] Add missing inverse to hammer projection. Adam Wulkiewicz 2017-05-16 01:34:51 +02:00
  • 2f25e5af13 [test][srs] Add projection selftest cases converted from original Proj4 (projections c*, d*, e*). Adam Wulkiewicz 2017-05-16 00:36:27 +02:00
  • c2b45bd9ab [test][srs] Add projection selftest cases converted from original Proj4 (currently only for projections a*, b*). Adam Wulkiewicz 2017-05-15 22:46:01 +02:00
  • 70d3cf13ea [srs] Support various calc. types in projections p*, q*, r*, s*, u*, v*. Adam Wulkiewicz 2017-05-15 01:02:31 +02:00
  • f20f3a4a51 [srs] Support arbitrary calc. type in projections n*, o*. Adam Wulkiewicz 2017-05-14 21:40:31 +02:00
  • 6e4f66e0f4 [srs] Support various calc. types in projections k*, l*. Adam Wulkiewicz 2017-05-14 17:57:21 +02:00
  • c2141ad367 [srs] Support arbitrary calc. type in projections i*, m*, t*, w*. Adam Wulkiewicz 2017-05-14 16:41:31 +02:00
  • 81977f07e6 [overlay] handle ii turn colocated with ux in the same way as with uu Barend Gehrels 2017-05-13 18:15:00 +02:00
  • 9705fce852 [test] adapt testcase #case_recursive_boxes_14_invalid Barend Gehrels 2017-05-13 17:55:18 +02:00
  • 6ddcf4269b [overlay] discard uu selfturns for unions, and ii selfturns for differences Barend Gehrels 2017-05-13 17:54:24 +02:00
  • 1b20673a1d [intersection] fix cases with self-turns for intersections Barend Gehrels 2017-05-13 14:51:06 +02:00
  • 086f26650e [srs] Support arbitrary calc. type in projections starting at letters a-h. Adam Wulkiewicz 2017-05-12 18:27:39 +02:00
  • dcb3e6096f [srs] Add math constants (function templates) used in projections to common file projects.hpp Adam Wulkiewicz 2017-05-12 18:26:13 +02:00
  • ba0b7f52d0 [equals] Fix word in comment. Adam Wulkiewicz 2017-05-12 01:04:07 +02:00
  • 7ac3094416 [srs] Support arbitrary calc. type in all projections/impl functions. Adam Wulkiewicz 2017-05-11 23:13:11 +02:00
  • 10b3cf81ca [test][srs] Update static projections test WRT recent changes (templated parameters). Adam Wulkiewicz 2017-05-11 18:15:13 +02:00
  • 12e07074bd [srs] Support any calculation type in projection parameters and several other internals. Adam Wulkiewicz 2017-05-11 18:14:38 +02:00
  • bc63ad29af [disjoint] fix review comments Vissarion Fysikopoulos 2017-05-11 11:42:22 +03:00
  • 1dad53a4b6 [srs] Fix implicit int to bool warning in aeqd projection. Adam Wulkiewicz 2017-05-10 21:03:20 +02:00
  • 528270a68f [srs] Finish boostifying recently added code (add inline keywords, change macros to functions, etc.). Adam Wulkiewicz 2017-05-10 21:02:50 +02:00
  • 358e22d4f6 [srs] Add support for Proj4 vunits/vto_meter (vertical scaling) and lon_wrap. Adam Wulkiewicz 2017-05-10 19:29:24 +02:00
  • e2292d4881 Merge branch 'develop' into feature/intvalid Barend Gehrels 2017-05-10 19:20:08 +02:00
  • bef6c5bb96 Merge branch 'develop' into feature/relops_multi_point Adam Wulkiewicz 2017-05-10 15:30:27 +02:00
  • 74025f9c2d Merge branch 'feature/discardii' into develop Barend Gehrels 2017-05-10 15:05:55 +02:00
  • 2114c3f7b6 [traverse] remove unintended committed code Barend Gehrels 2017-05-10 15:04:46 +02:00
  • a940fac08c Merge branch 'feature/discardii' into develop Barend Gehrels 2017-05-10 15:03:13 +02:00
  • 4b524fc7ac [union] set visited in clusters, like done in intersection. But now use rank instead of next ip, which was a TODO item. This causes one unittest case to fail, which has another reason, its turn in a cluster is not detected because of finalization information. That is now solved in a different way. Barend Gehrels 2017-05-10 14:06:45 +02:00
  • 81578d48e2 [test] add two testcases necessary for new approach discarding ii Barend Gehrels 2017-05-10 09:51:33 +02:00
  • e1473b41a8 [union] discard all ii turns for union, like uu turns are discarded for intersection. This is important for validity. Barend Gehrels 2017-05-10 09:49:30 +02:00
  • f4e7f95ea7 [test][srs] Add transformation_interface test. Adam Wulkiewicz 2017-05-10 04:24:43 +02:00