Commit graph

297 commits

Author SHA1 Message Date
Artem Pavlenko
1a4b9f6b0a + use ctypes instead of dl (deprecated in python3) module 2009-12-21 13:44:30 +00:00
Artem Pavlenko
47dc1e197b + merge mapnik2 to trunk 2009-12-16 20:02:06 +00:00
Dane Springmeyer
f60fa76242 merge 0.7. branch changes back into trunk 2009-12-15 19:25:35 +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
Dane Springmeyer
a247dd2922 avoid clobbering the prefix variable 2009-12-05 03:51:29 +00:00
Dane Springmeyer
3c9655b721 improve reliability of default python linking on os x - closes #380 2009-12-05 03:07:58 +00:00
Dane Springmeyer
51569ce9fc document shared opening option in docstrings - closes #375 2009-12-04 23:32:25 +00:00
Dane Springmeyer
c570f1c424 add missing options (srid, persist_connection) to PostGIS docstring 2009-11-28 23:26:57 +00:00
Dane Springmeyer
b104253d9c Add ability to link to custom icu lib name, and remove the unneeded linking to icudata on osx, while offering compiler flags required for compiling against libicucore provided by Apple 2009-11-24 20:32:41 +00:00
Dane Springmeyer
782e0449e8 update python api docs and toch up formatting of __init__.py 2009-11-08 17:02:17 +00:00
Artem Pavlenko
a78e51ec56 + avoid duplicate code 2009-10-19 15:16:16 +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
fdf7ca3a66 add docstrings to enum's in mapnik_stroke - patch from podolsir 2009-09-27 17:10:26 +00:00
Dane Springmeyer
ad47ad321d avoid namespace pollution by defining __all__ in __init__.py - nice patch from podolsir 2009-09-27 17:07:41 +00:00
Dane Springmeyer
8fd907f8fc remove self argument in python docstring for boost <1.35 compatibility allowing the removal of boost version checking - addresses #29 2009-09-27 01:31:30 +00:00
Dane Springmeyer
10dff4b8cf mapnik_coord_env_projection.patch from podolsir which adds docstrings to mapnik_envelope.cpp, mapnik_coord.cpp, and mapnik_projection.cpp as well as the __init__.py - addresses #29 2009-09-26 17:15:22 +00:00
Dane Springmeyer
d9d15bb081 avoid segfault when pickling a TextSymbolizer using wrap_character by removing const declaration 2009-09-25 20:29:03 +00:00
Dane Springmeyer
a414832338 fix boost version available with docs support 2009-09-25 17:59:57 +00:00
Dane Springmeyer
ef1e210269 improve boost::python docstrings for map, color, and stroke, adding currently unused patch against enumeration from podolsir 2009-09-25 17:50:37 +00:00
Dane Springmeyer
23ab337f5c use the 'arg' class instead of the deprecated 'args' for boost::python docs http://www.boost.org/doc/libs/1_40_0/libs/python/doc/v2/args.html 2009-09-25 17:38:38 +00:00
Dane Springmeyer
016659f22a add missing boost version include to enable new docstrings 2009-09-25 17:16:54 +00:00
Dane Springmeyer
a50bfa3811 fix typos in docstrings 2009-09-25 04:21:14 +00:00
Dane Springmeyer
ca32939e35 formatting 2009-09-25 03:31:28 +00:00
Dane Springmeyer
6abc56ef08 Add docstrings to mapnik_color.cpp - modified patch from podolsir - thanks - addresses #29 2009-09-25 03:27:29 +00:00
Dane Springmeyer
72debc046c remove fontset from pickling for now, and properly set wrap_char from string 2009-08-27 23:39:18 +00:00
Dane Springmeyer
5b9ddbaecd add pickling support for point_symbolizer and expose the filename property (patch from mishok13 - thanks) - closes #114, addresses #345 2009-08-27 21:11:17 +00:00
Dane Springmeyer
e897b832a4 +reflect new text symbolizer options added in r1254 - closes #391 2009-08-17 22:54:50 +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
123182d0af scons: make sure to link to cairo if present but even if pycairo is not 2009-07-24 07:20:27 +00:00
Dane Springmeyer
7e6ff2a651 reflect save_map_string method in python (#396) 2009-07-24 06:25:09 +00:00
Dane Springmeyer
8db8c27446 apply patch from mishok13 improving handling of conversion of boost python type definitions to python types definitions (closes ##397) 2009-07-23 18:20:10 +00:00
Dane Springmeyer
476838d259 apply patch from mishok13 to improve font and plugin registration code from #398, but does not close #398 because auto-registration is maintained for now 2009-07-23 17:54:33 +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
Artem Pavlenko
c83000eb60 + use UnicodeString->utf8->PyUnicode conversion 2009-07-13 22:20:25 +00:00
Artem Pavlenko
9872a3be7c + fixed UnicodeString to Py_Unicode conversion (needs testing) 2009-07-13 21:39:39 +00:00
Dane Springmeyer
32b77c2e88 typo fix 2009-07-07 23:42:29 +00:00
Artem Pavlenko
7ebe50d9de + Cleaner builds - don't import everything from ENV!
+ Add FRAMEWORK_SEARCH_PATH option for Max OS X
2009-06-29 14:04:44 +00:00
Dane Springmeyer
e10b471a90 +reflect 'plugin_names()' method in python 2009-06-22 07:04:07 +00:00
Dane Springmeyer
e7457a139a +add pickle support to text_symbolizer, improve support for stroke, and add tests for stroke and text pickling via python - see: #345 2009-05-26 01:50:58 +00:00
Dane Springmeyer
dadd64519b +add pickle support for proj_transform and view/coord_transform - see #345 2009-05-24 06:31:32 +00:00
Dane Springmeyer
92ca0a8ac9 +expose parameters as python list and dict, and add pickle support by taking advantage of boost visitation - needs further review - see #345 2009-05-24 06:12:32 +00:00
Dane Springmeyer
5aa1fda60e +add partial pickle support for strokes - see #345 2009-05-24 06:08:21 +00:00
Dane Springmeyer
e7e0dd9045 +add pickle support to line_symbolizer - see #345 2009-05-24 06:03:23 +00:00
Dane Springmeyer
def1c709ce +add pickle support to projection class - see #345 2009-05-24 06:02:33 +00:00
Dane Springmeyer
8b854a1bb2 +add pickle support for shield_symbolizer - see #345 2009-05-24 05:55:35 +00:00
Dane Springmeyer
1218b4c034 +add pickle support for polygon_symbolizer - see #345 2009-05-24 05:52:54 +00:00