Commit graph

465 commits

Author SHA1 Message Date
Dane Springmeyer
22c39d91ba scons: rename all SConscript files to more friendly name of 'build' with a python extension for quick syntax detection in editors 2011-08-30 05:32:01 +00:00
Dane Springmeyer
2c75feed65 scons: fix bug that propagated libmapnik CXXFLAGS too liberally (in this case to plugins) 2011-08-29 23:01:33 +00:00
Dane Springmeyer
d19cf41d05 scons: ditch brittle handling of cairo flags for python bindings, moving to more dimple reading of paths used for libmapnik 2011-08-29 22:17:13 +00:00
Dane Springmeyer
8172dd4550 scons: fixup python paths 2011-08-12 21:43:43 +00:00
Dane Springmeyer
a506c7ba29 fix typo 2011-08-12 00:14:34 +00:00
Dane Springmeyer
82ac99611e add LINKING option to control whether libmapnik is build static or shared and RUNTIME_LINK options to trigger dependency flags to compile against static libs 2011-08-11 19:14:00 +00:00
Dane Springmeyer
46af5ff222 python: shuffle mapnik::value -> python object convertor, and utilize for conversion to correct type in expression evalution 2011-07-27 02:36:59 +00:00
Artem Pavlenko
8bfd5956bc + add remaining compositing modes
(http://www.w3.org/TR/2009/WD-SVGCompositing-20090430/)
  FIXME: move compositing into core lib
2011-07-13 13:23:18 +00:00
Dane Springmeyer
8ec62942ff expressions should evaluate to proper booleans in python 2011-07-12 00:58:37 +00:00
Dane Springmeyer
a6a8e8348a return string repr of types rather than dodgy type conversion in python 2011-07-12 00:58:02 +00:00
Dane Springmeyer
57827813fb handle boolean conversion to python 2011-07-11 22:27:40 +00:00
Dane Springmeyer
563ae20a6e return python 'None' for null values - otherwise we hit runtime error of 'SystemError: NULL result without error in PyObject_Call' 2011-07-11 19:27:38 +00:00
Dane Springmeyer
e84119aed9 directly link libmapnik in plugins (not just darwin) - patch from Stella L. - closes #790 2011-07-05 23:41:17 +00:00
Dane Springmeyer
f47e350121 use 'alignment' keyword in python to match XML in polygon_pattern_symbolizer, closes #203 2011-06-28 23:22:06 +00:00
Dane Springmeyer
476e04c4c7 add gamma to polygon-pattern-symbolizer, useful for avoiding AA affects at tile edges so that global patterns can have seamless alignment 2011-06-28 22:37:35 +00:00
Dane Springmeyer
d403cbf4bc python: make mapnik2.Grid and mapnik2.GridView available with from mapnik import * 2011-06-24 00:00:40 +00:00
Artem Pavlenko
a27617306b + add __neq__ operator 2011-06-07 19:27:15 +00:00
Artem Pavlenko
e2cafb3327 + change repr method output to be more explicit
(TODO: Is it going to break anything ?)
2011-06-07 16:14:33 +00:00
Artem Pavlenko
6a92e63cc1 + add __neq__ operator : ( self != self ) 2011-06-07 16:14:26 +00:00
Dane Springmeyer
7c2549ff46 rework the grid rendering interface to be object oriented and template based allowing for working both with grids and grid views for metatiling 2011-06-04 00:28:00 +00:00
Dane Springmeyer
9cc93552f2 reflect mapnik.GridView in python 2011-06-04 00:26:29 +00:00
Dane Springmeyer
e7533dd125 reflect mapnik.Grid in python 2011-06-04 00:25:43 +00:00
Dane Springmeyer
ef8e1c84e4 reflect the new forward/backward functions added in r2942 in python 2011-05-31 22:43:48 +00:00
Dane Springmeyer
10a14bbda3 formatting 2011-05-27 04:16:56 +00:00
Dane Springmeyer
7a17c7e597 load_map_from_string has always accepted a base path argument to drive the interpretation of relative paths in the stylesheet when loaded in memory- this really should be a full map property so that it can be known on the map object after parsing and changed if the map is saved to a new location 2011-05-25 23:48:07 +00:00
Dane Springmeyer
ba15947a4f add Projection.expanded() function to ask proj4 what its internal, normalized definition looks like (useful only for debugging) 2011-05-17 19:05:15 +00:00
Artem Pavlenko
734a33b378 + we don't support ColorBand yet 2011-05-09 13:52:22 +00:00
Dane Springmeyer
3add8dfb6d apply Toby Collett's work on a python printing/layout/legend module from https://github.com/thjc/mapnik-svg 2011-05-04 01:30:21 +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
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