Blake Thompson
951f10791a
Fix for #3714 in master, addresses RGBA tiffs that have an alpha value and no data value - and are using the no data value over the alpha.
2017-07-06 12:30:05 -05: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
b632633373
convert args to mapnik::geometry::geometry<std::int64_t> (VS2017)
2017-07-06 16:03:28 +02:00
artemp
cd0c746a42
split grammar into two rules (VS2017)
2017-07-06 16:02:47 +02:00
artemp
55776f0b8c
add missing include directives (VS2017)
2017-07-06 16:02:17 +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
talaj
53249053e4
cairo renderer: clear map background with given color as agg renderer does ( #3718 )
2017-07-04 16:32:45 +02:00
talaj
d0ecd51b63
Set premultiplied flag to the color font glyph bitmap ( #3716 )
...
* color font bitmap is premultiplied
* update visual tests
2017-07-03 17:15:07 +02:00
artemp
71344f78df
wkb_reader : pre-allocate number of polygons in multi_polygon
and number of geometries in geometry_collection
via vector.reserce(...)
2017-07-03 15:18:23 +02:00
artemp
1e8ec57593
add <image> and <switch> to unsupported
elements.
2017-06-29 09:41:16 +02:00
artemp
47bfe7cb91
make unsupported
elements/attributes arrays const.
2017-06-29 09:41:16 +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
5118220c4c
handle "well-known" unsupported elements and attributes.
2017-06-29 09:41:16 +02:00
artemp
017d6cb540
cleanup
2017-06-29 09:41:16 +02:00
artemp
8f2961b9e2
svg_parser - implement preserveAspectRatio
support (ref https://www.w3.org/TR/SVG/coords.html#PreserveAspectRatioAttribute )
2017-06-29 09:41:16 +02:00
artemp
a6bc69359a
use SVG viewport as bounding box
2017-06-29 09:41:16 +02:00
artemp
12d077ea0c
disable bbox comparison (WIP)
2017-06-29 09:41:16 +02:00
artemp
3edcd4afa2
fix viewBox
coordinate system logic + apply transform in <use>
element
2017-06-29 09:41:16 +02:00
artemp
3fbce913d0
store viewbox
transform
2017-06-29 09:41:16 +02:00
artemp
fafc751e42
svg_parser - add support for "href" preserving deprecated (since SVG 2) "xlink:href"
2017-06-29 09:41:16 +02:00
artemp
c2ad505899
fix method name
2017-06-29 09:41:16 +02:00
artemp
aae7253ba1
SVG parser - refactor to use switch
where appropriate + experimental support for <symbol>
2017-06-29 09:41:16 +02:00
artemp
87abf93da3
move name_to_int
into separate header for re-use.
2017-06-29 09:41:16 +02:00
artemp
2de8ce0eb7
svg_parser - don't log unsupported entities just yet (ref #763 )
2017-06-29 09:41:16 +02:00
artemp
53a69463ea
SVG parser - add support for <use>
element (ref #763 ).
2017-06-29 09:41:16 +02:00
artemp
a4e8603af1
svg transform - correct rotate(<a> [<x> <y>])
rule (ref #763 )
...
(The transform attribute defines a list of transform definitions that are applied to an element and the element's children. The items in the transform list are separated by whitespace and/or commas, and are applied from right to left.)
2017-06-29 09:41:16 +02:00
artemp
199a281627
remove debug stderr
2017-06-29 09:41:16 +02:00
artemp
ca4d140fb0
cleanup
2017-06-29 09:41:16 +02:00
artemp
b6aa45144c
svg_parser - refactor => remove mutable temporary_gradient_
member variable + process stop
elements from within linearGradient
and radialGradient
.
2017-06-29 09:41:16 +02:00
artemp
6da83bc986
svg_parser - store unresolved
gradient nodes for deferred initalisation.
2017-06-29 09:41:16 +02:00
artemp
0301399d40
svg2png - add short program options.
2017-06-29 09:41:16 +02:00
artemp
ef6c2e71b8
svg-parser : handle parsing failures via error_handler
( throw in strict mode and log+continue when strict==false)
2017-06-29 09:41:16 +02:00
artemp
e56233833e
svg_parser - fix bug introduced in previous commit.
2017-06-29 09:41:16 +02:00
artemp
3f591af871
initial support for strict SVG parsing (WIP)
2017-06-29 09:41:16 +02:00
artemp
df0bbe404c
update CHANGELOG post 3.0.15 release [skip-ci]
2017-06-19 17:13:02 +02:00
artemp
5aba57eb61
remove out-of-date comment line [skip ci]
2017-06-15 11:33:36 +02:00
Blake Thompson
5b51b8d061
Merge pull request #3701 from mapnik/fix_filter_factor2
...
Fix Filter Factor for Resampling.
2017-06-13 09:48:15 -05:00
Blake Thompson
5bc80e909e
Restored the proper useage of filter factor for image rescaling, where it is used in a variety of different algorithms for resampling.
2017-06-13 09:17:54 -05:00
artemp
3451d11b00
tiff_reader - fix num_rows
logic in read_stripped
method ref #3679
2017-06-12 17:55:24 +02:00
Artem Pavlenko
294a8168da
Merge pull request #3697 from mapnik/raster_plugin_fix
...
Fixes a bug associated with the raster plugin
2017-06-07 10:18:40 +02:00
artemp
5f9c8bc475
remove --depth 100
2017-06-07 10:17:53 +02:00
Blake Thompson
eb7ef5039c
Fixes a bug assocaited with the raster plugin
2017-06-06 10:28:21 -05:00
Artem Pavlenko
d563b2e126
Merge pull request #3693 from mapnik/webp_more_tests
...
Updated the tests for webp
2017-06-05 17:12:26 +02:00
Blake Thompson
4b69974175
Merge branch 'master' into webp_more_tests
2017-06-05 09:50:53 -05:00
artemp
309b34a011
fix - add missing namespace qualifier.
2017-06-05 15:52:49 +02:00
Artem Pavlenko
03fb8fab4c
Merge pull request #3694 from mapycz/layer-compositing-offset
...
Fix a layer compositing offset
2017-06-02 18:09:07 +02:00