Barend Gehrels
da16ae8e79
[simplify] revise solution to get opposite instead of closing area
...
(which fixes some issues) and do more tries (to get more output)
2018-02-18 16:54:30 +01:00
Adam Wulkiewicz
a22376506d
[doc] Add 1.67 release notes.
2018-02-18 04:16:56 +01:00
Barend Gehrels
48e6c33ffc
[test] add testcase for ticket 13444 which goes wrong with rescaling
2018-02-17 18:51:06 +01:00
Barend Gehrels
3e53d4d456
[simplify] during review, change implementation using rotate instead of clise
2018-02-17 13:50:07 +01:00
Adam Wulkiewicz
dafd4dd14d
Merge branch 'bg-prepare'
2018-02-15 01:00:58 +01:00
Adam Wulkiewicz
63376f5bb6
Merge commit '224797ce6c39f8289ee3c1fa18ea7259594340bc' into bg-prepare
2018-02-14 23:39:01 +01:00
Barend Gehrels
c16ad7ddfa
[test] fix expectations changed by earlier commit (fraction 1/1000 -> 1/2).
...
Note that the starting point of the polygon can change shape of simplified
version, and therefore area
2018-02-14 17:08:20 +01:00
Barend Gehrels
8d28489661
[test] test removing duplicate point (if there are 2) and
...
complete removal of empty interior ring
2018-02-14 17:07:13 +01:00
Barend Gehrels
0ac8b51b41
[test] test simplifying away closing point / whole polygon
2018-02-14 17:06:25 +01:00
Barend Gehrels
00389227b2
[simplify] rename iterators (because iterator for out is gone)
2018-02-14 17:05:29 +01:00
Barend Gehrels
7bf4d35616
[simplify] Also remove duplicate point in inserter
2018-02-14 17:05:07 +01:00
Barend Gehrels
b795561e84
[test] also test for omitting polygons/interior rings in output
2018-02-14 15:07:43 +01:00
Barend Gehrels
a5a43b155c
[buffer] Remove part now responsibility of simplify
2018-02-14 15:02:22 +01:00
Barend Gehrels
3335bf970c
[test] update test expectations
2018-02-14 15:01:33 +01:00
Barend Gehrels
2d0ba126d9
[simplify] now some bugs were solved we can relax the fraction and
...
omit starting point earlier
2018-02-14 15:01:05 +01:00
Barend Gehrels
8586ebf6b6
[simplify] Remove duplicate points for lines having 2 points
2018-02-14 15:00:23 +01:00
Barend Gehrels
e0c8651af8
[simplify] do not create empty polygons or interior rings when they are
...
simplified away
2018-02-14 15:00:07 +01:00
Barend Gehrels
51077f7003
[simplify] simplifying small polygons (e.g. triangles), get rid of the minimum
...
to get consistent behaviour in omitting output (otherwise triangles stay,
while larger structures can be simplified away)
2018-02-14 14:52:48 +01:00
Barend Gehrels
5bf3d27701
[test] add case for simplify which previously failed within countries test
...
to the unit test. It checks only for output area.
2018-02-14 12:22:23 +01:00
Barend Gehrels
1ce9583b17
[simplify] fix new behaviour, if sliced it should be closed explicitly
...
(also to calculate correct areas). Area check with sign instead of boolean.
2018-02-14 11:55:57 +01:00
Barend Gehrels
85b6675954
Merge branch 'develop' into feature/simplify
2018-02-14 09:50:52 +01:00
Adam Wulkiewicz
26ada1dc6e
[test][srs] Fix missing field initializer warning (clang-3.0 -Wall -Wextra).
2018-02-06 15:12:34 +01:00
Adam Wulkiewicz
696e03532f
[strategy] Fix QVM matrix access in matrix_transformer.
2018-02-05 23:45:14 +01:00
Adam Wulkiewicz
f874467abd
[doc][geometries] Remove std::list from bg::model::polygon's example container types.
2018-02-05 22:35:25 +01:00
Adam Wulkiewicz
da38ece6d2
[test][srs] Fix missing field initializer warnings (clang++-5.0 -Wall -Wextra).
2018-02-01 03:41:22 +01:00
Adam Wulkiewicz
16e725533f
Merge branch 'develop' of github.com:boostorg/geometry into develop
2018-02-01 03:08:20 +01:00
Adam Wulkiewicz
cf49b534c2
[strategies] Fix unused parameter warning.
2018-02-01 03:08:05 +01:00
Barend Gehrels
0c3ab1d27c
Merge branch 'feature/remove_rescaling' into develop
2018-01-31 09:59:55 +01:00
Barend Gehrels
41ca8baee7
Merge branch 'develop' into feature/remove_rescaling
2018-01-31 09:56:48 +01:00
Barend Gehrels
53ab7ced45
[simplify] update algorithm for region around closure
2018-01-31 09:55:34 +01:00
Barend Gehrels
1fc11a3319
[test] correct closure if necessary, and add define to be able to test faster
2018-01-31 09:52:47 +01:00
Barend Gehrels
945fc9bb94
[test] add unit test for simplification of countries
2018-01-31 09:51:20 +01:00
Adam Wulkiewicz
5fabea8e2c
[test][srs] Add tests for new generic is_param metafunctions.
2018-01-29 22:18:40 +01:00
Adam Wulkiewicz
1f23119690
[srs] Implement generic is_[param] differently.
...
The intention is to have generic metafunctions for finding parameters that
works with all compilers. Unlike previous implementation which doesn't
work with mingw-gcc-4.1.
Replace one-per-each-parameter is_[param] metafunctions with new generic
ones.
2018-01-29 22:14:49 +01:00
Adam Wulkiewicz
0b01086d20
[srs] Fix unused parameter warnings.
2018-01-29 02:43:19 +01:00
Adam Wulkiewicz
b3d3acc83d
[test][srs] Fix unused variable and parameter warnings.
2018-01-29 01:57:11 +01:00
Adam Wulkiewicz
0ce325e422
[srs] Fix extra ';' warnings.
2018-01-29 01:55:17 +01:00
Adam Wulkiewicz
f8140b1ec0
[srs] Fix fallthrough warnings with BOOST_FALLTHROUGH;
2018-01-28 13:57:23 +01:00
Adam Wulkiewicz
d442090ff7
Merge branch 'develop' of github.com:boostorg/geometry into develop
2018-01-28 03:33:42 +01:00
Adam Wulkiewicz
350f4990b3
[test][srs] Fix unused parameter warning.
2018-01-28 03:30:44 +01:00
Adam Wulkiewicz
856e8a4f11
[srs] Fix unused parameter warnings in projections.
2018-01-28 03:28:16 +01:00
Adam Wulkiewicz
9a0609114a
Merge pull request #456 from norbertwenzel/std-array-adaptor-docs
...
Add C++11 std::array point adaptor docs
2018-01-28 02:23:46 +01:00
Adam Wulkiewicz
9373a5f271
[test][srs] Add par4 metafunctions compilation test.
2018-01-28 02:22:06 +01:00
Adam Wulkiewicz
64b0472c06
[srs] Implement is_[param] metafunctions differently.
...
Implement one metafunction for each parameter.
Previous implementation with template template parameters and member
struct partial specializations is not compiled properly with
mingw-gcc-4.1.2.
2018-01-28 02:17:18 +01:00
Barend Gehrels
327f654623
[simplify] avoid to aggressive simplification at closing area
2018-01-27 16:14:27 +01:00
Barend Gehrels
f485fb7ebb
[simplify] do not change closing area for buffer
2018-01-27 16:14:07 +01:00
Barend Gehrels
e533f624b0
[simplify] split class into two parts
2018-01-27 14:51:04 +01:00
Barend Gehrels
194f182acc
[simplify] process closing area at end backwards, which results
...
in simpler and more efficient code
2018-01-27 14:38:17 +01:00
Norbert Wenzel
d4bc950146
[doc] Add C++11 std::array point adaptor docs
...
Copied the documentation entry and example from Boost.Array. Referred
to std::array as "C++11 array container".
Link to new page from
* reference
* quickref
* point concept
2018-01-27 10:52:17 +01:00
Barend Gehrels
5534818e0f
[simplify] simplify around closing point of ring/polygons
...
Including unit test.
2018-01-26 17:46:14 +01:00