Artem Pavlenko
|
f0d579f742
|
+ fixed ctor
|
2010-06-15 13:43:27 +00:00 |
|
Artem Pavlenko
|
e572b83d3a
|
+ fix copy ctor in symbolizer_with_image
|
2010-06-15 13:36:41 +00:00 |
|
Artem Pavlenko
|
b27357848d
|
+ set opacity on markers_symbolizer
|
2010-06-15 13:36:33 +00:00 |
|
Artem Pavlenko
|
9c47291f88
|
+ use text-opacity in text_renderer
|
2010-06-15 12:28:13 +00:00 |
|
Artem Pavlenko
|
f7fe6dbf15
|
+ apply opacity and text-opacity
|
2010-06-15 12:28:06 +00:00 |
|
Artem Pavlenko
|
d69dfe6656
|
+ update load/save opacity/text-opacity
|
2010-06-15 12:27:58 +00:00 |
|
Artem Pavlenko
|
d4643e6d87
|
+ add get/set opacity impl
|
2010-06-15 12:27:50 +00:00 |
|
Artem Pavlenko
|
9826cf98c5
|
+ move opacity parameter to the base class
(symbolizer_with_image)
+ rename opacity to text_opacity in text_symbolizer
to avoid name clashing
|
2010-06-15 12:27:42 +00:00 |
|
Artem Pavlenko
|
f43c36daad
|
+ separate state mutating svg ops from underlying data
to allow multi-threded access to svg symbols (SVG commands
are stored in std::vector<vertex_type> )
|
2010-06-14 16:38:02 +00:00 |
|
Artem Pavlenko
|
6030efab50
|
+ specialise svg parsers to expect const char* input
|
2010-06-14 13:18:17 +00:00 |
|
Artem Pavlenko
|
d0b1e62c2d
|
+ removed deprecated direct access to io_ptr
|
2010-06-14 13:18:09 +00:00 |
|
Artem Pavlenko
|
d410377f10
|
+ corrected <defs> skipping logic
|
2010-06-14 10:29:37 +00:00 |
|
Artem Pavlenko
|
b309bba36e
|
+ pass scale_factor to feature_style_processor
|
2010-06-14 10:29:29 +00:00 |
|
Artem Pavlenko
|
68522e39fc
|
+ use agg implementation for circle,ellipse and rounded_rect
|
2010-06-13 13:45:59 +00:00 |
|
Artem Pavlenko
|
30b87400ca
|
+ put rasterizer def into sepatate header
|
2010-06-13 12:03:42 +00:00 |
|
Artem Pavlenko
|
d272326d88
|
+ skip <defs>...</defs>
|
2010-06-11 14:09:05 +00:00 |
|
Artem Pavlenko
|
7f03186cdf
|
+ don't recentre SVG markers
|
2010-06-10 16:35:01 +00:00 |
|
Artem Pavlenko
|
b1b730d94c
|
+ add middle_point() method
+ fixed 'point' positioning
in shield_symbolizer
|
2010-06-10 16:34:52 +00:00 |
|
Artem Pavlenko
|
d39ed1d364
|
+ apply scale_factor in agg_renderer
|
2010-06-10 14:12:28 +00:00 |
|
Artem Pavlenko
|
11fad966cb
|
+ add experimental 'scale_factor'
TODO: discuss with Carlos and Dane if this is a better approach
than having scale_factor in mapnik::Map object.
|
2010-06-10 14:12:20 +00:00 |
|
Artem Pavlenko
|
25dcebc18a
|
+ correct 'opacity' parameter logic
(SVG spec: 'The uniform opacity setting to be applied across an entire object.')
|
2010-06-10 14:12:12 +00:00 |
|
Artem Pavlenko
|
4dcef9d1a3
|
+ disable setting paths orientation
|
2010-06-10 14:11:55 +00:00 |
|
Artem Pavlenko
|
9d98df89f1
|
+ parse 'transform' parameter
|
2010-06-10 14:11:48 +00:00 |
|
Artem Pavlenko
|
48921a412d
|
+ refactor (TODO!)
|
2010-06-08 11:14:31 +00:00 |
|
Artem Pavlenko
|
4a986bc5ff
|
+ format
|
2010-06-08 11:14:23 +00:00 |
|
Artem Pavlenko
|
2b3858df07
|
+ cache SVG marker bounding box
|
2010-06-08 10:16:31 +00:00 |
|
Artem Pavlenko
|
c500451cd8
|
+ refactor SVG parsing/rendering code into separate logical units
to facilitate multi-threading:
* SVG data (todo: enforce const)
* SVG parsing/reading mutable
* SVG rendering (read-only access to the data)
|
2010-06-08 10:16:22 +00:00 |
|
Artem Pavlenko
|
a47f6214a7
|
+ add markers_symbolizer.cpp
|
2010-06-06 12:10:36 +00:00 |
|
Dane Springmeyer
|
1b4f034ee5
|
add header needed for fopen on linux in jpeg_reader.cpp
|
2010-06-03 22:43:25 +00:00 |
|
Dane Springmeyer
|
6fc4d6f780
|
add support for reading jpeg images - closes #518
|
2010-06-03 21:24:58 +00:00 |
|
Dane Springmeyer
|
9804e7e90d
|
scons: make libjpeg dependency optional (still required by default)
|
2010-06-03 19:50:27 +00:00 |
|
Dane Springmeyer
|
7d8bdb2f94
|
avoid compiler warning about uninittialized variable on osx
|
2010-06-03 18:46:13 +00:00 |
|
Artem Pavlenko
|
f67f6c4ec1
|
+ add transformation matrix support
|
2010-06-03 12:36:00 +00:00 |
|
Artem Pavlenko
|
bc5730f006
|
+ shield_symbolizer: support SVG images rendering
TODO: This is a first take, proper refactoring required!!!
|
2010-06-03 12:35:51 +00:00 |
|
Artem Pavlenko
|
5e43fefdba
|
+ don't qualify with mapnik:: namespace
|
2010-06-03 12:35:43 +00:00 |
|
Artem Pavlenko
|
d5a8f89d64
|
+load transform parameter in markers_symbolizer
|
2010-06-03 12:35:31 +00:00 |
|
Artem Pavlenko
|
f72fc9b397
|
+ move transformation matrix to the parent class
|
2010-06-03 12:35:11 +00:00 |
|
Artem Pavlenko
|
b6414778d6
|
+ add transformation matrix
|
2010-06-03 12:35:02 +00:00 |
|
Artem Pavlenko
|
816ebd2017
|
+ remove mapnik:: (we're in mapnik namespace!)
|
2010-06-03 12:34:53 +00:00 |
|
Artem Pavlenko
|
ac468f05c2
|
+ removed commented out lines
|
2010-06-03 12:34:45 +00:00 |
|
Artem Pavlenko
|
6cc6eac442
|
+ move marker init out of geometry loop
|
2010-06-02 12:53:23 +00:00 |
|
Artem Pavlenko
|
246731874b
|
+ apply 'mapnik-format' to *.cpp *.hpp
|
2010-06-02 11:03:30 +00:00 |
|
Artem Pavlenko
|
9069df6492
|
+ cleanup
|
2010-06-02 10:53:13 +00:00 |
|
Dane Springmeyer
|
218c75385d
|
complete XML syntax change from CSSParameter to attributes (for BuildingSymbolizer and RasterSymbolizer) and update tests
|
2010-06-01 21:58:24 +00:00 |
|
Artem Pavlenko
|
484dce8943
|
+ impl transform parameter (follow SVG spec) in point_symbolizer
|
2010-06-01 15:27:19 +00:00 |
|
Artem Pavlenko
|
b5362aa71a
|
+ tidy
|
2010-06-01 13:31:29 +00:00 |
|
Artem Pavlenko
|
9beb12b56b
|
+ split agg_renderer impl into different
translation units
+ add SVG support in point_symbolizer
|
2010-06-01 13:31:18 +00:00 |
|
Artem Pavlenko
|
12b74bc1cc
|
+ split agg_renderer implementation into diff
translation units
|
2010-06-01 13:31:08 +00:00 |
|
Dane Springmeyer
|
33145b18ae
|
fix default initializations in markers_symbolizer
|
2010-05-30 16:09:39 +00:00 |
|
Dane Springmeyer
|
89f6b32b76
|
apply patch from Herm from #553 adding support for markers_symbolizer to Cairo renderer, new placement finder, and fill/spacing/overlap options - works nicely with new svg support being tested against markers_symbolizer
|
2010-05-30 03:16:51 +00:00 |
|
Dane Springmeyer
|
c9a4433666
|
make sure to return marker from cache, as noticed by Herm and mentioned in #553
|
2010-05-30 03:09:22 +00:00 |
|
Artem Pavlenko
|
f1986d1b85
|
+ remove expat deps
+ correct includes
|
2010-05-28 16:34:58 +00:00 |
|
Artem Pavlenko
|
83c0f1ca59
|
+ remove agg_svg_parser
|
2010-05-28 16:34:45 +00:00 |
|
Artem Pavlenko
|
a15e86e528
|
+ add libxml2 based svg parser implementation
|
2010-05-28 16:34:34 +00:00 |
|
Artem Pavlenko
|
6a5ea3f1a1
|
+ SVG markers rendering
|
2010-05-27 14:21:31 +00:00 |
|
Artem Pavlenko
|
bb0ae08280
|
+ marker_cache impl
|
2010-05-27 11:41:02 +00:00 |
|
Artem Pavlenko
|
823b7ba0fc
|
+ SVG markers initial import
|
2010-05-27 11:19:09 +00:00 |
|
Artem Pavlenko
|
4584b05ff0
|
+ small correction
|
2010-05-27 11:18:53 +00:00 |
|
Artem Pavlenko
|
e6e165f1e0
|
+ use path-like geometries
|
2010-05-27 10:20:41 +00:00 |
|
Artem Pavlenko
|
cbf1356e4d
|
+ parse 'orientation' parameter
|
2010-05-27 10:20:10 +00:00 |
|
Artem Pavlenko
|
2085b3bc08
|
+ apply orientation from text_symbolizer
+ fix building symbolizer
|
2010-05-27 10:20:03 +00:00 |
|
Artem Pavlenko
|
258a62616e
|
+ implement rotated text logic in placement finder
|
2010-05-27 10:19:47 +00:00 |
|
Artem Pavlenko
|
77c31e8643
|
+ add orientation parameter
orientation="<expr>" e.g
orientation="10+35" -> rotate by 45 degrees anti-clockwise
(TODO: consider using standard SVG transform!)
|
2010-05-27 10:19:39 +00:00 |
|
Alberto Valverde
|
38e1570b8b
|
added a max_value attribute to color_band to handle the case of the last band more gracefully
|
2010-05-06 07:21:11 +00:00 |
|
Dane Springmeyer
|
a688c36fdb
|
serialize the experimental MarkersSymbolizer and avoid serializing defaults of GlyphSymbolizer unless requested
|
2010-04-15 21:42:28 +00:00 |
|
Dane Springmeyer
|
63ab05c112
|
ensure proper setting of allow_overlap and opacity when contructing a point_symbolizer without an image file
|
2010-04-15 06:09:21 +00:00 |
|
Artem Pavlenko
|
c20f16358c
|
+ save PolygobSymbolizer properties as attributes
|
2010-04-09 18:47:27 +00:00 |
|
Artem Pavlenko
|
23aac57a1f
|
+ use attributes instead of CssParameter
|
2010-04-09 18:47:19 +00:00 |
|
Artem Pavlenko
|
f776f8cd1e
|
+ add dash_offset
|
2010-04-09 18:46:41 +00:00 |
|
Artem Pavlenko
|
ca20f80ea8
|
+ use attributes for LineSymbolizer properties
|
2010-04-09 18:46:33 +00:00 |
|
Artem Pavlenko
|
5fcc311764
|
+ add stroke-dashoffset property
+ replace <CssParameter name='xxx'>yyy</CssParameter>
element with 'xxx'=yyy attribute
|
2010-04-09 18:46:25 +00:00 |
|
Artem Pavlenko
|
5890f17df3
|
+ directly ctor default mapnik::color to avoid css color parsing
|
2010-03-24 18:02:10 +00:00 |
|
Artem Pavlenko
|
1a2b320252
|
+ sanitize header inclusion a bit
|
2010-03-24 18:01:53 +00:00 |
|
Alberto Valverde
|
c79865586b
|
added an angle_mode attribute to GlyphSymbolizer to define the way the angle expression should be interpreted: as an azimuth or as a trigonometric angle
|
2010-03-22 11:21:17 +00:00 |
|
Alberto Valverde
|
a613dc6397
|
Created python binding to memory_datasource which can be added Features built programaticcaly. See tests for sample use until docs are done. #528 is almost closed.
|
2010-03-19 16:16:15 +00:00 |
|
Alberto Valverde
|
2e04c5422a
|
fixed serialization of expressions in glyph_symbolizer
|
2010-03-19 11:20:16 +00:00 |
|
Alberto Valverde
|
2d601f1bd7
|
fixed color's to_string method since alpha seems to no longer be parsed as a double. serializing a color to xml and deserializing it back did not work before
|
2010-03-19 11:20:00 +00:00 |
|
Alberto Valverde
|
aea5dd563a
|
XML de/serialization for glyph_symbolizer. Some issues remain regarding unicode expr
|
2010-03-19 11:19:43 +00:00 |
|
Alberto Valverde
|
1e2ffb22b7
|
cairo rendering for the glyph_symbolizer. Small refactoring in cairo_context::add_text to pass the paramaters which were picked up from the text_symbolizer param (size, fill, halo_radius and halo_fill) explicitly. This allows the glyph_symbolizer to piggy back on that functionality without specilizing add_text() for the glyph_symbolizer (which would have involved heavy amounts of copy+paste or a more elaborate refactoring strategy. Please ping me if this was not a good idea
|
2010-03-19 09:33:57 +00:00 |
|
Alberto Valverde
|
e91c41e494
|
removed unneeded parenthesis
|
2010-03-19 09:33:41 +00:00 |
|
Alberto Valverde
|
f5409000f3
|
cosmetic changes and comments
|
2010-03-19 09:33:25 +00:00 |
|
Alberto Valverde
|
d098c98c5e
|
pre-eliminary GlyphSymbolizer implementation. TODO: XML de/serializing. more tests. remove workaround mentioned in test
|
2010-03-18 20:05:08 +00:00 |
|
Alberto Valverde
|
31c3d20e43
|
modified the old arrow_symbolizer interface on glyph_symbolizer and documented it
|
2010-03-18 20:04:51 +00:00 |
|
Alberto Valverde
|
fc3a1beeef
|
initial skeleton of glyph_symbolizer (coarsely ported from arrow_symbolizer). Mapnik compiles but symbolizer does nothing useful yet and is going to be heavily modified to make use of expressions to be general enough to be usable for purposes other than rendering arrows representing vector direction/intensity
|
2010-03-18 20:04:35 +00:00 |
|
Artem Pavlenko
|
e7bfba10fe
|
+ enanble installation of mapnik2 side by side with mapnik
|
2010-03-17 21:03:02 +00:00 |
|
Artem Pavlenko
|
83b20c3036
|
Revert "re factor expression grammar/parser stuff"
This reverts commit c58b8c4f71813a2490cf135573009c92be1a90c4.
|
2010-03-15 21:08:56 +00:00 |
|
Artem Pavlenko
|
0f8deb5e73
|
re factor expression grammar/parser stuff
|
2010-03-15 21:08:46 +00:00 |
|
Dane Springmeyer
|
d7256295ae
|
port r1680/r1683/r1690 from 0.7.1-dev branch to trunk
|
2010-03-12 18:23:06 +00:00 |
|
Alberto Valverde
|
e9748abc5f
|
xml de/serialization support for RasterColorizer
|
2010-03-12 14:49:50 +00:00 |
|
Alberto Valverde
|
807881c47a
|
XML deserialization support for a raster_symbolizer with a colorizer
|
2010-03-12 14:49:34 +00:00 |
|
Alberto Valverde
|
2f1d60b666
|
pre-eliminary raster coloring support
|
2010-03-12 13:34:13 +00:00 |
|
Dane Springmeyer
|
6b76b3b9e8
|
properly serialize the map_buffer when saving map
|
2010-03-11 23:21:22 +00:00 |
|
Dane Springmeyer
|
3a44dd3258
|
+ use rint(v) instead of int(round(v)) + add rint implementation - msvc hasn't got one + minor cleanups
|
2010-03-11 23:19:12 +00:00 |
|
Artem Pavlenko
|
c3a0b1a72f
|
+ revert to a024c947499994e1e8aaaff2b8ea73a8eec489dd
|
2010-03-08 11:55:15 +00:00 |
|
Dane Springmeyer
|
b8511eca65
|
restore default behavior of PointSymbolizer when used without an image, by defaulting to 4x4 black pixel - TODO - expose colors, shapes, and size for this in the future
|
2010-03-03 03:26:12 +00:00 |
|
Dane Springmeyer
|
b540dab73b
|
apply slighly modified (env->box2d) mapnik-trunk.mr.raster-position2.diff from mar_rud to close #475
|
2010-03-03 03:23:53 +00:00 |
|
Dane Springmeyer
|
dd36810321
|
print warning if images are not found
|
2010-03-02 03:31:50 +00:00 |
|
Dane Springmeyer
|
07186fc6bb
|
ensure shapeindex links against boost system if available (boost >=1.35) to avoid potential problems in indirect linking on linux (essentially directly dynamically linking like we previously only did on os x) - closes #517
|
2010-02-21 01:00:09 +00:00 |
|
Dane Springmeyer
|
e03c997024
|
assume byteorder arrives in native arch (from postgis), and therefore ensure byteswapping for wkb on big endian systems - closes #515 - TODO check breakage in other plugins as per #516 - thanks Brad Simpson for the report and fix
|
2010-02-19 07:50:47 +00:00 |
|
Dane Springmeyer
|
2cd0b55e88
|
enforce default gamma function - improves upon #428, closes #512
|
2010-02-09 17:28:17 +00:00 |
|