Commit graph

1980 commits

Author SHA1 Message Date
Dane Springmeyer
10d7a7591a formatting as per c++ style 2013-02-22 18:58:36 -08:00
Dane Springmeyer
e802943469 only build tiff/png readers if support is requested 2013-02-22 16:55:02 -08:00
Dane Springmeyer
3f9e232b9a scons: only link in libraries that are required by the build 2013-02-22 15:13:39 -08:00
XinGang Li
3dd19d2cde Add IMPLEMENT_ENUM of enum gradient_unit_e. 2013-02-23 00:08:58 +08:00
XinGang Li
7f1e416313 Export the to_wkt functions to avoid python bindings access the internal structs. 2013-02-22 23:58:41 +08:00
XinGang Li
df7db521bb Add parse_image_filters function to avoid python bindings access the internal structs. 2013-02-22 23:58:30 +08:00
Artem Pavlenko
df0f4a22b8 Merge pull request #1723 from mapnik/fix-rule-cache
Fix rule cache (TODO: use move semantics for rule_cache)
2013-02-21 04:48:34 -08:00
artemp
7f39420bc4 Merge branch 'master' into clipper 2013-02-21 08:55:13 +00:00
Dane Springmeyer
2daee5ace8 Merge branch 'master' of github.com:mapnik/mapnik into fix-rule-cache 2013-02-20 18:03:05 -08:00
Dane Springmeyer
86a873857f simplify scale_denominator interface 2013-02-20 18:02:28 -08:00
Dane Springmeyer
12dfcef3a0 add support for background-image to cairo_renderer and refactor into setup function to match agg/grid renderers - closes #1724 2013-02-20 17:55:53 -08:00
Dane Springmeyer
966af84cbd move rule cache off style objects as styles should be immutable - amends 1c4b67ba98 - refs #916 2013-02-20 13:25:57 -08:00
artemp
617542c136 Merge remote-tracking branch 'origin/master' into clipper 2013-02-20 10:35:47 +00:00
Dane Springmeyer
380f451d3a add the ability to set the cached envelope of a memory_datasource 2013-02-19 11:36:13 -08:00
artemp
747305253c + link clipper obj's into core lib 2013-02-19 10:06:59 +00:00
artemp
50069cb094 + avoid unnecessary const_cast<> 2013-02-12 19:54:36 +00:00
artemp
b247082b78 + avoid unnecessary const_cast<> 2013-02-12 19:53:16 +00:00
Dane Springmeyer
9520f58c5a throw if we cannot detect image extension instead of failing silently 2013-02-08 17:14:39 -08:00
Dane Springmeyer
19e52c0136 rename simplify-tolerance -> simplify to match clip/smooth params 2013-02-05 15:48:16 -08:00
Dane Springmeyer
41772edbd7 support reading raster-colorizer properties off of raster symbolizer as well as in standalone child element 2013-02-01 16:32:48 -05:00
Dane Springmeyer
4c66d6dda0 fix raster resampling bug - closes #1489 and fixes mapbox/tilemill#1888 2013-01-31 18:43:06 -05:00
Dane Springmeyer
1ccd250980 iwyu 2013-01-30 12:32:20 -05:00
Dane Springmeyer
92b0e43d87 remove mutex around pj_transform 2013-01-29 03:36:38 -05:00
Dane Springmeyer
751258749a Merge branch 'master' of github.com:mapnik/mapnik 2013-01-29 03:31:16 -05:00
Dane Springmeyer
98e974e956 fix ifdef logic 2013-01-29 03:30:01 -05:00
Dane Springmeyer
7ffde8d623 Merge branch 'master' of github.com:mapnik/mapnik into lazy-proj4 2013-01-29 02:19:00 -05:00
Dane Springmeyer
b1c1c86346 make PNG and TIFF support optional - closes #1704 2013-01-29 02:17:37 -05:00
Dane Springmeyer
cf11a27a22 remove hardcoded define to enable proj4 2013-01-29 02:03:04 -05:00
Dane Springmeyer
b1581a1942 fall through to using proj4 if we do not have a known transformation 2013-01-28 15:10:24 -05:00
Dane Springmeyer
cda43b42ae throw if attempting to transform between projections that require proj4 support if proj4 is not compiled in 2013-01-28 14:03:07 -05:00
Dane Springmeyer
3969ac246d make proj4 able to be fully disabled at compile time - refs #1703 2013-01-28 13:45:41 -05:00
Dane Springmeyer
f8b1520d1a refactor projection interface: 1. cleanup custom lonlat<->merc code. 2. centralize proj4 strings into constants, 3. tweak projection benchmarking to allocate objects in loop so we can test that specifically - refs #1703 2013-01-28 01:47:32 -05:00
Dane Springmeyer
95b29f82b1 iwyu 2013-01-27 23:54:31 -05:00
Dane Springmeyer
e327880eb1 forward declare when possible 2013-01-27 23:53:37 -05:00
Dane Springmeyer
790be266f8 iwyu 2013-01-24 22:04:17 -08:00
Dane Springmeyer
3149c8db3d fixup a few includes around text formatting 2013-01-21 17:05:33 -08:00
Dane Springmeyer
ba6f3cf2ca include cleanup around symbolizer helpers 2013-01-21 14:32:28 -08:00
Dane Springmeyer
70008ca781 iwyu 2013-01-21 14:15:08 -08:00
Dane Springmeyer
84197b1b98 speed up snprintf double to string by removing unused code but default to using karma for now given it is more future proof - followup to #1697 2013-01-21 10:25:27 -08:00
Dane Springmeyer
ccd9acfecc default to fast, simple, and correct (per ostringstream) to_string conversions fully removing boost::lexical_cast, disabling karma, and fixing up tests 2013-01-19 10:12:32 -08:00
Dane Springmeyer
e16567fecb fixup std:: prefixing of cmath functions - closes #1694 2013-01-17 13:53:48 -08:00
artemp
eb8b2552ef + update xml_tree to use xml_attrinbute_cast and remove fast_cast 2013-01-16 12:42:20 +00:00
artemp
1b3ef49377 + remove unnecessarily checks 2013-01-16 10:51:45 +00:00
Dane Springmeyer
18e23be9c0 merge work from mappy/abonnasseau allowing buffer-size to be overiddend by layer - closes #1566 2013-01-15 18:53:34 -08:00
Dane Springmeyer
24463d0f25 workaround boost::error_cant_deduce_type error when building against boost trunk (currently 1_53) - refs #1658 2013-01-15 17:12:53 -08:00
Dane Springmeyer
2d340a296f clean up spirit headers to avoid usage of non-standard/non-futureproof spirit/home path - refs #1658 2013-01-15 14:32:29 -08:00
Dane Springmeyer
d718e95ed6 use std::strlen not strlen from c 2013-01-15 13:32:09 -08:00
artemp
b4723b6dd1 + fix typo 2013-01-15 14:34:38 +00:00
artemp
96857ca291 + wrap xml_attribute.value into std::string to avoid crashes
when linking to libc++ on os x (TODO)
2013-01-15 14:14:47 +00:00
artemp
e8cc64a9a7 + fast_cast to mapnik::boolean specialization 2013-01-15 14:14:08 +00:00