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 |
|
Dane Springmeyer
|
5c799b2174
|
skip rendering specific coordinates which cannot be back projected from the layer srs into the map srs, avoiding the previous outcome of full skipping of features (this is at the cost of potentially odd looking polygons, but should not impact performance) - closes #308
|
2011-04-15 22:13:23 +00:00 |
|
Dane Springmeyer
|
69eb5c4579
|
first forward map ext to layer srs, falling back to backward projecting layer to map (previous behavior). Also leverage new clip function of box2d<double> class - closes #402, #548, and #549 (and indirectly fixes #308 combined with #506) - see also http://trac.mapnik.org/wiki/BoundsClipping
|
2011-04-15 18:39:07 +00:00 |
|
Dane Springmeyer
|
92a36f21ff
|
early return if layer has no styles
|
2011-04-15 07:19:44 +00:00 |
|
Dane Springmeyer
|
fd54be4cc5
|
if 'maximum-extent' is provided, clip map query extent to it allowing one simple and fast way of controlling out of bounds coordinates when projecting into/from layer projection - see also solution at #549
|
2011-04-15 07:13:08 +00:00 |
|
Dane Springmeyer
|
8998296f7b
|
add 'maximum-extent' attribute to map and use this, if set, in place of calculated layer extents in zoom_all()
|
2011-04-14 02:20:33 +00:00 |
|
Dane Springmeyer
|
ff006dd3f0
|
allow copy of mapnik::projection when proj_transform is created - closes #658 - TODO - consider using shared_ptr
|
2011-04-13 21:30:39 +00:00 |
|
Dane Springmeyer
|
383d8a3f15
|
add proj_transform forward/backward box2d implementation
|
2011-04-13 19:40:44 +00:00 |
|
Dane Springmeyer
|
daf5cff723
|
add ability to set the bbox of a query object after initial contruction
|
2011-04-13 19:30:19 +00:00 |
|
Dane Springmeyer
|
903d1b49ef
|
add a clip method to mapnik::box2d
|
2011-04-13 19:19:23 +00:00 |
|
Artem Pavlenko
|
0e0b7a578c
|
+ implement memory mapping using boost::interprocess
+ cache mapped memory regions for re-use
|
2011-04-06 13:02:31 +00:00 |
|
Dane Springmeyer
|
2d1e2ef998
|
add valid() method to box2d, and comment subtraction override as it does not have any function currently
|
2011-04-04 03:50:09 +00:00 |
|
Dane Springmeyer
|
7d6ed703f4
|
move numeric2string to sql_utils.hpp
|
2011-04-04 03:46:41 +00:00 |
|
Dane Springmeyer
|
49c011a48a
|
avoid various compiler warnings
|
2011-04-03 04:30:32 +00:00 |
|
Dane Springmeyer
|
9b1a33be5c
|
remove spurious semicolon
|
2011-04-02 03:08:16 +00:00 |
|
Dane Springmeyer
|
7095b1c907
|
initialize all metawriter members
|
2011-04-02 00:12:12 +00:00 |
|
Dane Springmeyer
|
de9a46cfeb
|
remove tabs
|
2011-04-01 23:56:12 +00:00 |
|
Dane Springmeyer
|
84ea9e6101
|
avoid clang++ -pedantic compiler warnings
|
2011-04-01 06:24:57 +00:00 |
|
Dane Springmeyer
|
7181f631e8
|
avoid clang++ compiler warnings with -pedanic
|
2011-04-01 05:32:25 +00:00 |
|
Dane Springmeyer
|
14068cad23
|
move segment y_order sort to header that can be used by each renderer
|
2011-03-22 00:02:50 +00:00 |
|
Dane Springmeyer
|
b3c01a5b59
|
avoid uninitialized variable compiler warnings
|
2011-03-21 20:35:15 +00:00 |
|
Artem Pavlenko
|
9abfc24219
|
+ remove namespace qualifier from DEFINE_ENUM
macro to keep clang++ 3.0 happy
|
2011-03-21 15:24:04 +00:00 |
|
Dane Springmeyer
|
3f219a7046
|
workaround for latest clang trunk (>=127962) which throws on template <> (extraneous 'template<>' in declaration of variable...)
|
2011-03-20 19:18:03 +00:00 |
|
Hermann Kraus
|
720d9f216c
|
Add virtual constructors to text placement base classes.
|
2011-03-20 19:00:29 +00:00 |
|
Artem Pavlenko
|
ec4ef1bb34
|
+ add missing files from 735_metawriter_inmem.patch
|
2011-03-16 16:50:02 +00:00 |
|
Artem Pavlenko
|
b543d7f1f4
|
+ add optional length parameter to allow
passing not-null terminated char strings
|
2011-03-16 13:31:56 +00:00 |
|
Artem Pavlenko
|
9b47d8353e
|
+ restore #ifdefs around -> if(!p.process(symbols,*feature,prj_trans))
|
2011-03-15 14:18:46 +00:00 |
|
Dane Springmeyer
|
aea93fe1f9
|
fix bug in hit_test for points, allowing possibility of hit if tolerance is fractional (most cases)
|
2011-03-13 22:15:52 +00:00 |
|
Artem Pavlenko
|
cbbc904bbd
|
+ qualify boost::spirit::qi placeholders to avoid ambiguity
|
2011-03-09 11:07:21 +00:00 |
|
Artem Pavlenko
|
3a4f9307a5
|
+ add missing header
|
2011-03-07 12:54:00 +00:00 |
|
Artem Pavlenko
|
3daa06bb11
|
+ impl GEOMETRYCOLLECTION parser as composite
|
2011-03-07 12:53:52 +00:00 |
|
Dane Springmeyer
|
4079fd7d08
|
make feature caching optional, and disabled by default (to avoid std::bad_alloc in low memory environments). Can be set as new layer property 'cache-features' - closes #657
|
2011-03-01 17:09:29 +00:00 |
|