Commit graph

4441 commits

Author SHA1 Message Date
Robert Coup
bea611a185 Fix positioning problem with scale() transforms for SVG symbols. Centering transform applied in the wrong order. Thanks to Toby Collett. 2011-01-31 09:56:31 +00:00
Dane Springmeyer
78ec8b1724 fix reading of height value for building_symbolizer - TODO: make expression (#704) 2011-01-28 20:46:49 +00:00
Dane Springmeyer
65a19d1f8b forward declare agg:trans_affine as a struct in cairo_renderer.hpp as per original declaration 2011-01-27 04:22:11 +00:00
Dane Springmeyer
a8328e1588 forward declard agg:trans_affine as a struct as per original declaration 2011-01-27 04:20:04 +00:00
Dane Springmeyer
5bf6efafb0 apply patch from Craig de Stigter for better scaling methods using agg image filters - closes #656 2011-01-27 03:47:54 +00:00
Dane Springmeyer
790e6c4282 clean up handling of raster_symbolizer filter_factor by using boost visitation instead of boost::get() 2011-01-27 03:20:39 +00:00
Dane Springmeyer
87222b2014 expose filter_factor on raster_symbolizer - patch from Craig de Stigter 2011-01-27 03:19:27 +00:00
Dane Springmeyer
1dd2ef690d handle colortable for paletted images in gdal plugin - closes #50 2011-01-27 03:11:22 +00:00
Dane Springmeyer
bcb9a66acf struct to hold directives to send to raster symbolizer 2011-01-27 03:03:46 +00:00
Dane Springmeyer
57f15aa74e forward declare agg:trans_affine and mapnik::marker classes to allow compiling against libmapnik without agg headers - see #703 2011-01-26 09:19:00 +00:00
Dane Springmeyer
481aeb6c98 comment debug output 2011-01-26 09:17:01 +00:00
Dane Springmeyer
ec0270ad05 enable rendering a list of svg like $ svg2png *svg 2011-01-26 09:14:57 +00:00
Robert Coup
578f6e4cfc Add a .gitignore file 2011-01-26 01:41:11 +00:00
Dane Springmeyer
7686af3b7b no need for fancy transforms 2011-01-26 01:27:16 +00:00
Robert Coup
ed306d7cbe #654 add svg2png utility 2011-01-26 01:19:01 +00:00
Robert Coup
386a4f5daf #654 - add support for linear and radial gradients in SVG symbols. Thanks to Toby Collett for the coding & Paul Wicks for funding. 2011-01-26 01:18:40 +00:00
Dane Springmeyer
a79018d0a0 make sure to check relative paths behavior up front, and handle background-image properly - closes #702 2011-01-25 20:47:56 +00:00
Dane Springmeyer
9491fef0dd add a test of using background image with a relative path 2011-01-25 20:23:15 +00:00
Dane Springmeyer
a2e933309a demo of drawing a line as a second geometry within the feature 2011-01-25 02:07:36 +00:00
Carlos López
85bfb11c03 SVG renderer grammars working with iterator of geometry, but generating wrong path vertexes (all vertexes are output as 0s). 2011-01-23 23:10:05 +00:00
Marcin Rudowski
5a55d99f9a making TextSymbolizer label placement consistant with agg renderer to give more similar output 2011-01-23 22:45:28 +00:00
Carlos López
d270a555eb Added missing file 'geometry_iterator.hpp'. The iterator is still unused. 2011-01-22 16:45:23 +00:00
Carlos López
bdfaee32a6 SVG_RENDERER is compiling now, but it won't generate path data, only simple svg tags.
+ It is working with vertex_vector, instead of vertex_vector2.
+ The body of every function related to path generation was commented out so mapnik would compile with SVG_RENDERER=True.
+ TODO: Create an iterator for geometry.
2011-01-22 06:47:20 +00:00
Carlos López
d5d9858a84 SVG_RENDERER grammars adapted to use vertex_vector instead of vertex_vector2 and BOOST_FUSION_ADAPT_STRUCT instead of BOOST_TUPLE_ADAPT_CLASS. This changes have not been tested though. There's still a compile error because there is no iterator in class geometry anymore. 2011-01-18 03:43:53 +00:00
Artem Pavlenko
98b7f62155 + remove template from mapnik::rule
+ rename globaly rule_type -> rule
 ( ticket #552 )
2011-01-13 21:35:01 +00:00
Dane Springmeyer
0d310d5ba3 scons: make sure to handle adding custom flags onto mapnik_python.cpp compile *even* if we do not know the SVN_REVISION 2011-01-13 20:53:18 +00:00
Dane Springmeyer
2de2edc171 make sure to put cairo/cairomm ldflags into the linkflags for the _mapnik.so environment 2011-01-13 20:36:29 +00:00
Dane Springmeyer
d54a767dd4 make sure to put cairo/cairomm ldflags into the linkflags for the libmapnik environment 2011-01-13 20:32:19 +00:00
Dane Springmeyer
7de23d6c95 formatting code comments 2011-01-13 18:51:20 +00:00
Dane Springmeyer
2f369ff407 add a few missing include guards 2011-01-13 18:45:40 +00:00
Dane Springmeyer
d25f6ed692 remove old (now unused) copy of pre-release ptree 2011-01-12 05:44:11 +00:00
Dane Springmeyer
e0a765429f if a directory is not passed to register_fonts, then assume it is a font file and try registering it 2011-01-11 00:15:57 +00:00
Dane Springmeyer
2fa027855a don't return reference to temporary, and intialize metawriter values 2011-01-10 23:04:34 +00:00
Dane Springmeyer
9cf0a8deca add second example of usage of bbox token for customization of placement of the geometry query in the PostGIS plugin 2011-01-08 01:14:35 +00:00
Dane Springmeyer
c027a4d72b osx: fairly simply script to create pkg from pmdoc and then bundle into a dmg 2011-01-06 22:38:45 +00:00
Dane Springmeyer
a96b257c96 osx: add pkg directory to put built installer and add media for install, while unversioning installer .pmdoc because it gets too large 2011-01-06 22:20:10 +00:00
Dane Springmeyer
464e51942c work around abi issues between nodes's v8 versions by compiling a version of node-mapnik against every one known to man 2011-01-06 22:00:11 +00:00
Dane Springmeyer
a5b714fcd2 osx: more touchups around python and node building 2011-01-06 01:25:15 +00:00
Dane Springmeyer
921f7820c1 osx: boost build touchups 2011-01-06 00:32:18 +00:00
Dane Springmeyer
c68512ba17 remove deleted file 2011-01-05 20:52:47 +00:00
Dane Springmeyer
b4d092722d fixup return types for mapnik-config and add test of basic returns 2011-01-05 20:52:08 +00:00
Dane Springmeyer
52eb8d3619 revert r2496 2011-01-05 18:15:19 +00:00
Dane Springmeyer
367f2b3089 revert r2497 2011-01-05 18:13:33 +00:00
Dane Springmeyer
c4699ec49f osx: work towards versioned node binaries 2011-01-05 03:32:23 +00:00
Dane Springmeyer
1716f4ecd4 osx: customize include of headers 2011-01-05 03:30:06 +00:00
Dane Springmeyer
65e96cf2b7 more cleanup after removal of unneeded cpp file 'shapefile.cpp' 2011-01-05 02:07:12 +00:00
Dane Springmeyer
e98161edf1 cast away const to allow clang compile 2011-01-05 02:03:43 +00:00
Dane Springmeyer
0614f5de24 support for boost trunk (1.46) by enforcing boost filesystem v2 for now 2011-01-05 01:27:11 +00:00
Dane Springmeyer
6f0de6d76d scons: remove reference to deleted cpp file 2011-01-05 01:25:31 +00:00
Dane Springmeyer
d257b4701c remove uneeded cpp file 2011-01-04 22:35:06 +00:00