Jiri Drbalek
b6c451d7e3
grid_vertex_converter: Fix handling of empty polygon
2018-02-13 15:00:25 +00:00
Jiri Drbalek
f10e051e17
Add grid placement for text and shield symbolizer
2018-02-06 15:19:05 +00:00
Jiri Drbalek
99038229f7
Polylabel: cover the case of empty polygon or exterior ring
2018-01-17 13:39:15 +00:00
Jiri Drbalek
a97eace434
Interior: cover the case of empty polygon or exterior ring
2018-01-17 12:58:42 +00:00
Jiri Drbalek
ec53f3d879
Fix crash in case of empty ring
2018-01-17 09:53:45 +00:00
Artem Pavlenko
ff31c6d6eb
SVG parser - add ignore_
member variable to allow skipping of unsupported elements, currently clipPath
( #3818 )
2018-01-09 15:19:52 +00:00
Artem Pavlenko
c24568f033
Merge branch 'polylabel-as-interior' of https://github.com/mapycz/mapnik into mapycz-polylabel-as-interior
2018-01-08 10:21:09 +00:00
Artem Pavlenko
e2d741bdb7
Merge pull request #3809 from IMQS/pr-text-placements-export
...
Export all text_placements_ classes from mapnik.dll
2018-01-05 13:02:58 +00:00
Artem Pavlenko
c29f944726
Merge branch 'fix-group-symbolizer-crash' of https://github.com/lightmare/mapnik into lightmare-fix-group-symbolizer-crash
2018-01-05 12:16:41 +00:00
Artem Pavlenko
92afd0bebf
Use macro to apply __attribute__((init_priority(val)))
where it's supported (gcc+clang) ( #3821 )
2018-01-04 14:29:00 +00:00
Artem Pavlenko
50169e95b2
Enforce global variables initialisation order via __attribute__((init_priority(<priority>)))
( #3821 )
2018-01-04 12:22:04 +00:00
Artem Pavlenko
a67f5abb67
consistent syntax
2018-01-03 17:38:16 +00:00
Jiri Drbalek
f52a0fa4f6
new interior algorithm
2017-12-13 21:48:13 +00:00
Jiri Drbalek
ea7ba2c099
add polylabel placement method
2017-12-13 21:48:13 +00:00
Ben Harper
5507ab817a
Export all text_placements_ classes from mapnik.dll
...
Previously, only text_placements_dummy had a MAPNIK_DECL annotation.
This commit adds that annotation to text_placements_simple and
text_placements_list, so that they are also exposed from the Windows DLL
build.
2017-11-28 11:30:35 +02:00
Artem Pavlenko
3cb74f0871
attempting to fix #3793
2017-11-14 10:10:26 +01:00
Artem Pavlenko
97f520c7cf
cleanup
2017-11-14 10:10:26 +01:00
Jiri Drbalek
fe268b0e71
char_array_buffer should implement also seekpos()
2017-11-13 22:42:37 +00:00
Artem Pavlenko
5db45d9fa3
use semantic actions to fix #3744 ( >= boost_1_65)
2017-11-13 13:15:47 +01:00
Artem Pavlenko
743c14d3ff
add UDL via operator"" _case
2017-11-06 10:31:53 +01:00
Artem Pavlenko
2271e4a5a4
use unsigned int for indexed access
2017-10-31 10:52:09 +01:00
Ben Harper
05849f0da5
Add new angled-point marker placement mode for lines
...
This adds a new mode called 'angled-point' to the marker-placement modes.
The full list of modes is then:
point, angled-point, interior, line, vertex-first, vertex-last
Angled point is identical to point, except that when placing a marker on
a line, the marker's angle is taken from the angle of the line segment.
There is another possible use of the "angled-point" concept for polygons,
and that is for placing labels on stand (aka erf) polygons. By computing
a dominant angle for a mostly rectangular polygon, this can produce quite
good results. I'm not sure whether I should implement that now, or if I
could do that later.
2017-10-26 15:09:17 +02:00
talaj
f3cf1ad388
Fix centroid and interior algorithms ( #3771 )
...
* fix interior algorithm - closing segment handling
* fix centroid algorithm - closing segment handling
* update visual tests
2017-09-25 15:45:02 +02:00
Artem Pavlenko
3d4963f40c
move implementatio into *.cpp + return 'closest_point_result' struct.
2017-09-22 13:21:50 +02:00
Artem Pavlenko
143d1e57cf
add 'closest_point' geometry algorithm
2017-09-21 15:40:30 +02:00
Artem Pavlenko
5d5ef602be
rename 'geometry_type' to 'topojson_geometry_type' to avoid names clashing
...
(this was causing miscompilation on linux (ubuntu 17.04/clang))
2017-09-18 11:35:39 +01:00
talaj
d14203561d
color font support improvements ( #3758 )
...
👍
2017-09-13 10:14:46 +01:00
Artem Pavlenko
acec6ae824
Merge branch 'master' into bbox-index
2017-09-12 14:57:12 +01:00
Artem Pavlenko
8bc080c7b8
Merge branch 'nested-layers-fixes' of https://github.com/mapycz/mapnik into mapycz-nested-layers-fixes
2017-09-12 14:09:47 +01:00
Artem Pavlenko
04f9db4b18
minor format
2017-09-11 17:30:37 +01:00
Jiri Drbalek
6777721391
enclosing calls forgotten in https://github.com/mapnik/mapnik/pull/3474
2017-09-11 15:25:19 +00:00
artemp
441687ecff
boost_adapters - apply temp fix via @Algunenano for boost 1.64 (ref #3733 )
2017-08-21 14:14:00 +01:00
artemp
9b0fd7a8d7
boost_adapters - apply temp fix via @Algunenano for boost 1.64.
2017-08-21 14:12:12 +01:00
artemp
40c51c469c
shape.input/shapeindex - update to use bounding box per item *.index format.
2017-08-21 11:02:34 +01:00
artemp
6c19efa990
store box2d<float> directly in index_record to avoid conversions.
2017-08-18 16:59:58 +01:00
artemp
2aa0ce9d74
New *.index format (bounding box per item) implementation
2017-08-18 11:16:44 +01:00
artemp
2426a44671
initial updated spatial-index implementation
2017-08-16 13:59:44 +01:00
artemp
add410e619
use arch independent types for serialised values
2017-08-15 11:14:11 +01:00
artemp
c4a1df6e91
simplify impl + const correctness + minor cleanup
2017-08-15 11:13:11 +01:00
artemp
6f73181e9b
Enforce consistent error handling policy - always throw on fatal errors (both strict and non-strict). In strict
mode throw on first parsing error. Remove return values from parse
,parse_from_string
and traverse_tree
methods. Update unit tests.
2017-08-02 10:32:13 +01:00
artemp
093fcee6d1
only include <unicode/unistr.h> if ICU >= 59 (attempting to fix current coverage
build on travis).
2017-07-21 10:37:22 +02:00
artemp
9e58c89043
Add support for U_ICU_VERSION_MAJOR_NUM >= 59 ( #3729 )
2017-07-19 16:07:39 +02:00
artemp
3ae71eea0f
JSON - wrap lamda functions into anonymous namespace to fix linking on Windows with VS2017.
2017-07-06 16:09:38 +02:00
artemp
e653f4cc4c
make constructor explicit to avoid C2664 error with VS2017.
2017-07-06 16:01:06 +02:00
artemp
e08616aed3
Didn't play well with VS2017, reverting "re-use lamdas
definitions and aviod duplicate symbols when building with vs2017"
...
This reverts commit 4c9322bc0d
.
2017-07-06 11:17:14 +02:00
artemp
631c0a59c4
Revert "trying to inline
lambdas (VS2017) (!)" this is not allowed in c++14 requires c++17
...
This reverts commit 0ad1c58009
.
2017-07-06 11:14:24 +02:00
artemp
0ad1c58009
trying to inline
lambdas (VS2017) (!)
2017-07-06 11:11:01 +02:00
artemp
4c9322bc0d
re-use lamdas
definitions and aviod duplicate symbols when building with vs2017
2017-07-06 10:59:42 +02:00
artemp
148e77884c
don't include xml_parser_read_rapidxml.hpp - forward declaring xml_node
is sufficient.
2017-06-29 09:41:16 +02:00
artemp
3fbce913d0
store viewbox
transform
2017-06-29 09:41:16 +02:00