Commit Graph

4971 Commits

Author SHA1 Message Date
Adam Wulkiewicz
d772e36632 [algorithms] Propagate CS-specific strategies in algorithms. 2019-06-24 12:20:04 +02:00
Adam Wulkiewicz
7bf8c0dca8 [strategies] Add headers to strategies.hpp 2019-06-24 12:19:21 +02:00
Adam Wulkiewicz
cf6d5b4618 [index] Allow passing strategy into the rtree with bgi::parameters<>. 2019-06-24 12:18:45 +02:00
Adam Wulkiewicz
147c5711c0 [strategies] Implement index/rtree (umbrella) strategies. 2019-06-24 12:17:52 +02:00
Adam Wulkiewicz
be9114bb66 [policies] Get CSTag in rescale_policy_type, by default taken from Geometry type. 2019-06-24 12:16:35 +02:00
Adam Wulkiewicz
1d07ed1b3d [policies] Get default compare strategy with 2 different point types. 2019-06-24 12:14:48 +02:00
Adam Wulkiewicz
9777b2a0cb [strategies] Add strategies getters in disjoint and distance strategies (Seg/Box). 2019-06-24 12:09:06 +02:00
Adam Wulkiewicz
4c40b5ffb1 [strategies] Do not use BoxIn type as temporary type (may be non-mutable). 2019-06-24 12:05:07 +02:00
Adam Wulkiewicz
f62214787d [strategies] Add model() getter to geographic side strategy. 2019-06-24 12:04:07 +02:00
Adam Wulkiewicz
a24578181f [strategies] Allow now specifying Point types in point_in_poly_* strategies. 2019-06-24 12:03:23 +02:00
Adam Wulkiewicz
ec62cc9afa [strategies] Refactor within/covered_by Box/Box strategies. 2019-06-04 22:43:29 +02:00
Adam Wulkiewicz
2832223ba6 [algorithms][strategies] Propagate CS-specific strategies in algorithms. 2019-06-04 20:04:38 +02:00
Vissarion Fisikopoulos
becbecc0a4 [srs] [projections] Fix call to pj_qsfn in cea 2019-05-21 14:24:10 +03:00
Barend Gehrels
229b42aee8 [TURNS] Disable start-turns, and take the closer point to measure distance,
which makes that measurement more precise.
2019-05-15 12:55:38 +02:00
Barend Gehrels
bde086d944 [traverse] remove condition for self-turn 2019-05-01 22:08:56 +02:00
Barend Gehrels
9d5b160584 Merge pull request #582 from barendgehrels/feature/add_start_turn
Feature/add start turn
2019-05-01 22:08:02 +02:00
Barend Gehrels
6b4ef246c3 [overlay] apply review remarks 2019-05-01 22:00:47 +02:00
Barend Gehrels
59a52077c7 [overlay] fix and review remarks 2019-04-26 17:16:12 +02:00
Barend Gehrels
ce4307bdfb [get_turn_info] Review remark, get cs tag from umbrella strategy 2019-04-17 13:54:44 +02:00
Barend Gehrels
68f87ebfca [traversal] avoid early finish when no points were included 2019-04-03 13:57:44 +02:00
Barend Gehrels
bfe704419f [overlay] add starting turns, and improvements in turn_info w.r.t.
collinearity
2019-04-03 13:57:17 +02:00
Adam Wulkiewicz
960ec9ed5d [index] Implement metafunc convertible_type and use it in count().
This is a workaround for gcc-4.6 compilation error.
2019-04-01 22:24:59 +02:00
Adam Wulkiewicz
9f166fc9ef [index][rtree] Remove extra ';' 2019-03-31 17:26:21 +02:00
Adam Wulkiewicz
6dfdf2bf2c [index][rtree] Add workaround for GCC treating member variable less comparison as member template. 2019-03-31 17:25:19 +02:00
Adam Wulkiewicz
b6c6ede9f5 [index][rtree] Fix rstar's choose_next_node (wrong children analyzed and more).
- Use correct indexes of first n children with smallest content. This
  fixes the case of choosing by nearly minimum overlap cost.
- Replace tuple with struct with meaningful members to increase
  readability.
- Create container for contents with ctor instead of resize(). This is
  also a workaround for the msvc-10..12 container::vector issue
  (https://github.com/boostorg/container/issues/112).
2019-03-29 05:11:01 +01:00
Adam Wulkiewicz
22f1f0e37c [disjoint] Remove unused typedef. 2019-03-28 14:07:52 +01:00
Adam Wulkiewicz
e367b63c21 Merge branch 'develop' into fix/disjoint_box_poly 2019-03-27 14:28:28 +01:00
Vissarion Fisikopoulos
8f69777215 Fix disjoint(segment, box) in spherical_equatorial and geographic CS (#580)
* [algorithms] Remove azimuth optimization from spherical/geo disjoint segment-box
2019-03-27 10:01:14 +02:00
Adam Wulkiewicz
9d60791702 [disjoint] Implement disjoint Box/Poly using Box/Seg strategy and fix disjoint Seg/Box. 2019-03-26 17:43:06 +01:00
Adam Wulkiewicz
7c0449711e [strategy] Add disjoint Seg/Box strategy getter to intersection strategies. 2019-03-26 17:41:10 +01:00
Vissarion Fysikopoulos
ff36bf3ba9 [formula] Remove unused variable from karney_direct 2019-03-20 14:45:33 +02:00
Vissarion Fisikopoulos
946426751c Merge pull request #562 from kenba/develop
Update series_expansion.hpp
2019-03-20 11:14:03 +02:00
Nikita Kniazev
c24f8c4bfc interpolate_point_spherical: inline var initialization
Fixes msvc < 12 failures.
2019-03-20 01:06:51 +03:00
Vissarion Fysikopoulos
220fe13890 [strategy][test] Robust acos call and tests 2019-03-15 14:43:45 +02:00
Adam Wulkiewicz
392f73e796 Merge pull request #570 from vissarion/fix/vertex_longitude
Fix for distance between geometries
2019-03-14 19:41:27 +01:00
Vissarion Fysikopoulos
9a79ed3f7a [strategy] Swap coordinates before calling vertex longitude formula from distance segment box 2019-03-13 15:43:12 +02:00
Adam Wulkiewicz
c3a18fbfa4 [formulas] Handle azimuth sign 0 in differential_quantities calculation. 2019-03-12 19:32:58 +01:00
Adam Wulkiewicz
37431351de [formulas] Fix reduced length sign on equator for negative distance. 2019-03-12 01:42:01 +01:00
Adam Wulkiewicz
cbc648e9aa [formulas] Allow negative distance in direct formulas. 2019-03-12 01:35:06 +01:00
Barend Gehrels
6344e3c72e Merge pull request #563 from barendgehrels/enhance/more-remove-rescale-preparations
Enhance/more remove rescale preparations
2019-03-06 09:47:34 +01:00
Barend Gehrels
24455aeab8 changes in comments 2019-03-05 20:31:20 +01:00
Adam Wulkiewicz
2c44cfcdb6 [line_interpolate] Fix compilation error, change names. 2019-03-04 18:24:33 +01:00
Barend Gehrels
7daee6f273 [buffer] Extract buffer_box to separate heaaderfile 2019-03-02 13:42:49 +01:00
Barend Gehrels
07dd079033 [CONFIG] Use a positive define (USE_RESCALING) instead of an unclear negative
one (NO_ROBUSTNESS). Precedes removing of the rescaling.
2019-03-02 13:39:50 +01:00
Ken Barker
bc5574408c Update series_expansion.hpp
Change evaluate_coeffs_C3 for issue #560
2019-03-02 08:37:13 +00:00
Adam Wulkiewicz
7d6cf1165b [extensions][nsphere] Fix compilation errors. 2019-03-01 16:22:21 +01:00
Vissarion Fisikopoulos
1c0f3e398a Merge branch 'develop' into feature/line_interpolate_point_2 2019-02-27 15:13:37 +02:00
Vissarion Fysikopoulos
eea4d04abe [algorithm] Fix indentation in line_interpolate 2019-02-27 15:12:13 +02:00
Vissarion Fysikopoulos
03036b4b62 [algorithm] [strategy] [test] [doc] Rename line_interpolate_point to line_interpolate 2019-02-19 16:32:22 +02:00
Vissarion Fysikopoulos
c6a9739f48 [strategy] Change scope in some variable in line_interpolate spherical strategy 2019-02-19 09:21:55 +02:00