Commit graph

2266 commits

Author SHA1 Message Date
artemp
d909c6dede + std::unordered_map to store properties 2013-10-07 17:43:38 +01:00
Dane Springmeyer
ddf2226b6f merge with branch 2.3.x 2013-10-05 15:37:29 -07:00
artemp
e3f18717d3 == topojson ==
support multi geometries
2013-10-04 15:40:06 +01:00
Dane Springmeyer
732fefb9e1 webp: use WebPConfig instead of custom options struct 2013-10-04 00:24:30 -07:00
Dane Springmeyer
be7d0a55c2 webp: cleanup option handling 2013-10-03 23:59:10 -07:00
Dane Springmeyer
0fb718a4fd default to hextree encoding for 'png' format + png options cleanup 2013-10-03 23:40:19 -07:00
Dane Springmeyer
0224ce3019 add support for seamless blurring - closes #1478 2013-10-03 16:37:09 -07:00
Dane Springmeyer
5f092c7130 ctrans: add getter for offsets 2013-10-03 12:06:52 -07:00
Dane Springmeyer
879aec064a ensure we do not query layers with no active styles 2013-10-03 11:25:05 -07:00
artemp
56a14368bf cleanup usage 2013-10-03 17:16:21 +01:00
artemp
ac8ececf1c == topojson ==
+ use boost::variant<> for storing properties
+ parse properties as top level key/value pairs
2013-10-03 15:32:07 +01:00
Dane Springmeyer
9c8f7cc90d merge with 2.3.x branch 2013-10-02 18:25:24 -07:00
Dane Springmeyer
f9e630bbd3 Merge remote-tracking branch 'origin/2.3.x' 2013-10-02 18:23:09 -07:00
Dane Springmeyer
371d79774a avoid integer overflows in agg by using clamping in agg:iround with agg::rasterizer_sl_clip_int_sat - closes #2000 2013-10-02 17:08:22 -07:00
artemp
77d0ecc459 c++11
remove BOOST_FOREACH
2013-10-02 09:42:03 +01:00
artemp
81159bc006 oops -> don't copy topology object 2013-10-01 19:18:05 +01:00
artemp
20a0f55e7d topojson
+ bounding box visitor
2013-10-01 17:16:16 +01:00
artemp
4bf15a04ef topojson
+ make transform optional to match TopoJSON spec
2013-10-01 17:16:16 +01:00
artemp
ecc2b39865 mapnik::memory_datasource - qualify virtual methods for brevity 2013-10-01 14:48:54 +01:00
Dane Springmeyer
c34c8a568f merge with branch 2.3.x 2013-09-30 13:33:28 -07:00
Dane Springmeyer
8ebd804360 remove tabs 2013-09-30 13:30:16 -07:00
artemp
fddec700ad TopoJSON input plugin
skeleton implementation
2013-09-30 14:14:58 +01:00
artemp
d116ca062f + cleanup 2013-09-30 11:35:42 +01:00
artemp
c860ed4d99 == TopoJSON parser ==
https://github.com/mbostock/topojson/wiki
2013-09-30 11:16:58 +01:00
artemp
2b50c105c3 + style 2013-09-30 08:56:58 +01:00
Dane Springmeyer
ca6d6df446 fix code formatting 2013-09-27 16:15:16 -07:00
Dane Springmeyer
82e1b37281 allow single color colorize-alpha 2013-09-27 16:11:23 -07:00
Dane Springmeyer
f4c3620d67 protect against invalid memory access if agg gradient lookup fails to build 2013-09-27 15:24:33 -07:00
Dane Springmeyer
b787f4d672 fix image-filter serialization for scale-hsla and colorize-alpha 2013-09-27 14:06:07 -07:00
Dane Springmeyer
7a4bf4e3b0 remove debug prints 2013-09-27 12:20:57 -07:00
Dane Springmeyer
90dd6b9d61 optimize case where image_view is used but is not a subset - refs #2024 2013-09-27 12:17:31 -07:00
Dane Springmeyer
44807673a3 optimize webp pixel copy by moving row chunks rather than pixels - refs #2024 2013-09-27 11:54:12 -07:00
Dane Springmeyer
2010f5f1d9 Merge branch '2.3.x' of github.com:mapnik/mapnik 2013-09-26 20:08:01 -07:00
Dane Springmeyer
0ca2edb206 fix #2024 (TODO - avoid image copy for lossy encoding of views) 2013-09-26 20:07:04 -07:00
Dane Springmeyer
3531276864 fix one part of #2024 2013-09-26 19:29:05 -07:00
Dane Springmeyer
68ff3ceead add color-to-alpha image-filter - closes #2023 2013-09-26 16:14:40 -07:00
Dane Springmeyer
535c580829 std::trunc is not available with g++-4.8 on android (and also likely not msvc) 2013-09-26 12:47:07 -07:00
Dane Springmeyer
f0bebe5b10 iwyu 2013-09-25 21:35:25 -07:00
Dane Springmeyer
0f4ba4dfd5 sync with 2.3.x branch 2013-09-25 20:04:31 -07:00
Dane Springmeyer
843fdc0871 stub in colorize-alpha filter output to avoid crash - refs #2021 2013-09-25 15:33:10 -07:00
Dane Springmeyer
8e047aa98e raster_colorizer: avoid color copy by return unsigned from get_color 2013-09-25 14:58:32 -07:00
Dane Springmeyer
df3a455e19 refactor nodata related code dropping support for user-overide nodata where it does not make sense - refs #2023 2013-09-25 14:37:21 -07:00
Dane Springmeyer
0ffb9ef308 Merge branch '2.3.x' of github.com:mapnik/mapnik 2013-09-25 13:14:01 -07:00
Dane Springmeyer
9e66317af1 branch 2.3.x from master at v2.2.0-242-ge85cdda 2013-09-24 23:21:37 -07:00
Dane Springmeyer
681f8853d3 pull in changes from master 2013-09-24 22:57:01 -07:00
Dane Springmeyer
0b5d70f926 polygon_clipper: detect invalid winding order when in debug mode 2013-09-24 21:18:52 -07:00
Dane Springmeyer
e85cddaaf5 iwyu 2013-09-24 21:13:52 -07:00
Dane Springmeyer
67b2651527 remove unused clipper converter 2013-09-24 21:03:38 -07:00
Dane Springmeyer
2c46300f61 remove dead code (colorize-alpha is now officially an image-filter) 2013-09-24 17:18:14 -07:00
Dane Springmeyer
6e4c911bb6 fix bug in polygon_clipper coincident vertice detection 2013-09-24 14:06:16 -07:00