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
Artem Pavlenko
a59c961c1f
+ add missing save_to_file overloads
...
+ remove dummy rgba_palette args
2011-09-09 12:40:30 +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
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
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
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
10a14bbda3
formatting
2011-05-27 04:16: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
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
84ea9e6101
avoid clang++ -pedantic compiler warnings
2011-04-01 06:24:57 +00:00
Artem Pavlenko
e580078d26
+ apply MetaWriter patch from zerebubuth
...
( see #735 for details )
2011-03-16 13:32:04 +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
18dd9ff40e
python3 support - patch thanks to Haoyu Bai - closes #334
2010-09-26 12:15:16 +00:00
Dane Springmeyer
6cce96dd06
upgrade default projection of epsg:4326 to match exactly what proj4 stores in /usr/local/share/epsg for 4326 (aka WGS84)
2010-08-10 18:18:31 +00:00
Dane Springmeyer
15896b8ba9
add ability to pass the scale_factor to render_to_file
2010-06-29 21:35:49 +00:00
Artem Pavlenko
9b3809443c
+ fix naming style in mapnik::Map
2010-06-25 15:23:35 +00:00
Dane Springmeyer
0706b4fbaa
+ ensure passing of default scale_factor to each render function
2010-06-19 14:26:04 +00:00
Artem Pavlenko
e634c06c17
+ use BOOST_PYTHON_FUNCTION_OVERLOADS to reflect
...
render(...) overloads
2010-06-10 14:12:35 +00:00
Artem Pavlenko
53848ce68f
+ reflect markers_symbolizer in python
2010-06-06 12:10:28 +00:00
Dane Springmeyer
9804e7e90d
scons: make libjpeg dependency optional (still required by default)
2010-06-03 19:50:27 +00:00
Artem Pavlenko
246731874b
+ apply 'mapnik-format' to *.cpp *.hpp
2010-06-02 11:03:30 +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
Alberto Valverde
2f1d60b666
pre-eliminary raster coloring support
2010-03-12 13:34:13 +00:00
Artem Pavlenko
bbfdc4fab8
+ use mapnik2 for python module name
...
+ update rundemo.py
2010-03-08 11:54:44 +00:00
Dane Springmeyer
067fdb884d
sync trunk with new cairo support added previously to 0.7 branch in r1531
2010-01-11 18:55:30 +00:00
Artem Pavlenko
47dc1e197b
+ merge mapnik2 to trunk
2009-12-16 20:02:06 +00:00
Dane Springmeyer
fe3ffe6c2d
rename map.save_map_string to map.save_map_to_string
2009-12-06 22:33:47 +00:00
Dane Springmeyer
561d937f2a
translate a C++ config error into a python RuntimeError - fixes #442
2009-12-06 22:22:56 +00:00
Dane Springmeyer
d0b4db9ba3
add support for relative paths for entities when using libxml2 and loading xml from string - thanks dodobas for the initial patch
2009-12-06 22:18:45 +00:00
Artem Pavlenko
fb30c36143
+ patch from Dane Springmeyer improves pickling support
...
for mapnik.Map object ( needs some more work!!)
2009-10-19 14:22:11 +00:00
Dane Springmeyer
16f4efc07b
python: add better handling of cairo/pycairo support, refactor rundemo.py, add basic tests for cairo surfaces ( closes #392 )
2009-07-28 06:27:10 +00:00
Dane Springmeyer
e7dd9094a5
revert unintended file changes from r1275
2009-07-26 01:15:44 +00:00
Dane Springmeyer
45266074c8
scons: fix typo, and ensure all temp output is writeable
2009-07-26 01:08:51 +00:00
Dane Springmeyer
7e6ff2a651
reflect save_map_string method in python ( #396 )
2009-07-24 06:25:09 +00:00
Dane Springmeyer
9ce6792eda
add a function to query for the svn revision of the mapnik python bindings
2009-07-17 20:51:39 +00:00
Dane Springmeyer
7fcc462a8f
apply patch from mishok13 to allow proper checking for pycairo support compiled into mapnik - closes #284
2009-05-24 04:25:51 +00:00
Lucio Asnaghi
eaa49ca028
+ applying patch proposed by dane that add explicit_defaults selection when saving maps ( closes #327 )
2009-04-28 21:44:34 +00:00
Dane Springmeyer
4429958816
minor formatting to render_to_file docstring
2009-04-12 21:36:45 +00:00
Dane Springmeyer
512029bfa4
update docstrings based on jpeg quality controls ( #198 )
2009-04-08 00:27:36 +00:00
Dane Springmeyer
c9b4d71b1a
add docstrings to main boost python functions
2009-03-30 04:32:23 +00:00
Artem Pavlenko
2c878b52cf
+ reflect CoordTransform in Python (TODO: rename to ViewTransform in core lib)
2009-03-29 10:26:44 +00:00
Artem Pavlenko
98267e2959
+ MAPNIK_VERSION (defined in mapnik/version.hpp)
...
+ expose version in Python :
mapnik.mapnik_version()
mapnik.mapnik_version_string()
+ add SQLite plug-in in Python bindings
2009-02-12 16:44:04 +00:00
Tom Hughes
220bb3e99a
Revert the patch to add a show_page flag to the cairo renderer and
...
replace it with support for rendering to a cairo context rather than
a cairo surface.
When rendering to a surface a show_page is done, when rendering to a
context it is not so that multiple renders can be done, possibly with
modified scaling and/or translation.
2009-02-06 00:46:29 +00:00
Dane Springmeyer
51293f64ba
+ apply show_page.patch (thanks Berteun) ( closes #201 )
2009-02-05 18:09:14 +00:00
Artem Pavlenko
7d6a21dfeb
+ mapnik-fix-threaded-python-exceptions.patch from jonb
2009-01-17 20:45:53 +00:00
Artem Pavlenko
cad0a839b6
+ mapnik-load-map-from-string.patch (jonb)
2009-01-15 23:51:07 +00:00
Artem Pavlenko
fd194e2ba6
+ reflect mapnik::proj_transform in Python ( #117 )
2009-01-13 15:49:26 +00:00
Artem Pavlenko
9a75034a88
+ applied python_point_datasource.patch from lwu
2009-01-13 00:56:09 +00:00
Artem Pavlenko
14fa35fb18
+ enable multiple python threads with Cairo rennderer patch from jonb
2009-01-10 23:30:33 +00:00