Commit graph

731 commits

Author SHA1 Message Date
Dane Springmeyer
3d862034cd allow '[field] is null' syntax to work with the understanding this may have unintended consequences and we should likely ultimately replace with proper 'is' equality support for nulls - track issue at http://trac.mapnik.org/ticket/794 2011-07-12 01:48:36 +00:00
Dane Springmeyer
a726787a40 add mapnik::Boolean type so we can report attributes with boolean type - closes #795 2011-07-11 22:34:08 +00:00
Dane Springmeyer
4356144e4a shuffle attribute_descriptor class to its own header, previously extant but unused 2011-07-11 21:03:39 +00:00
Dane Springmeyer
aab601da64 comment unused struct that trips up clang++ 2011-07-09 01:05:52 +00:00
Dane Springmeyer
161d978fb4 support hsl colors for boost versions 1.42 - 1.45 2011-07-01 18:54:01 +00:00
Dane Springmeyer
eab80c5a91 fixup proj_init error message 2011-06-30 17:59:27 +00:00
Dane Springmeyer
476e04c4c7 add gamma to polygon-pattern-symbolizer, useful for avoiding AA affects at tile edges so that global patterns can have seamless alignment 2011-06-28 22:37:35 +00:00
Dane Springmeyer
4e229ac516 more sql utility functions for handling quoting 2011-06-13 21:43:37 +00:00
Artem Pavlenko
9bc45c9ca1 + addd boost::equality_comparable<box2d<T> 2011-06-07 21:16:03 +00:00
Artem Pavlenko
1d2abb8206 + add support for CSS3 HSL colors: http://www.w3.org/TR/css3-color/#hsl-color 2011-06-07 16:14:11 +00:00
Artem Pavlenko
4a72a7d680 + fix color(std::string const& ) ctor to initialize r,g,b,a.
+ impl eq ops using boost::equality_comparable.
+ output alpha in to_hex_string if not 255.
2011-06-07 16:14:02 +00:00
Artem Pavlenko
bc3d784b85 + change ingterface to work with std::string 2011-06-07 16:13:54 +00:00
Dane Springmeyer
3d81a07f06 support for png 1.5.x, should work fine with 1.4.x - closes #772 2011-06-05 21:02:55 +00:00
Dane Springmeyer
ef6af65f17 remove debug output 2011-06-03 22:11:51 +00:00
Dane Springmeyer
e93bfa7a5a add a grid_view class to allow subsetting of grids for metatiling 2011-06-03 05:55:28 +00:00
Dane Springmeyer
001f38fc57 expose get/set of key and resolution on grid renamed from join_field/step 2011-06-03 01:55:26 +00:00
Dane Springmeyer
3654e92ee4 nearest neighbor resampling impl for grid array 2011-06-01 17:22:56 +00:00
Dane Springmeyer
2bec001a44 add missing change to header for r2942 2011-05-31 22:44:48 +00:00
Dane Springmeyer
fcdf033004 restore boost 1.41 -> 1.44 compatibility 2011-05-31 17:34:09 +00:00
Hermann Kraus
8474976353 Prepare for merging "text_placement_info" and "placement". 2011-05-30 01:16:21 +00:00
Hermann Kraus
de089f0d68 Add alignment to text_placement_info. 2011-05-29 22:33:41 +00:00
Dane Springmeyer
8322a96575 code cleanup 2011-05-27 21:00:19 +00:00
Artem Pavlenko
b6f02e6d4d + adapt mapnik::color as fusion sequence to avoid intermediate data structure 2011-05-26 10:07:37 +00:00
Dane Springmeyer
7a17c7e597 load_map_from_string has always accepted a base path argument to drive the interpretation of relative paths in the stylesheet when loaded in memory- this really should be a full map property so that it can be known on the map object after parsing and changed if the map is saved to a new location 2011-05-25 23:48:07 +00:00
Dane Springmeyer
e4329847d2 shape.input: re-assign feature id's once we know their correct value after reading geometry up to the dbf link - TODO - we should be able to look ahead to avoid this re-assign 2011-05-20 01:41:28 +00:00
Dane Springmeyer
ba15947a4f add Projection.expanded() function to ask proj4 what its internal, normalized definition looks like (useful only for debugging) 2011-05-17 19:05:15 +00:00
Dane Springmeyer
b578c02c54 make renderer type a template argument of agg svg renderer 2011-05-17 06:18:06 +00:00
Dane Springmeyer
b3c258c9a8 allow usage of boost::make_shared in gdal featureset construction by passing const reference - #760 2011-05-16 22:17:50 +00:00
Dane Springmeyer
aeb1b7f963 renable previous (non-agg) internal bilinear scaling method for testing #759a 2011-05-12 16:43:23 +00:00
Dane Springmeyer
90fbd6a204 use boost::make_shared to avoid explicit new and ensure fast and exception safe allocation 2011-05-10 21:09:54 +00:00
Dane Springmeyer
301824e60d remove unused header 2011-05-10 21:05:35 +00:00
Artem Pavlenko
3bef010056 + move feature_factory.hpp include to impl file 2011-05-09 13:52:06 +00:00
Artem Pavlenko
692af5cbc1 + use boost::make_shared to improve shared_ptr
allocation locality
2011-05-09 13:51:58 +00:00
Artem Pavlenko
82a71649b6 + remove extra namespace qualifiers 2011-05-09 09:11:57 +00:00
Artem Pavlenko
7b620a9f71 + cleanup/formatting 2011-05-09 09:11:49 +00:00
Dane Springmeyer
d05b0c539f apply major refactor of RasterColorizer by ben moores from https://github.com/BenMoores/mapnik-trunk/wiki/RasterColorizer - closes #523 2011-05-04 00:20:17 +00:00
Dane Springmeyer
2f77de0bf9 add a few more centroid algorithms for testing 2011-05-03 21:38:02 +00:00
Dane Springmeyer
adb44a6ec2 account for scaling and alpha of bitmap images in grid_renderer 2011-05-02 22:33:11 +00:00
Dane Springmeyer
e69f17eb35 add ability to pass a scaling ratio just to the affine scaling - needed by grid_renderer 2011-05-02 22:30:50 +00:00
Dane Springmeyer
b6c5c57713 label_position on lines should take the middle point to preserve previous behavior before move to path type geometries - patch from Ldp - closes #740 and #668 2011-04-30 00:43:57 +00:00
Dane Springmeyer
157d52e38f add option to collect the total extent of all placement bboxs to enable passing along to metawriters - modified patch from kevin.kreaiser - closes #755 2011-04-30 00:06:27 +00:00
Dane Springmeyer
ab94fd43d8 add test for grid generation, and make sure point_datasource feature id starts at 1 (as datasources should) 2011-04-29 19:25:00 +00:00
Dane Springmeyer
da4893d8fe declare dlf ctor explicit 2011-04-29 17:40:55 +00:00
Dane Springmeyer
b072de4769 create layer descriptor when memory_datasource is created - TODO - gather attribute descriptors as features are added 2011-04-28 17:36:36 +00:00
Hermann Kraus
6650f999b9 char is to short for unicode chars. Replace it with unsigned int. Should fix #746. 2011-04-27 20:28:53 +00:00
Dane Springmeyer
5eea164b5a add grid_renderer backend 2011-04-26 21:44:52 +00:00
Dane Springmeyer
9da2d701a5 further template the svg_renderer based on pixfmt 2011-04-26 17:38:18 +00:00
Dane Springmeyer
318465ef53 output feature id when printing feature to string 2011-04-19 22:41:16 +00:00
Dane Springmeyer
424eef4a2f refactor feature_style_processor a bit to allow passing reference of names as arg apply_to_layer. Will set up for more potential flexibility around passing pre-populated query names. 2011-04-19 04:23:11 +00:00
Dane Springmeyer
74bb2da73b avoid uninitialized variable warning 2011-04-18 18:48:57 +00:00