Commit graph

499 commits

Author SHA1 Message Date
Artem Pavlenko
664d3c4ca6 Merge pull request #910 from MapQuest/multi-tile-policy
Added a 'multi' tiled raster plugin reader for virtual images
2011-10-21 12:26:44 -07:00
Artem Pavlenko
986edc3c6e Merge pull request #909 from MapQuest/expose-label-collision-detector
Exposed the label collision detector
2011-10-21 12:20:21 -07:00
Dane Springmeyer
bba87fa6df as a followup to fa7efc9390, remove unneeded operator-= from box2d 2011-10-19 21:39:48 -07:00
Artem Pavlenko
911981aefd + various win32 fixes, mainly adding extra namespace qualifiers
for vc++10, MAPNIK_DECL ...
2011-10-19 15:29:24 +01:00
Matt Amos
20ca69c3ea Added Python test for multi-tile raster policy. 2011-10-18 14:34:58 +01:00
Matt Amos
a2b4f9db59 Use make_shared as suggested by coding guidelines. 2011-10-13 19:34:28 +01:00
Dane Springmeyer
7432e1e55a removing my name from copyright as the intention/convention is for copyright to be help by project founder artem: contributions do not necessitate copyright - TODO: document this on community wiki 2011-10-11 17:52:15 -07:00
Matt Amos
1717104654 Changed copyright notice in line with project convention. 2011-10-12 01:37:44 +01:00
Matt Amos
b05a51c783 Ooops, added missing file from patch. 2011-10-12 01:25:10 +01:00
Matt Amos
b5c4bb77de Exposed the label collision detector outside the agg_render object
and via Python, allowing detectors to be re-used across renderings.
2011-10-12 01:05:35 +01:00
Dane Springmeyer
b785d5ae7f fix perms on the python paths.py file 2011-10-10 17:56:56 -07:00
Artem Pavlenko
7387afd96f + remove the unnecessary empty palette from tostring2
(jonburgess777)
2011-10-03 08:47:25 +00:00
Alberto Valverde
e41abb0e12 add a label attribute to colorizer_stop 2011-09-16 13:32:16 +00:00
Alberto Valverde
97431c8de4 made mesh_size configurable 2011-09-16 12:21:21 +00:00
Dane Springmeyer
8e7950c318 +reflect native c++ core register_fonts function - that works recursively 2011-09-15 20:13:15 +00:00
Dane Springmeyer
da5f283c9e support mixed case file extentions when loading fonts via python wrapper function 2011-09-15 20:11:30 +00:00
Dane Springmeyer
547db300a0 match nodejs bindings for kwarg args when encoding grids 2011-09-15 20:09:28 +00:00
Dane Springmeyer
256937bd4e expose the painted boolean on images and grids to allow api users to know if any features were processed and likely rendered 2011-09-14 19:31:57 +00:00
Artem Pavlenko
d5e57afac0 + move compositing into core lib 2011-09-13 15:31:07 +00:00
Artem Pavlenko
703240cf40 + update to reflect interface changes 2011-09-13 13:23:30 +00:00
Artem Pavlenko
12b6aceeee + add __len__ method 2011-09-13 13:23:23 +00:00
Artem Pavlenko
810b494b60 + reflect valid() method 2011-09-13 13:23:15 +00:00
Artem Pavlenko
1fa78f32e0 + add unified interface to mapnik2.Feature:
add_geometries_from_wkt
    add_geometries_from_wkb
 and mapnik2.Path :
     from_wkt
     from_wkb
TODO: integrate mapnik2.Path with mapnik2.Feature (mapnik 2.1)
2011-09-13 11:54:12 +00:00
Alberto Valverde
9579409940 resurrect add_geometry_from_wkb functionallity in Feature's python binding 2011-09-12 14:43:45 +00:00
Dane Springmeyer
04900c4664 fix tests around line symbolizer 2011-09-12 05:33:13 +00:00
Dane Springmeyer
67d7a3a6f0 add alternative line rasterizer that can be enabled to draw faster lines at the expense of dropping short geometries - for thin lines has nicer look but should not be used with think lines - refs #873 2011-09-09 23:45:49 +00:00
Artem Pavlenko
a59c961c1f + add missing save_to_file overloads
+ remove dummy rgba_palette args
2011-09-09 12:40:30 +00:00
Artem Pavlenko
6575e34973 + add initial support for new WKT path/geometry parser concept 2011-09-08 11:52:59 +00:00
Artem Pavlenko
02c143895d + refactor palette stuff a bit
TODO: We need to change save_to_file|string interface
  to avoid passing dummy rgba_palette objects.
2011-09-07 15:01:25 +00:00
Artem Pavlenko
8b3bb3ccd0 + remove shared_ptr and avoid de-referencing un-initialised shared_ptr 2011-09-07 15:01:16 +00:00
Dane Springmeyer
aa5cfad4b7 add minimum-path-length to text_symbolizer - closes #865 2011-09-04 17:33:48 +00:00
Dane Springmeyer
e69bab2b04 include what you use 2011-09-01 00:42:48 +00:00
Dane Springmeyer
90acfb3e1c +reflect mapnik.Palette in python 2011-08-31 02:28:38 +00:00
Dane Springmeyer
9e87c9f914 apply patch from Peter Körner adding AlsoFilter functionality - closes #820 2011-08-30 17:38:27 +00:00
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