Commit Graph

4519 Commits

Author SHA1 Message Date
Adam Wulkiewicz
ffa8c32856 [srs] Add missing include and fix unused variable warnings. 2018-03-15 18:39:46 +01:00
Adam Wulkiewicz
4c2753701e [srs] Replace en table with struct and return it from pj_enfn() instead of dummy/true bool value. 2018-03-15 17:48:52 +01:00
Adam Wulkiewicz
8794ffb121 [srs] Update v* and w* projections (proj4 5.0.0). 2018-03-15 16:57:05 +01:00
Adam Wulkiewicz
e39e242fe5 [srs] Update t* and u* projections (proj4 5.0.0). 2018-03-15 13:46:40 +01:00
Adam Wulkiewicz
409729c299 [srs] Update r* and s* projections (proj4 5.0.0). 2018-03-14 18:54:29 +01:00
Adam Wulkiewicz
40448ee99b [srs] Update p* and q* projections (proj4 5.0.0). 2018-03-14 17:04:03 +01:00
Adam Wulkiewicz
c1406db0f3 [srs] Update n* and o* projections (proj4 5.0.0). 2018-03-14 16:07:57 +01:00
Adam Wulkiewicz
9459b39bee [srs] Update m* projections (proj4 5.0.0). 2018-03-14 01:23:32 +01:00
Adam Wulkiewicz
d770d18d6c [srs] Update l* projections (proj4 5.0.0). 2018-03-14 00:25:05 +01:00
Adam Wulkiewicz
f492512df4 [srs] Update i* and k* projections (proj4 5.0.0). 2018-03-13 02:44:39 +01:00
Adam Wulkiewicz
f4f1874f19 [srs] Update h* projections (proj4 5.0.0), add pj_calc_ellipsoid_params() function and comment in geos projection. 2018-03-12 23:13:15 +01:00
Adam Wulkiewicz
1f4a271d74 [srs] Update f* and g* projections (proj4 5.0.0). 2018-03-12 03:17:05 +01:00
Adam Wulkiewicz
e71bb85217 [srs] Update eck1, eck2, eck3, eck4, eck5, eqc, eqdc, etmerc (proj4 5.0.0). 2018-03-10 00:29:06 +01:00
Adam Wulkiewicz
57bd186feb [srs] Update cc, collg and denoy (proj4 5.0.0). 2018-03-09 19:21:55 +01:00
Adam Wulkiewicz
fc73443860 [srs] Update bacon, bipc, boggs, bonne (proj4 5.0.0). 2018-03-09 18:55:31 +01:00
Adam Wulkiewicz
4400796fc3 [srs] Update aea, aeqd, airy, aitoff and august (proj4 5.0.0). 2018-03-09 18:20:08 +01:00
Adam Wulkiewicz
04af0a1796 [srs] Fix error in tcea projection (not removed template parameter). 2018-03-09 18:19:14 +01:00
Adam Wulkiewicz
fe2e9d2877 [srs] Add new projection error/exception codes. 2018-03-09 18:17:33 +01:00
Adam Wulkiewicz
7f3562c059 [srs] Update some of the projections (to proj4 5.0.0). 2018-03-09 02:49:39 +01:00
Adam Wulkiewicz
8e3257325b [srs] Fix igh projection (wrong variant of underlying sinu projection).
- Use spherical sinu projection instead of elliptical/spheroidal.
2018-03-07 22:54:03 +01:00
Adam Wulkiewicz
8c8d06d3a9 [srs] Fix goode projection (wrong variant of underlying sinu projection).
- Use spherical sinu projection instead of elliptical/spheroidal.
- Rearrange and simplify the code in order to properly
  initialize underlying sinu projection object requireing es = 0.
  It's possible that es = 0 should be set in spherical sinu projection
  for safety.
2018-03-07 19:08:04 +01:00
Adam Wulkiewicz
5ac66e34ca [srs] Update aeqd projection (proj4 4.9.3).
Use geodesic formulas.

Credit: Charles Karney
2018-03-07 11:17:29 +01:00
Adam Wulkiewicz
2a2e0ac41e [doc][srs][strategies] Add/improve docs of geographic strategies and spheroid. 2018-03-02 23:22:36 +01:00
Adam Wulkiewicz
ff427c0366 [srs] Remove potentially not thread-safe strerror() call. 2018-02-24 03:43:33 +01:00
Barend Gehrels
f4bf11b8bb [simplify] use equals_point_point instead of plain equals 2018-02-19 18:41:36 +01:00
Barend Gehrels
d561e2c6cb [simplify] process review remarks, mainly in using geometry::range instead
of the bare traits
2018-02-19 18:38:30 +01:00
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
Barend Gehrels
3e53d4d456 [simplify] during review, change implementation using rotate instead of clise 2018-02-17 13:50:07 +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
a5a43b155c [buffer] Remove part now responsibility of simplify 2018-02-14 15:02:22 +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
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
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
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
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
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
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
856e8a4f11 [srs] Fix unused parameter warnings in projections. 2018-01-28 03:28:16 +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