Commit Graph

5115 Commits

Author SHA1 Message Date
Adam Wulkiewicz
386b0fca11 [strategies] Do not include karney strategy and parameters by default.
The reasons are:
- karney formulas expect degrees so they won't work with strategies
  right now
- karney_inverse requires C++11
2019-11-05 13:47:47 +01:00
Vissarion Fisikopoulos
8f1e5068ae Merge pull request #500 from BoostGSoC18/feature/karney_inverse
Introduce formula for Karney's inverse geodesic method
2019-10-31 17:00:31 +02:00
Barend Gehrels
1ae1d3578a Merge pull request #632 from barendgehrels/fix/buffer_onesided
Fix/buffer onesided
2019-10-30 22:37:01 +01:00
Barend Gehrels
9231f87bfb [various] minor typos and removed unused include 2019-10-30 14:45:07 +01:00
Barend Gehrels
af316e7a39 [buffer] fix inside-piece detection for one-sided buffers 2019-10-30 14:44:23 +01:00
Barend Gehrels
8aa31d68cc [buffer] fix round end cap for asymmetric buffers 2019-10-30 12:34:40 +01:00
Barend Gehrels
b33cb27fe0 [buffer] minor changes 2019-10-30 11:22:13 +01:00
Adeel Ahmad
607f5c3be0 [formulas][util] Use math::round_angle() function for lat1 and lat2 2019-10-26 20:21:46 +02:00
Adam Wulkiewicz
43c32764c9 Merge pull request #621 from awulkiew/fix/turns_sorting
While sorting turns in relops and setops compare also point coordinates.
2019-10-25 14:16:53 +02:00
Adam Wulkiewicz
84bf7e2f3a Merge pull request #616 from awulkiew/feature/srs_and_shapefile
Improvements of srs transformations and shapefile loading.
2019-10-25 14:16:02 +02:00
Barend Gehrels
eedd3c1f12 Merge pull request #622 from barendgehrels/fix/buffer-pass-strategies
Fix/buffer pass strategies
2019-10-24 20:17:13 +02:00
Adam Wulkiewicz
f651218080 Merge pull request #584 from tinko92/feature/arbitrary_dimensions_matrix_transformers
Matrix transformer support for arbitrary dimensions
2019-10-24 14:13:15 +02:00
Barend Gehrels
809375216e [buffer] pass strategies properly 2019-10-23 21:53:27 +02:00
Adam Wulkiewicz
ba5facecbf Merge pull request #627 from awulkiew/feature/missing_combinations
Implement relops for arguments always resulting in false.
2019-10-19 18:02:21 +02:00
Adam Wulkiewicz
bfd04fa46f Merge pull request #628 from vissarion/fix/short_distance_pt_range
Fix distance pt-linestring for short segments
2019-10-19 17:58:18 +02:00
Adam Wulkiewicz
b776803e69 Merge pull request #623 from awulkiew/fix/partition_overflow
[partition] Fix integral overflow while dividing bounding box in half.
2019-10-19 17:57:06 +02:00
Adam Wulkiewicz
198b4d1838 Merge pull request #617 from BoostGSoC19/feature/robust_predicates
Feature/robust predicates
2019-10-19 17:09:58 +02:00
Tinko Bartels
e1521a2735 Capitalize Robustness parameter, make it std::size_t, simplify documentation. 2019-10-17 23:54:47 +02:00
Vissarion Fysikopoulos
14be89e703 Fix distance pt-linestring for short segments 2019-10-17 22:36:17 +03:00
Mateusz Łoskot
1263eb8718 [for_each] Fix for_each_segment to avoid incrementing iterator over empty range (#625)
Add tests to verify `for_each_segment` does not post-increment end iterator over empty range.
Fixes #624
2019-10-13 17:23:30 +02:00
Tinko Bartels
d185633e73 Merge branch 'develop' of https://github.com/boostorg/geometry into feature/robust_predicates 2019-10-11 00:49:05 +02:00
Tinko Bartels
97f397672e GSoC acknowledgement, unused parameter removal, simplify type selection in side_robust 2019-10-11 00:44:55 +02:00
Adam Wulkiewicz
73dc6dbed5 [algorithms] Implement relops for arguments always resulting in false. 2019-10-10 18:27:23 +02:00
Adam Wulkiewicz
9fbd9d9d42 [partition] Fix integral overflow while dividing bounding box in half. 2019-10-08 02:47:20 +02:00
Barend Gehrels
f09f2128f1 [sectionalize] use larger box if there is no rescaling 2019-10-02 13:40:28 +02:00
Barend Gehrels
db513e3e45 minor fix 2019-10-02 13:40:06 +02:00
Barend Gehrels
77d01dabea [get_turn_info] Add specific code for FP cases 2019-10-02 13:39:33 +02:00
Adam Wulkiewicz
69105370b3 [relate][overlay] Also compare points (not only fractions) in relate::turns::less predicate while sorting turns. 2019-09-22 01:52:12 +02:00
Adam Wulkiewicz
06a5435917 [formulas] Fix division by 0 in sjoberg intersection. 2019-09-20 00:56:52 +02:00
Adam Wulkiewicz
b5d1ac1294 [shapefile] Remove obsolete comment. 2019-09-19 17:08:59 +02:00
Adam Wulkiewicz
a2c1c58097 [srs] Rearrange parameters to decrease size of struct. 2019-09-17 19:55:40 +02:00
Adam Wulkiewicz
5214409c4c [io] Fix type conversion warnings. 2019-09-17 19:02:04 +02:00
Adam Wulkiewicz
998eea02a4 [srs] Fix type conversion warnings. 2019-09-17 19:01:37 +02:00
Adam Wulkiewicz
56b9d4c741 [srs] Rearrange proj params, remove unused ones, change type of flags from int to bool. 2019-09-17 19:00:53 +02:00
Adam Wulkiewicz
338e7c3247 [srs] Decrease memory used by gn_sinu and igh projections by modifying parameters. 2019-09-16 23:14:55 +02:00
Adam Wulkiewicz
1a41b64d7c [srs] Move prj params outside. Replace CRTP with wrappers. This allows to remove some virtual functions from dynamic projection. 2019-09-16 18:33:41 +02:00
Barend Gehrels
8f0551d08d Merge pull request #615 from barendgehrels/feature/pass-subrange-to-intersection
Stop passing policies to intersection, and pass subrange
2019-09-05 19:01:49 +02:00
Adam Wulkiewicz
f609a959c4 [srs] Remove unneeded reference from static proj base. Use property of CRTP instead to get the address of proj. 2019-09-05 17:17:33 +02:00
Adam Wulkiewicz
4aecfdf3a9 [srs] Remove unneeded factory_key type. 2019-09-01 18:41:20 +02:00
Adam Wulkiewicz
e3fc7cae15 [strategies] Fix spherical point_in_point for points having different units. 2019-09-01 00:27:17 +02:00
Tinko Bartels
0c0f365116 Document robust predicates. 2019-08-23 14:24:56 +02:00
Tinko Bartels
a39bf3ff13 Add robust cartesian side and in_circle predicates. 2019-08-23 14:24:56 +02:00
Adam Wulkiewicz
a88744b59c [srs] Conditionally use C++17 untimed std::shared_mutex in shared_grids_std. 2019-08-21 23:28:18 +02:00
Adam Wulkiewicz
e351407d00 [shapefile] Fix variable name. 2019-08-21 20:38:26 +02:00
Adam Wulkiewicz
662ae5c5a1 [srs] Add shared_grids_std using std::shared_mutex and simplify defining new grids implementations. 2019-08-21 19:18:26 +02:00
Adam Wulkiewicz
e3ac1dba9b [shapefile] Add separate loading of doubles (assume the same endianness as int64_t) and add runtime endianness check. 2019-08-21 18:54:42 +02:00
Barend Gehrels
b04e7fe3d6 [intersection] fix policy type and geographic intersection strategy,
which need to pass original segments and ordered points
2019-08-21 17:26:24 +02:00
Barend Gehrels
28eb87b402 [intersection] remove segment_ratio_type in most of the cases,
and where they are still used, its definition is changed making use
of the tags now available, and moving it to detail. It is to be
deprecated
2019-08-21 17:15:12 +02:00
Barend Gehrels
06836bc3e1 Pass subranges to intersections, to avoid passing recalculated points which
are not used by geographic/spherical and new approach of cartesian, nor
by linear/linear and linear/areal in current cartesian
2019-08-21 10:01:03 +02:00
Adam Wulkiewicz
5679ccd08f Merge pull request #554 from awulkiew/feature/read_shapefile
[extensions][io] Add read_shapefile() implementation.
2019-08-14 16:32:25 +02:00