Commit graph

437 commits

Author SHA1 Message Date
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
6c0fb17236 re-expose next() iterator, previously removed in r1121 2011-04-29 19:59:00 +00:00
Dane Springmeyer
52f7092df5 better named kwargs for render_grid 2011-04-29 19:31:43 +00:00
Dane Springmeyer
2e4a1611b1 allow markers_symbolizer to be created from python 2011-04-29 17:39:11 +00:00
Dane Springmeyer
dffe53036e grid output - only serialize requested fields (and not fields potentially collected in expressions 2011-04-27 19:53:56 +00:00
Dane Springmeyer
9548492036 add python binding to grid_renderer allowing conversion of grid buffer into json 2011-04-26 23:51:29 +00:00
Dane Springmeyer
6d7ca1ac6f move mapnik::value -> python value conversion to separate header fro reuse 2011-04-26 17:39:21 +00:00
Dane Springmeyer
39a2f9ef6a update all future versions referenced to be >= 2.0.0 2011-04-19 00:20:50 +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
6549d090cc throw in python bindings if proj_transform fails 2011-04-14 02:09:24 +00:00
Dane Springmeyer
383d8a3f15 add proj_transform forward/backward box2d implementation 2011-04-13 19:40:44 +00:00
Dane Springmeyer
903d1b49ef add a clip method to mapnik::box2d 2011-04-13 19:19:23 +00:00
Dane Springmeyer
62e62ebe76 avoid unused parameter warnings 2011-04-04 14:45:00 +00:00
Dane Springmeyer
7cc4f345cf avoid deprecated string conversion warning in pycairo by overriding Pycairo_Import macro and casting away const to please the c/c++ borderlands 2011-04-04 04:40:18 +00:00
Dane Springmeyer
a7410da0d8 avoid unused parameter compiler warnings 2011-04-04 04:37:08 +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
819a67fd42 catch errors in build time python pkg-config parsing - closes #738 2011-04-02 03:12:58 +00:00
Dane Springmeyer
84ea9e6101 avoid clang++ -pedantic compiler warnings 2011-04-01 06:24:57 +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
Dane Springmeyer
c2654fd95d add missing file from previous commit 2011-03-17 05:46:55 +00:00
Artem Pavlenko
e580078d26 + apply MetaWriter patch from zerebubuth
( see #735 for details )
2011-03-16 13:32:04 +00:00
Dane Springmeyer
bdd2441a86 fix and re-enable point symbolizer pickling 2011-03-02 14:39:41 +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
Dane Springmeyer
0a4b5591a1 comment unused function 2011-03-01 16:37:53 +00:00
Hermann Kraus
4af0696b9d Add support for multiple placements.
NOTE: In some places indention is not updated to keep this patch readable. This will be fixed in the next revision.
2011-02-28 13:17:46 +00:00
Artem Pavlenko
8ca85c95c6 + reflect 'area' method 2011-02-28 12:41:07 +00:00
Artem Pavlenko
e54eb342e2 + from_wkt factory method
+ expose mapnik::eGeomType enum
2011-02-28 12:40:59 +00:00
Dane Springmeyer
a317c5d051 add 'capitalize' option to text-transform - closes #715 2011-02-21 20:43:26 +00:00
Dane Springmeyer
c5833a6db8 remove unmaintained autotools scripts 2011-02-04 22:22:16 +00:00
Dane Springmeyer
fd2d9d7ff3 enable aliased lines using stroke-gamma for line_symbolizer - closes #689 2011-02-02 01:46:14 +00:00
Dane Springmeyer
7043c416fa enable if/else type behavior in rules using style level keyword to control whether all rules will be evaluated or just the first that matches - closes #706 - thanks to original patch from kkaefer 2011-02-01 22:55:50 +00:00
Dane Springmeyer
53d72b398e +reflect placement for point_sym in python 2011-02-01 19:28:01 +00:00
Dane Springmeyer
75649b8863 add 'interior' point placement option to point_symbolizer - closes #709 2011-02-01 08:16:32 +00:00
Dane Springmeyer
e803b1c2ec add 'interior' placement option to text_symbolizr - patch from Toby Collet - closes #709 2011-02-01 08:13:08 +00:00
Dane Springmeyer
87222b2014 expose filter_factor on raster_symbolizer - patch from Craig de Stigter 2011-01-27 03:19:27 +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
eb60010a05 use 'import sys' syntax for consistency 2011-01-03 22:33:57 +00:00
Dane Springmeyer
9775a1ee5b expose filename (path_expression string) as property on all symbolizers_with_image (TODO consider exposing actual PathExpression) - and fixup displacement get/set on various symbolizers, moving to properties for consistency 2010-12-14 00:24:34 +00:00
Dane Springmeyer
c4da7b1b38 fallback to DLFCN module if ctypes does not have RTLD_NOW (mips and solaris) 2010-12-11 02:09:16 +00:00
Dane Springmeyer
ed22d073c3 fix serialization of missing shield symbolizer properties 2010-12-11 02:07:47 +00:00
Dane Springmeyer
75893b13a7 throw in the python bindings if we cannot parse the svg transform string 2010-12-10 23:19:50 +00:00
Robert Coup
408de0c223 Add bbox parameter to GDAL Datasource to allow overriding envelope, with Python bindings. Fixes #680 2010-12-09 21:41:25 +00:00
Dane Springmeyer
3fcd62f719 scons: solaris expects 64 bit python modules to be in a subdirectory called '64' that appears to not need an __init__.py 2010-12-01 02:01:12 +00:00
Robert Coup
91a0719778 #664 enable svg-style transforms to be set via python bindings. eg sym.transform = 'scale(0.4, 1.0) rotate(0.3)' 2010-11-29 20:58:30 +00:00
Dane Springmeyer
b24dd5df91 scons: make sure to only create install targets if actually installing - needed to prevent installing during uninstall action if not previously installed 2010-11-29 20:21:02 +00:00
Dane Springmeyer
c9feedf5ad ogcserver devel has moved to github, issue deprecation warning 2010-11-22 16:17:58 +00:00
Dane Springmeyer
73270bd76b translate a C++ mapnik::value_error into a python ValueError 2010-11-15 03:30:23 +00:00
Dane Springmeyer
58c72fc1c9 reflect new box2d<double>from_bbox() function in python, and add a new value_error class to represent parsing errors (TODO: translate in python to ValueError and throw from other parsers like expression and color) 2010-11-15 03:21:43 +00:00