Adam Wulkiewicz
163c3d83ef
[test][index][extensions] Disable the deprecated std::auto_ptr support in SmartPtr and Core globally in Jamfiles.
2015-06-09 14:53:36 +02:00
barendgehrels
ecf6343def
[projections][test] use names
2015-06-03 14:41:15 +02:00
barendgehrels
c3388d7398
[projections] add healpix
2015-05-31 13:26:25 +02:00
barendgehrels
7ba86400b5
[projections] avoid possibly unitialized value warning
2015-05-27 23:27:40 +02:00
barendgehrels
ce8e702cb6
[projections] remove unused type
2015-05-27 23:27:18 +02:00
barendgehrels
8e9a93e361
[projections] fix d2r in epsg testcode
2015-05-27 23:27:01 +02:00
Barend Gehrels
9ca4930e6c
[projections] fix gn_sinu, remove ellipsoid models for all but sinu
...
because they are marked as invalid and indeed do not work correctly
2015-05-05 20:37:25 +02:00
Barend Gehrels
b7eb50c9ec
[projections] add new projection igh from proj 4.9.1
...
including unit test in a new unit test using combined projections
2015-05-02 20:54:22 +02:00
Barend Gehrels
42550568ee
[projections] add etmerc (including unit tests)
2015-04-29 16:58:38 +02:00
Barend Gehrels
4edcc4042e
[projections][test] add unit test for static projections (forward)
...
including different models (spheroid/ellipsoid)
2015-04-29 14:57:27 +02:00
Barend Gehrels
c81255cf5e
[projections] add new projection isa
...
include entry in unit test (tested with proj4.9.1)
2015-04-29 13:35:14 +02:00
Adam Wulkiewicz
07c8b24b89
[extensions][test] Enable the testing of IOs.
2015-04-26 01:05:26 +02:00
Barend Gehrels
0e3ea68f54
[projections] add qsc from proj 4.9.1
2015-04-25 15:40:45 +02:00
Barend Gehrels
5c5ac136a7
[projections][aitoff] go to proj 4.9.1 which adds an invert projection for aitoff
...
includes unit test
2015-04-25 13:19:48 +02:00
Adam Wulkiewicz
904ac9fc6c
[extensions][test] Comment out unused local types.
2015-04-24 13:28:38 +02:00
Adam Wulkiewicz
9bc8baaa3b
[extensions][test] Enable io/wkb testing, replace uses of cout with Test macros.
2015-04-23 17:42:53 +02:00
Adam Wulkiewicz
fbc453bb20
Merge pull request #145 from Norkart/add_wkb
...
Add support for writing geometries to WKB
2015-04-23 17:21:46 +02:00
Mats Taraldsvik
56365cbec8
[extensions][test] Tests for writing wkb
...
Adds tests for writing point, linestring and polygon.
2015-04-23 08:11:28 +02:00
Mats Taraldsvik
2ef1b1a024
[extensions][test] Update and extend tests for reading wkb geometries
...
Added tests for linestrings and polygons. Removed tests for reading into
2d points from other formats (3D, XYM, XYZM) and ignoring superfluous
coordinates, as this is surprising behaviour that will ever only work with
point types.
2015-04-23 08:11:27 +02:00
Barend Gehrels
cb7521056f
[projections] use proj4 4.8, changes in projection Robin
2015-04-22 16:36:08 +02:00
Barend Gehrels
e94cc655f3
[extensions][projections] change usage of fpc of Boost.Test because does not exist
...
in master
2015-04-22 12:06:11 +02:00
Adam Wulkiewicz
b8034d1ab2
[extensions][test] Pass /bigobj flag for msvc and intel compilers on windows for all tests.
2015-04-02 03:21:10 +02:00
Adam Wulkiewicz
5249745ba0
[test] Link Timer only for the projects in test directories.
2015-01-13 18:30:19 +01:00
Adam Wulkiewicz
996c83e62a
[extensions] Update andoyer and vincenty strategies headers locations.
2014-12-30 14:10:09 +01:00
Adam Wulkiewicz
545c58a824
[strategies] Move andoyer and vincenty distance strategies from extensions.
2014-11-24 22:51:58 +01:00
Adam Wulkiewicz
f1eb897615
[extensions][test] Fix reverse azimuth calculation and tests for vincenty strategy and vincenty_inverse.
...
Enable tests for reverse azimuth.
Add more tests.
2014-11-21 01:18:25 +01:00
Adam Wulkiewicz
fb73f131b7
[extensions][test] (vincenty) Test fractional coordinates only for non-integral types.
2014-11-20 18:48:11 +01:00
Adam Wulkiewicz
3249022877
[extensions][test] Use passed spheroid also in the strategy.
2014-11-20 17:31:10 +01:00
Adam Wulkiewicz
e2f2a90054
[extensions] Tweak a formula calculating u^2 in vincenty inverse.
...
Use lesser number of operations, theoretically it should also be more precise.
Modify tests to expect units used in spheroid, not always kilometers.
2014-11-20 17:21:59 +01:00
Adam Wulkiewicz
4a45d0eef6
[extensions] Optimize part of vincenty_inverse and add more tests.
...
Replace trigonometric functions (6 calls) with identity using sqrt (2
calls).
One new test is failing. The tests for azimuth21 are still disabled.
2014-11-20 16:26:24 +01:00
Adam Wulkiewicz
96153340a5
[extensions] Add tests for vincenty inverse formula azimuths calculation (only 1->2 enabled for now).
2014-11-20 04:37:45 +01:00
Adam Wulkiewicz
b18ba98934
[extensions] Rewrite vincenty formula algorithm to allow calculation of azimuths.
...
Enclose the formula in vincenty_inverse class, calculate the common part in the ctor, allow calculating of distance and azimuths using member functions.
Use this new implementation in vincenty distance strategy.
2014-11-20 01:42:07 +01:00
Adam Wulkiewicz
202a9939f1
[core] Move spheroid and sphere from cs::model to srs namespace.
...
Change reference_sphere_tag and reference_spheroid_tag to srs_sphere_tag
and srs_spheroid_tag respectively.
Adapt algorithms, strategies and tests to the new namespace and tags.
2014-11-19 16:21:51 +01:00
Adam Wulkiewicz
2b1d7e3767
[extensions] Use Spheroid in andoyer and vincenty strategies.
...
Replace RadiusType template parameter of those strategies with Spheroid.
Replace member function radius() with model() and typedef radius_type with
model_type.
Use get_radius(), calculate flattening "manually".
Tweek calculations (conversion warnings, common multiplier).
Remove detail::ellipsoid<>.
2014-11-17 02:27:47 +01:00
Adam Wulkiewicz
694aaa9d31
[core] Add sphere and spheroid reference models.
...
Add new tags for reference sphere/spheroid concepts.
Add cs::model::sphere<> and cs::model::spheroid<>.
Add get_radius(), set_radius() and radius_type<> functions/metafunctions.
Add tests.
Refactor [extensions] nsphere to use the official functions.
2014-11-16 18:26:48 +01:00
Barend Gehrels
347eaa580c
[extensions][dissolve] use rescaling for dissolve, see ticket 10713
2014-11-05 13:59:08 +01:00
Adam Wulkiewicz
e8e93ace1d
[test][extensions][proj] Fix unused typedef warning
2014-07-25 15:33:10 +02:00
Adam Wulkiewicz
35b2f91ee4
[extensions][offset] Update #includes to include the moved buffer code
2014-06-14 17:34:10 +02:00
Barend Gehrels
31af14453a
[buffer] Move from extensions to algorithms/detail
2014-06-13 20:26:33 +02:00
Adam Wulkiewicz
327819b687
[extensions][nsphere][test] Remove unused typedefs. Rename tests.
2014-06-13 18:06:07 +02:00
Adam Wulkiewicz
34fc6030ef
[extensions][test][projections] Fix compilation error in projections test.
2014-06-13 17:51:56 +02:00
Barend Gehrels
9e05551e80
[buffer][unit test] exclude currently failing cure, make test more precise
2014-06-12 23:14:09 +02:00
Barend Gehrels
5085c749b1
[has_self_intersections] bugfix (did not return true when exception found) and
...
added optional parameter for non-throwing behaviour.
Use this from test_buffer instead
2014-06-12 23:00:57 +02:00
Barend Gehrels
6d632182f6
[buffer] Fix multi_point test w.r.t. growth test
2014-06-11 10:03:19 +02:00
Barend Gehrels
8f0b8f12fe
[buffer] move Aimes' testcases to separate unit test
2014-06-09 20:02:48 +02:00
Barend Gehrels
a0c78403e2
[buffer] Enable negative buffer for polygons (deflate)
...
Update testcases for linestring (including Aimes-list now working)
Fix test for distance (right.distance was only done for SVG)
2014-06-09 18:37:01 +02:00
Barend Gehrels
447fd7edd2
[buffer] get occupation vectors by rescaled offsetted points
...
This fixes the last case rt_p20
Check if the occupation vectors are short (length 1). This indicates a rounding issue.
If so, map again but use neighbouring cells.
Alas we have to do this, but still better than the former FP implementation.
Also, we map only points on offsetted borders now, and return if the map is empty,
to improve performance.
2014-06-09 15:07:47 +02:00
Barend Gehrels
432d62809d
[buffer] remove old left-turn approach
2014-06-09 11:15:13 +02:00
Barend Gehrels
79cbf6f18c
[buffer] Occupation map now makes use of robust points
...
(this adds one failing testcase, to be investigated,
but further simplifies/enhances all code)
2014-06-08 12:46:41 +02:00
Barend Gehrels
8a417e6fa9
[buffer] Classify turn-points using rescaled rings
...
This makes side_on_convex_range and intersection_side redundant
It fixes all but one (p20) remaining cases for polygons
2014-06-07 12:38:02 +02:00