Commit Graph

8448 Commits

Author SHA1 Message Date
sudo-panda
d9c8ff3cc2 [doc][io][wkt] fix bugs in index.html and example file
- Restored index.html back
- Declared variables first and then used in example for from_wkt
2020-12-03 17:07:03 +05:30
sudo-panda
8c48b583a8 [doc][io][wkt] add doc for from_wkt and to_wkt 2020-12-03 17:07:03 +05:30
sudo-panda
b5cb2a4d68 [test][io][wkt] Add test for from_wkt 2020-12-03 17:07:03 +05:30
sudo-panda
40071e46c0 [io][wkt] fix bug 2020-12-03 17:07:03 +05:30
sudo-panda
6c10e7a647 [doc][io][wkt] add docs for to_wkt and from_wkt 2020-12-03 17:07:03 +05:30
sudo-panda
aa5b1b55c3 [io][wkt] add from_wkt function 2020-12-03 17:07:03 +05:30
sudo-panda
19855ae912 [io][wkt] implement changes requested in review 2020-12-03 17:07:02 +05:30
sudo-panda
abe1339574 [test][io][wkt] modify tests for wkt to also test to_wkt
In reference to issue #654
2020-12-03 17:07:02 +05:30
sudo-panda
410b0c394d [io][wkt] add to_wkt in write.hpp
Feature based on issue #654
2020-12-03 17:07:02 +05:30
Adam Wulkiewicz
bb0f00ef57 [doc] Update 1.75 release notes. 2020-12-02 00:42:58 +01:00
Adam Wulkiewicz
d2d3a7954a [concepts] Add vs2015 workaround. 2020-11-30 01:27:00 +01:00
Adam Wulkiewicz
928603f32e Fix vs2015 workarounds #ifdefs to work with non-vc compilers properly. 2020-11-26 04:12:19 +01:00
Adam Wulkiewicz
4789f03ee1 Merge pull request #747 from awulkiew/feature/traits_make
Add optional traits::make and use it in cross_product() and make().
2020-11-25 21:31:17 +01:00
Adam Wulkiewicz
95a9b43712 Merge branch 'develop' into feature/traits_make 2020-11-25 15:23:55 +01:00
Adam Wulkiewicz
20ce3d5ce1 Merge pull request #778 from awulkiew/fix/clang_workarounds
Fixes/workarounds for clang 3.5-3.9
2020-11-25 14:38:06 +01:00
Barend Gehrels
bc77b4889b Merge pull request #773 from barendgehrels/fix/fraction-by-arrival
Fix turns where segments arrive at an intersection point, or leave
2020-11-25 10:24:25 +01:00
Barend Gehrels
42bd7cfe95 [turns] fix precision when turns are arriving or leaving.
Then their fractions should be 1 or 0 (and not nearly so)
2020-11-25 10:21:16 +01:00
Adam Wulkiewicz
016691b15f Merge branch 'develop' into feature/traits_make 2020-11-25 00:06:55 +01:00
Adam Wulkiewicz
c1f4912445 [geometries] Enable model::point's ctors only if Dimension match.
This allows to check if a constructor is implemented with
std::is_constructible without compilation errors with clang-3.5-3.9.
2020-11-24 23:41:19 +01:00
Adam Wulkiewicz
acbd14330a Do not use parameter pack explicitly in specializations for boost::variant.
Use BOOST_VARIANT_ENUM_PARAMS instead which expands to parameter pack if
C++14 is fully supported.

This is a workaround for compilation errors with clang-3.5. Lists of
template arguments are still processed with variadic templates.
2020-11-24 17:56:11 +01:00
Adam Wulkiewicz
632d1fcb43 Merge pull request #772 from awulkiew/fix/vs2015_workaround
Add constexpr and boost::variant workarounds for vs2015.
2020-11-23 02:50:50 +01:00
CG-SD
35a02b7ee6 [extensions][wkb] Fix risk of undefined behavior when parsing a byte_order byte
* fixed risk of undefined behavior when parsing a byte_order byte

tried to parse a spatialite WKB blob with this code but the byte_order byte was replaced by a '69' token :
 parsing this byte is successful but the value read is not part of the enum, the function returns true but the order parameter is left untouched. 
Calls to that function elsewhere in the code do not initialise the order parameter.
see 869e72fc01/include/boost/geometry/extensions/multi/gis/io/wkb/detail/parser.hpp (L83)

another option would be to return false in that case, but it didn't fit my need

* Update parser.hpp

typo fix
2020-11-21 02:53:39 +01:00
Adam Wulkiewicz
40aff062ce Merge pull request #776 from awulkiew/fix/github_env
[ci] Replace set-env with env. file in GitHub scripts.
2020-11-18 19:45:45 +01:00
Adam Wulkiewicz
4305bc8a73 [ci] Replace set-env with env. file in GitHub scripts. 2020-11-18 17:12:33 +01:00
Vissarion Fisikopoulos
5351d98305 Fix unused parameter warnings (#775) 2020-11-18 15:51:59 +02:00
Adam Wulkiewicz
0b55a946b5 Add constexpr and boost::variant workarounds for vs2015. 2020-11-07 23:22:49 +01:00
Adam Wulkiewicz
f510cf2744 [area] Fix area_result for boost::variant and default_strategy. 2020-11-07 21:41:51 +01:00
Barend Gehrels
ee3509f2f3 Merge pull request #769 from barendgehrels/fix/start-turns
Fix/start turns
2020-11-04 09:44:09 +01:00
Adam Wulkiewicz
4f128c4135 [test] Add comment in equals test. 2020-11-03 04:25:06 +01:00
Barend Gehrels
271c5ad52c [turns, buffer] add cases from robustness test going wrong, some fixed with start turn 2020-10-28 14:50:24 +01:00
Barend Gehrels
3e111a0302 [turns] without rescaling, include start turns in calculation 2020-10-28 14:27:26 +01:00
Adam Wulkiewicz
1243579bf0 Merge pull request #767 from awulkiew/feature/tuple
Modernize tuple-related code.
2020-10-21 16:34:03 +02:00
Adam Wulkiewicz
3402c9101d Replace boost::tuple with std::tuple or custom classes.
Modernize tuple support.
2020-10-21 16:21:06 +02:00
Barend Gehrels
9989780d41 Merge pull request #758 from barendgehrels/test/add_limits
Conform the countset, replace many #ifdefs with expectation limits
2020-10-21 10:21:17 +02:00
Barend Gehrels
5f677775ef [TEST] Conform the countset, replace many #ifdefs with expectation limits and apply it for float, double, long double (in many tests) 2020-10-21 10:18:56 +02:00
Adam Wulkiewicz
4c1a7f8f3d Merge pull request #766 from awulkiew/feature/range
Include only necessary headers of Boost.Range.
2020-10-18 18:14:28 +02:00
Adam Wulkiewicz
e3b190c5b2 Merge pull request #755 from ayaankhan98/develop
[fix] #750: misspelled config macros
2020-10-16 16:26:09 +02:00
Adam Wulkiewicz
54f141779b Include only necessary headers of Boost.Range. 2020-10-16 01:23:06 +02:00
Adam Wulkiewicz
7b8b3f694a Merge pull request #759 from awulkiew/feature/static_assert
Replace MPL_ASSERT with std static_assert.
2020-10-16 01:03:34 +02:00
Adam Wulkiewicz
aeb81ebfd6 Replace MPL_ASSERT with std static_assert.
Also include only necessary headers from Boost.Range.
2020-10-16 00:31:22 +02:00
Barend Gehrels
6e5d9a136f Merge pull request #762 from barendgehrels/test/robustness
[test] Update robustness tests:
2020-10-13 18:26:11 +02:00
Barend Gehrels
64c09d07f0 Merge pull request #761 from barendgehrels/remove-ttmath
Remove ttmath
2020-10-13 18:25:34 +02:00
Adam Wulkiewicz
169ccae36d [ci] Get public key for LLVM in github script. 2020-10-12 20:37:10 +02:00
Adam Wulkiewicz
b6a427e65f Merge pull request #751 from lpranam/c2146
resolve c2146 on vs15 with area_result declaration
2020-10-12 20:12:37 +02:00
Pranam Lashkari
055684bc41 resolve c2146 on vs15 with area_result declaration 2020-10-12 19:12:54 +05:30
Barend Gehrels
29d0a0fc5a [test] Update robustness tests: Remove boost.timer, adapt for multi precision, align with each other 2020-10-07 16:50:06 +02:00
Barend Gehrels
84e19aff1c [extensions] remove HAVE_TTMATH and other occurances of ttmath 2020-10-07 14:06:04 +02:00
Barend Gehrels
45d624af9b [cleanup] remove HAVE_TTMATH and other occurances of ttmath 2020-10-07 14:05:28 +02:00
Barend Gehrels
869e72fc01 Merge pull request #757 from barendgehrels/test/remove-unused-numeric-types
Clean up antique usage of numeric types in tests and documentation
2020-10-07 10:09:25 +02:00
Adam Wulkiewicz
8ec873c773 Merge branch 'develop' into feature/traits_make 2020-10-01 19:38:00 +02:00