Commit Graph

8536 Commits

Author SHA1 Message Date
Barend Gehrels
81578d48e2 [test] add two testcases necessary for new approach discarding ii 2017-05-10 09:51:33 +02:00
Barend Gehrels
e1473b41a8 [union] discard all ii turns for union, like uu turns are discarded for intersection.
This is important for validity.
2017-05-10 09:49:30 +02:00
Adam Wulkiewicz
f4e7f95ea7 [test][srs] Add transformation_interface test. 2017-05-10 04:24:43 +02:00
Adam Wulkiewicz
b73cff1a7c [srs] Implement transformation.
- Convert geocent.hpp and pj_transform.hpp from Proj4 to Boost.Geometry.
- Not all features are supported yet (Axes, NAD grids, Height/Z scaling
  missing).
- Add missing Proj4 error codes.
2017-05-10 04:21:12 +02:00
Adam Wulkiewicz
2a657f488a [srs] Divide projection<> into public and detail part allowing to use detail functionality in other parts of the library. 2017-05-10 04:20:38 +02:00
Adam Wulkiewicz
4be7b31d86 [srs] Store error message in proj_exception, convert pj_sterrno from Proj4 to Boost.Geometry. 2017-05-10 04:18:48 +02:00
Vissarion Fysikopoulos
2f27952b2f [test] activating vertex_longitude tests 2017-05-08 15:58:20 +03:00
Barend Gehrels
2ea9884ddd [validity] avoid discarded self-turn in isolated region generation,
and avoid registering uu-self-turns
This fixes the regressions in cases which were handled correctly before,
for intersection
2017-05-08 14:15:14 +02:00
Barend Gehrels
df6321e0de Merge branch 'develop' into feature/intvalid 2017-05-08 11:42:12 +02:00
Barend Gehrels
b75384187d Merge branch 'feature/intvalid' into develop 2017-05-08 11:32:34 +02:00
Barend Gehrels
9395371beb [fix] Fix selecting rings after merge with covered_by, this is because
in this branch all the uu turns are discarded for intersections
2017-05-08 10:01:58 +02:00
Barend Gehrels
92a4326c6a [test] rename cases which clashed in last merge (they were suffixed by m)
103m -> 106
104m -> 107
105m -> 105 (actually was not a clash)
2017-05-06 18:53:30 +02:00
Barend Gehrels
e52e2a8665 Merge branch 'develop' into feature/intvalid
# Conflicts:
#	test/algorithms/overlay/overlay_cases.hpp
#	test/algorithms/set_operations/intersection/intersection.cpp
#	test/algorithms/set_operations/union/union.cpp
2017-05-06 18:26:49 +02:00
Vissarion Fysikopoulos
4f7956d5ae [disjoint] more cleaning code 2017-05-05 15:57:36 +03:00
Vissarion Fysikopoulos
58505745bc [disjoint] remove files not relevant to this PR 2017-05-05 14:24:08 +03:00
Vissarion Fysikopoulos
b7d5f4b849 [disjoint] cleaning code 2017-05-05 14:17:52 +03:00
Adam Wulkiewicz
d8bebf0a6a [test][srs] Move projections tests from extensions to main part of the library (srs). 2017-05-05 03:55:49 +02:00
Adam Wulkiewicz
d133efe071 [srs] Move projections from extensions to main part of the library.
Move files from geometry/extensions/gis/projections to geometry/srs and
geometry/srs/projections.
Move project_transformer to strategies/transform.

Change namespace of bg::projection<> to bg::srs::projection<>.

Move dms_parser from extensions/gis/geographic/strategies to
srs/projections/impl and from strategy::parse namespace to
projections::detail namespace.
2017-05-05 03:46:55 +02:00
Adam Wulkiewicz
9cf8f1ef3e [ci] On CircleCI enable all tests (since passing -j2 is enough to decrease the time for now). 2017-05-04 20:22:40 +02:00
Adam Wulkiewicz
599622c2e4 [ci] On CircleCI run 2 tests at once, pass -j2 into b2. 2017-05-04 18:07:03 +02:00
Adam Wulkiewicz
42c7028227 [ci] On CircleCI test only test/algorithms (to decrease the total time). 2017-05-04 15:56:38 +02:00
Adam Wulkiewicz
355856a0db [relate] Add optimizations for MultiPoint/MultiPoint (sort smaller geometry first, analyse if needed). 2017-05-04 15:46:55 +02:00
Adam Wulkiewicz
3f15be3a68 [test][touches] Add cases for multiPoint/Geometry. 2017-05-04 15:45:45 +02:00
Adam Wulkiewicz
4172ee31e5 [touches] Implement for MultiPoint/Geometry using relate(). 2017-05-04 15:45:25 +02:00
Adam Wulkiewicz
f2d1deef38 Merge branch 'develop' into feature/relops_multi_point 2017-05-04 13:39:21 +02:00
Adam Wulkiewicz
baf867e7ed [test][crosses][relate] Add test cases for MultiPoint/LinearOrAreal combinations. 2017-05-04 13:38:41 +02:00
Adam Wulkiewicz
41b20b69e9 [crosses][relate] Implement for MultiPoint/LinearOrAreal input combinations. 2017-05-04 13:38:03 +02:00
Adam Wulkiewicz
2c3f2989fc [index] Include only the interface of equals and overlaps. 2017-05-04 13:36:05 +02:00
Adam Wulkiewicz
3b0379b089 [equals][overlaps] Divide the code into interface and implementation part. 2017-05-04 13:35:07 +02:00
Adam Wulkiewicz
105182a03b Merge pull request #386 from awulkiew/feature/geographic
Use envelope-seg and disjoint-seg/box strategies in various algorithms.
2017-05-04 13:14:38 +02:00
Vissarion Fysikopoulos
5cdae7c693 [disjoint] [vertex_longitude] Reviewing cases of disjoint, create new tests, fix corner cases 2017-05-02 18:44:26 +03:00
Adam Wulkiewicz
ff8a1a807b [test][relate] Add cases for MultiPoint/SingleLorA. 2017-04-27 18:39:11 +02:00
Adam Wulkiewicz
25d3da4b4b [relate] Add MutliPoint/SingleLorA implementation. 2017-04-27 18:38:44 +02:00
Barend Gehrels
97151eb985 Merge branch 'develop' into feature/intvalid 2017-04-27 10:41:12 +02:00
Adam Wulkiewicz
738c76795c [test][disjoint] Enable tests for MultiPoint/Areal. 2017-04-26 19:11:08 +02:00
Adam Wulkiewicz
68a851b750 [intersects][disjoint] Implement algorithms for MultiPoint/Areal. 2017-04-26 19:10:29 +02:00
Adam Wulkiewicz
6eef0c6208 [within] Add small optimization in MultiPoint/LorA (check boundary only if needed). 2017-04-26 15:02:46 +02:00
Adam Wulkiewicz
4172ffed05 [test][within][covered_by] Add tests for MultiPoint/LorA. 2017-04-26 14:03:00 +02:00
Vissarion Fysikopoulos
fe1c91577f many cases working, still testing 2017-04-26 12:59:03 +03:00
Adam Wulkiewicz
623f3f5fd0 [test][distance][overlay] Add missing includes. 2017-04-26 06:22:47 +02:00
Adam Wulkiewicz
289bbc6df4 [relops] Implement within and covered_by for MPt/LorA. 2017-04-26 06:19:21 +02:00
Adam Wulkiewicz
d219b00cec [strategies] Enable default within/covered_by strategy for MultiPoints. 2017-04-26 05:19:43 +02:00
Adam Wulkiewicz
300b680a49 [index] Include only relops interfaces or implementations for specific geometries (box/box). 2017-04-26 05:16:39 +02:00
Adam Wulkiewicz
51efd26ae9 [relops] Divide algorithms into interface and implementation parts.
covered_by, intersects, touches, within.
2017-04-26 04:48:54 +02:00
Adam Wulkiewicz
2f533848d6 [overlay] In follow, last_covered_by, pass linestring point instead of midpoint. 2017-04-26 04:35:23 +02:00
Adam Wulkiewicz
a1e8fd101e [overlay] Fix unused typedef in assign_parents. 2017-04-26 04:29:16 +02:00
Adam Wulkiewicz
b8e5cd55b6 [within] Fix initialization of const relate::less in multi_point_multi_point. 2017-04-26 04:25:16 +02:00
Adam Wulkiewicz
1a6446ba66 Merge branch 'develop' into feature/geographic 2017-04-25 03:48:06 +02:00
Adam Wulkiewicz
f050319859 [test][relops] Add tests for PointLike/PointLike combinations (covered_by, disjoint, equals, overlaps, within). 2017-04-24 19:47:55 +02:00
Adam Wulkiewicz
031d0c2957 [relops] Add/fix dispatches for missing PointLike/PointLike geometries combinations in covered_by, equals, within. 2017-04-24 19:46:52 +02:00