artemp
|
d7d833dd13
|
+ cleanup/small fixes
|
2012-07-31 13:31:22 +01:00 |
|
artemp
|
c7af665cc7
|
+ process SEG_CLOSE
|
2012-07-31 10:59:09 +01:00 |
|
artemp
|
76569cccb8
|
+ select clipper based on geometry type
+ process SEG_CLOSE command
|
2012-07-31 10:57:42 +01:00 |
|
artemp
|
a3b7d07da0
|
+ select clipper based on geometry type
|
2012-07-31 10:56:13 +01:00 |
|
Dane Springmeyer
|
39a1477eb2
|
allow marker-width and marker-height to apply directly to ellipse rx/ry - maintaining ability to precisely control ellipse dimensions, combine with transforms, and avoid scaling line-widths - refs #1348 and #1347
|
2012-07-30 23:20:20 -07:00 |
|
Dane Springmeyer
|
e482998c51
|
rename path_ptr to the more explicit svg_path_ptr and set up markers_symbolizer rendering for upcoming changed
|
2012-07-30 21:45:46 -07:00 |
|
Dane Springmeyer
|
0d97b851fa
|
markers: support opacity on bitmaps, and move to supporting both opacity and fill-opacity
|
2012-07-30 18:31:21 -07:00 |
|
Dane Springmeyer
|
6f174287a2
|
amend 822531a which broke polygon geometry labeling - refs #1350
|
2012-07-30 18:29:26 -07:00 |
|
artemp
|
b963b6c2b3
|
Merge remote-tracking branch 'origin'
|
2012-07-30 18:35:03 +01:00 |
|
artemp
|
822531a114
|
+ filter on geometry type to use centroid (Polygon) or
middle_point (LineString) label placement
|
2012-07-30 18:32:42 +01:00 |
|
Dane Springmeyer
|
81937f7317
|
only allow restyling of svg paths that already have visible display of stroke/fill
|
2012-07-28 09:27:37 -07:00 |
|
Dane Springmeyer
|
e213f49d7c
|
re-implement conditional stroke application in markers_symbolizer initially added in 9d756165e0 , amended in 9f064960e3 , and wrongly disabled in bd74d18f6d
|
2012-07-27 19:21:46 -07:00 |
|
artemp
|
fe4cfea536
|
+ add call to close_path() if SEG_CLOSE
|
2012-07-26 15:49:58 +01:00 |
|
artemp
|
ec2d0cc210
|
+ wkb reader : close polygons
|
2012-07-26 15:20:56 +01:00 |
|
artemp
|
07ec5c31d0
|
+ turns off white space skipping
|
2012-07-26 11:45:34 +01:00 |
|
Dane Springmeyer
|
4fbe353d4a
|
make stock ellipse a true ellipse
|
2012-07-25 19:29:43 -07:00 |
|
Dane Springmeyer
|
bd74d18f6d
|
no need anymore to have parse_stroke return a bool
|
2012-07-25 18:26:34 -07:00 |
|
Dane Springmeyer
|
9f064960e3
|
load_map: a stroke-width=0 is valid for markers now (for restyling svg)
|
2012-07-25 18:19:41 -07:00 |
|
Dane Springmeyer
|
2680f941eb
|
clean up unused code and includes
|
2012-07-25 09:31:57 -07:00 |
|
artemp
|
774e1b1d77
|
+ avoid applying scaling_factor twice for raster markers
+ cleanup
|
2012-07-25 11:43:43 +01:00 |
|
artemp
|
f0ada2b284
|
+ remove colorizer (@springmeyer - was it intentional?)
|
2012-07-25 10:00:08 +01:00 |
|
Dane Springmeyer
|
ad90db2eb0
|
remove duplicate declaration
|
2012-07-24 23:40:28 -07:00 |
|
Dane Springmeyer
|
1dfde7846b
|
default to not clipping for markers_symbolizer as a temporarily workaround for #1341
|
2012-07-24 19:56:08 -07:00 |
|
Dane Springmeyer
|
6396b443ef
|
default to MARKER_POINT_PLACEMENT for markers
|
2012-07-24 19:48:22 -07:00 |
|
Dane Springmeyer
|
074b385999
|
include what you use
|
2012-07-24 19:08:26 -07:00 |
|
Dane Springmeyer
|
b4f3d6da11
|
include what you use
|
2012-07-24 18:35:41 -07:00 |
|
Hermann Kraus
|
3860ae9447
|
Merge branch 'master' of github.com:mapnik/mapnik
|
2012-07-25 01:18:51 +02:00 |
|
Dane Springmeyer
|
ebf87969e4
|
move css_color and path_expression grammars to cpp
|
2012-07-24 15:43:32 -07:00 |
|
Hermann Kraus
|
3054145103
|
Merge branch 'master' of github.com:mapnik/mapnik
|
2012-07-25 00:21:30 +02:00 |
|
Hermann Kraus
|
d35821d058
|
Fix deprecation warnings. Part 1
Refs #1340.
|
2012-07-25 00:20:58 +02:00 |
|
Dane Springmeyer
|
3f444302f0
|
move wkb_generator.cpp to cpp to reduce grammar compilation burden in the python bindings
|
2012-07-24 15:04:39 -07:00 |
|
Dane Springmeyer
|
ec12d02209
|
iterate image_filters by const& - refs #1330
|
2012-07-24 14:01:46 -07:00 |
|
artemp
|
5ac4d2ec93
|
+ add raster markers support
|
2012-07-24 14:04:25 +01:00 |
|
artemp
|
553e767169
|
+ remove const modifiers
|
2012-07-24 09:44:14 +01:00 |
|
Dane Springmeyer
|
29deca8db8
|
shave off 4 seconds from xml_node.cpp compile time (16 -> 12) by moving transform grammar to cpp - refs #1267
|
2012-07-23 18:12:10 -07:00 |
|
Dane Springmeyer
|
348dfff0c7
|
move feature_grammar to cpp file reducing compile time mem usage for feature_collection_parser.cpp - refs #1267
|
2012-07-23 17:03:06 -07:00 |
|
Dane Springmeyer
|
8f803b9897
|
reduce build time of xml_tree by half and memory usage by 1/3 - refs #1267
|
2012-07-23 16:15:27 -07:00 |
|
Dane Springmeyer
|
9c5dbc20c5
|
properly skip empty geometries - refs #1333 and #1305 an #1132
+ remove redundant ar.size() > 0 check
+ use std::auto_ptr<geometry_type> to avoid memory leaks and
improve exception safety.
|
2012-07-23 10:39:34 +01:00 |
|
Dane Springmeyer
|
e36081a5c0
|
change geometry_utils::from_wkb to return a bool that signifies if at least one wkb path was parsed - refs #1333 and #1305
|
2012-07-20 15:09:01 -07:00 |
|
Dane Springmeyer
|
a968150f6b
|
fix compile after geometry util namespacing
|
2012-07-20 11:18:33 -07:00 |
|
artemp
|
fd209b2958
|
+ put labeling routines into its owm 'label' namespace
|
2012-07-20 17:32:38 +01:00 |
|
artemp
|
516f7c75b1
|
+ expose geometry type in expression grammar to allow following
filter expressions : [mapnik::geometry_type] = Polygon (#546)
|
2012-07-20 12:28:25 +01:00 |
|
artemp
|
8e2774fe84
|
+ remove debug output
|
2012-07-19 16:59:33 +01:00 |
|
artemp
|
ab0722efce
|
+ AGG: refactor process_markers_symbolizer to use vertex_converters
|
2012-07-19 16:37:54 +01:00 |
|
artemp
|
7b10400be9
|
+ update rendering code to work with new labeling methods
+ rename num_points() to size()
+ rename get_vertex() to vertex()
|
2012-07-19 16:36:44 +01:00 |
|
artemp
|
710b7eb04b
|
+ instantiate all vertex_converters permutations
+ pass parameter by const reference
|
2012-07-19 16:26:10 +01:00 |
|
artemp
|
c0ecb7e980
|
+ use member variable in ctor
|
2012-07-19 16:24:29 +01:00 |
|
Dane Springmeyer
|
b7630a3eb8
|
default to fully opaque default marker svg - fixes #1326
|
2012-07-18 14:07:52 -07:00 |
|
artemp
|
560aca20fa
|
Merge remote-tracking branch 'origin/master'
|
2012-07-17 17:11:59 +01:00 |
|
artemp
|
195b8ad887
|
+ affine transform for raster markers - #1279
|
2012-07-17 17:10:24 +01:00 |
|
Dane Springmeyer
|
6d95076954
|
sync grid renderer with agg for text/shields/point - refs #1309
|
2012-07-16 11:51:14 -07:00 |
|
Dane Springmeyer
|
89668e7b26
|
map bilinear8 to bilinear for now (TODO - add bilinear8 to AGG)
|
2012-07-16 09:42:01 -07:00 |
|
Dane Springmeyer
|
8fcf10be12
|
Merge branch 'master' of github.com:mapnik/mapnik
|
2012-07-15 20:39:21 -07:00 |
|
Dane Springmeyer
|
e9c5ab3d94
|
sync polygon rendering between agg and grid backends
|
2012-07-13 16:42:23 -07:00 |
|
artemp
|
0eddc2b5a0
|
+ apply scale_factor
|
2012-07-13 11:17:35 +01:00 |
|
artemp
|
1e6be7abc3
|
+ add accessor methods
|
2012-07-13 10:25:12 +01:00 |
|
Dane Springmeyer
|
bc8d6568f5
|
sync line rendering between grid and agg - refs #1309
|
2012-07-12 19:34:39 -07:00 |
|
Dane Springmeyer
|
214b24ed12
|
finish updating marker tests - closes #1304
|
2012-07-12 19:21:04 -07:00 |
|
Dane Springmeyer
|
fad8eff676
|
fix scaling of markers when render time resolution != 1
|
2012-07-12 19:01:59 -07:00 |
|
Dane Springmeyer
|
2fe306e34f
|
fix marker clamping and sync with agg renderer- refs #1309
|
2012-07-12 18:41:03 -07:00 |
|
artemp
|
461f5cfe08
|
+ use separate stroke-opacity and fill-opacity
|
2012-07-12 15:38:25 +01:00 |
|
artemp
|
279bfe7f0f
|
+ remove unused mutating methods
+ cleanup&style
|
2012-07-12 10:21:57 +01:00 |
|
artemp
|
c7960a2093
|
+ support clipping on/off in text_symbolizer_helper,
shield_symbolizer_helper and process_markers_symbolizer
TODO: revisit implementation to avoid code duplication
|
2012-07-11 14:47:39 +01:00 |
|
artemp
|
8cf9a5a082
|
+ more const correctness
|
2012-07-11 10:32:08 +01:00 |
|
artemp
|
35ab93667f
|
+ enforce const
+ pass arguments by const ref
|
2012-07-11 10:13:38 +01:00 |
|
Dane Springmeyer
|
3e895ac6b7
|
implement built in support for ellipse and arrow markers, make markers_symbolizer default to POINT placement and ellipse drawing, add back compatibility for deprecated marker-type property - refs #1285 and #1304
|
2012-07-10 22:38:53 -07:00 |
|
Dane Springmeyer
|
75d2d5bdca
|
remove duplicate variable
|
2012-07-10 22:34:46 -07:00 |
|
Dane Springmeyer
|
e67463661c
|
sync grid markers_symbolizer rendering with agg
|
2012-07-10 22:32:19 -07:00 |
|
Dane Springmeyer
|
bcc8da4dea
|
agg markers_symbolizer rendering: only create objects if actually rendering
|
2012-07-10 22:31:51 -07:00 |
|
Dane Springmeyer
|
3efab11bdb
|
start carrying through the geometry clipping extent in the grid renderer
|
2012-07-10 18:39:06 -07:00 |
|
Dane Springmeyer
|
c58cbe0341
|
remove reference to arrow.cpp
|
2012-07-10 18:12:06 -07:00 |
|
Dane Springmeyer
|
310ed4a05d
|
remove references to now unused mapnik::arrow
|
2012-07-10 18:11:43 -07:00 |
|
Dane Springmeyer
|
afa9dc3c7c
|
move svg marker modifiers to hpp file for re-use in other renderers
|
2012-07-10 18:09:19 -07:00 |
|
Dane Springmeyer
|
4f507e2fa3
|
expose the ability to parse an svg from an in-memory string
|
2012-07-10 08:59:35 -07:00 |
|
artemp
|
216768fbc0
|
+ output image-filters and direct-image-filters
|
2012-07-10 12:52:18 +01:00 |
|
Dane Springmeyer
|
79ef09d1a3
|
create grid feature context with correct sorting - closes #1306
|
2012-07-09 18:40:41 -07:00 |
|
Dane Springmeyer
|
cbf821c762
|
move key grid functions to cpp file
|
2012-07-09 17:32:36 -07:00 |
|
artemp
|
f656efaa49
|
+ apply dynamic width and/or height
+ make 'width/height' pair and 'transform' mutually exlusive
|
2012-07-09 10:22:19 +01:00 |
|
artemp
|
58bd55b075
|
+ allow independent width and height
+ better namings
|
2012-07-09 10:21:12 +01:00 |
|
artemp
|
20d935ea1e
|
+ remove explicit keyword
+ make width and height 'optional' - default init (0)
+ change members order
|
2012-07-09 10:18:41 +01:00 |
|
Dane Springmeyer
|
3823890b40
|
rollback 34c3128b0c , move 'scaling' to proper enum, and move image_scaling functions to new cpp/hpp
|
2012-07-06 16:45:58 -07:00 |
|
Dane Springmeyer
|
3ddd38116c
|
Merge branch 'master' of github.com:mapnik/mapnik
|
2012-07-06 11:54:04 -07:00 |
|
Dane Springmeyer
|
b5dc59cabc
|
remove serialization of get_mode, no longer needed
|
2012-07-06 11:53:54 -07:00 |
|
artemp
|
ee7f72dcce
|
+ fix compilation issue
|
2012-07-06 14:03:44 +01:00 |
|
Dane Springmeyer
|
c44b92193f
|
serialize all properties shared by all symbolizers
|
2012-07-05 17:23:48 -07:00 |
|
Dane Springmeyer
|
9beceae298
|
shuffle base parsing for shields so it is clearer the call is being made
|
2012-07-05 17:10:00 -07:00 |
|
Dane Springmeyer
|
2f45de8fea
|
serialize comp-op in save_map - refs #1292
|
2012-07-05 17:06:41 -07:00 |
|
Dane Springmeyer
|
0de815ba03
|
remove raster mode serialization and a few std::clog references in save_map and load_map
|
2012-07-05 16:07:38 -07:00 |
|
Dane Springmeyer
|
9dd69d091b
|
merge with master
|
2012-07-05 15:40:16 -07:00 |
|
Dane Springmeyer
|
d8c719f05e
|
finish exposing scale_factor to cairo_renderer
|
2012-07-05 14:54:58 -07:00 |
|
Dane Springmeyer
|
f7383b81fb
|
properly pass the scale_factor to the cairo_renderer_base
|
2012-07-05 11:12:46 -07:00 |
|
artemp
|
59c1f9ac21
|
+ inherit stroke, stroke-width and fill if provided in markers_symbolizer
|
2012-07-05 17:17:35 +01:00 |
|
artemp
|
9d756165e0
|
+ update to work with optional stroke (markers)
|
2012-07-05 17:16:11 +01:00 |
|
artemp
|
847f284a97
|
+ make stroke and fill optional
+ return expression_ptr by const ref
+ change init order
|
2012-07-05 17:11:52 +01:00 |
|
Dane Springmeyer
|
c677b4f47c
|
ensure the bounds used for avoid-edges and minimum-padding is non-buffered - refs #1283
|
2012-07-04 18:34:04 -07:00 |
|
Hermann Kraus
|
6af5fd7151
|
Merge branch 'master' of github.com:mapnik/mapnik
|
2012-07-04 21:00:59 +02:00 |
|
Hermann Kraus
|
82d7a63ef6
|
Replace remaining parse_expression() calls.
Closes #1168.
|
2012-07-04 20:59:36 +02:00 |
|
Hermann Kraus
|
dd9276b1ef
|
Reuse expression grammar for TextSymbolizer.
Refs #1168.
|
2012-07-04 20:55:03 +02:00 |
|
Hermann Kraus
|
7a967d7047
|
Correctly perform get_text() on <xmltext> nodes.
|
2012-07-04 20:51:34 +02:00 |
|
artemp
|
9b14a7206a
|
remove arrow/ellipse ad-hoc markers - see #1285
|
2012-07-04 14:50:11 +01:00 |
|