Commit graph

270 commits

Author SHA1 Message Date
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
Dane Springmeyer
91876c9863 +add support for pickling a mapnik query - see #345 2009-05-24 05:49:03 +00:00
Dane Springmeyer
bd1407b7c5 +add pickle support for pattern symbolizers - see #345 2009-05-24 05:45:07 +00:00
Dane Springmeyer
ff36980723 +add pickle support for raster_symbolizer - see #345 2009-05-24 05:34:18 +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
Dane Springmeyer
b2570bd866 apply patch from mishok13 from #wherecamp to expose dash array list in python along with a small test case - closes #317 2009-05-24 04:14:35 +00:00
Dane Springmeyer
80a5bdf6e3 revert pickling support on datsources since they can't be created directly from python - we now dump and load in the layer object via params as of r1149 - see #345 2009-05-20 00:26:44 +00:00
Dane Springmeyer
6825541057 fix pickling for styles since they have state and no initial args 2009-05-20 00:21:29 +00:00
Dane Springmeyer
424980d92b via a layer object pickle datasource params rather than the datasource object itself - see #345 2009-05-20 00:18:46 +00:00
Dane Springmeyer
9a2894dc3c +copy/pickle support for Coord objects - see #345 2009-05-20 00:08:18 +00:00
Dane Springmeyer
9b02e6ced4 + reflect raster symbolizer options in python (may need to eventually switch to ENUMS) 2009-05-13 20:28:51 +00:00
Dane Springmeyer
904f1d6899 add python wrapper and docstring for kismet plugin - closes #293 2009-05-04 21:40:48 +00:00
Dane Springmeyer
4e1e6c6c1d ogcserver: upgrade GetFeatureInfo based on changes in r1121 2009-05-01 02:27:56 +00:00
Dane Springmeyer
196b01c16c + make interface to datasource attributes, featuresets, and features more pythonicby adding feature.envelope() method returning combined extent of geometries, ds.fields() method returning list of names, and featureset.features() which returns list of all features in featurset - now accessible via datasource.all_features()- closes #283, #280, #171 2009-05-01 01:21:29 +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
57f995b0cc ogcserver: apply fix for dynamic script name in mod_server (from tmcw, closes #277) 2009-04-20 15:32:22 +00:00
Dane Springmeyer
4429958816 minor formatting to render_to_file docstring 2009-04-12 21:36:45 +00:00
Dane Springmeyer
48dea30184 slight formatting fixes to docstrings in layer class 2009-04-12 20:57:08 +00:00
Artem Pavlenko
8d963e4270 + use separate x/y scales - important for raster 2009-04-10 12:00:51 +00:00
Dane Springmeyer
82c6e87578 Support xml lib fallback and GetFeatureInfo on all layers - closes #303 and #304 2009-04-09 18:40:39 +00:00
Dane Springmeyer
c9a9fcf287 named docstring arguments only supported in boost python >= 1.35 2009-04-08 22:25:38 +00:00
Dane Springmeyer
000dcab3c9 Maintain support for boost version before 1.34 when writing argument signatures and add docstring for buffered_envelope 2009-04-08 20:11:45 +00:00
Dane Springmeyer
512029bfa4 update docstrings based on jpeg quality controls (#198) 2009-04-08 00:27:36 +00:00
Dane Springmeyer
72c2f903ca We should actually use 'self' as the term for first argument/instance 2009-04-07 23:26:33 +00:00
Dane Springmeyer
47822d578e Add argument aliases to __init__ method for easier/more understandable introspection - addresses #29 2009-04-07 23:17:57 +00:00
Andreas Volz
39bdab7762 forget to escape path 2009-04-05 21:02:12 +00:00
Andreas Volz
d134de3008 new added file 2009-04-04 12:24:45 +00:00
Dane Springmeyer
3b26f6b01a add docstring and factory method for osm plugin - closes #275 2009-04-01 00:43:08 +00:00