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
Artem Pavlenko
6268f4fb80
+ oops, fixed
2009-04-01 00:11:14 +00:00
Artem Pavlenko
ce45f8dec3
+ fix UChar to wchar_t conversion
2009-03-31 22:59:34 +00:00
Dane Springmeyer
c8340e7161
ogcserver: use PATH_INFO to contruct the request 'onlineresource' since SCRIPT_NAME will be emtpy in a WSGI app - fixes #243 for the WSGI wrapper
2009-03-31 17:18:41 +00:00
Dane Springmeyer
a7d8e7b240
fix axis ordering for epsg codes >=4000 and <5000 - based on patch from crschmidt (thanks) - closes #241
2009-03-31 17:09:36 +00:00
Lucio Asnaghi
8c775a6da3
+ added "encoding" datasource parameter to occi plugin
...
+ added factory methods with docstrings for occi plugin (closes #274 )
2009-03-31 07:53:29 +00:00
Artem Pavlenko
10f55a678b
+ add support for vertical_alignment (text_symbolizer)
...
valid values are : top, middle, bottom
default to middle which can now center multi-line text
2009-03-30 20:47:26 +00:00
Dane Springmeyer
db7b0edd58
revise handling of featureset returned from GetFeatureInfo 'query_map_point' - closes #271 : Todo GetFeatureInfo support still depends on addressing #272
2009-03-30 14:59:42 +00:00
Dane Springmeyer
aaf6fca823
add docstring for Datasource wrapper
2009-03-30 05:10:00 +00:00
Dane Springmeyer
7540ef409a
add docstrings to top of file and factory methods in __init__.py and harmonize indentation to 4 spaces
2009-03-30 04:37:28 +00:00
Dane Springmeyer
c9b4d71b1a
add docstrings to main boost python functions
2009-03-30 04:32:23 +00:00
Dane Springmeyer
a87acb13d5
ogcserver: add module level docstrings for remaining ogcserver files
2009-03-30 04:25:01 +00:00
Dane Springmeyer
a40bcc2571
ogcserver: in relation to load_XML() rename and break apart methods for copying layer and style objects and avoid attempting to register a style > 1 time if found in aggregate styles of a layer
2009-03-30 04:24:01 +00:00
Dane Springmeyer
358f087057
fix scale_denominator to be a method (not property) and shuffle alphabetically
2009-03-30 04:17:03 +00:00
Dane Springmeyer
2f04dc753c
scons: normalize paths written to 'paths.py' to avoid double '//'
2009-03-30 04:15:11 +00:00
Dane Springmeyer
df7a5b8429
scons: add module docstring to 'paths.py'
2009-03-29 19:05:42 +00:00
Artem Pavlenko
2c878b52cf
+ reflect CoordTransform in Python (TODO: rename to ViewTransform in core lib)
2009-03-29 10:26:44 +00:00
Andreas Volz
e04a9cddda
- added paths.py.in -> a template to generate paths.py with automake
...
- added ax_boost_program_options.m4 to detect boost library needed to utils
- print out at configure script end the build configuration
2009-03-27 00:17:52 +00:00
Andreas Volz
887518fc57
- install plugins in lib/mapnik/input
...
- Fix: no sqlite3 for kismet
- python files compile and install
2009-03-25 23:11:49 +00:00
Andreas Volz
7bb3354f61
- compile python binding c++ code
...
- check for python
2009-03-25 20:16:48 +00:00
Artem Pavlenko
570fe611f4
+ qualify 'value' to avoid names clashing
...
+ use _enumeration helper wrapper
2009-03-21 12:39:06 +00:00
Artem Pavlenko
24174d68e9
+ reflect aspect_fix_mode in Python
2009-03-21 11:22:10 +00:00
Artem Pavlenko
9970766461
formatting
2009-03-15 23:33:46 +00:00
Dane Springmeyer
40ef82f225
ogcserver: Fix syntax errors accidentally introduced in r986 - patch from rcoup ( closes #256 )
2009-03-09 00:15:03 +00:00
Dane Springmeyer
4fb1eb6c0e
Add missing include
2009-03-05 04:44:34 +00:00
Dane Springmeyer
37837db4c1
move the boost::python namespace back to original location
2009-03-05 03:47:15 +00:00
Dane Springmeyer
ea2e39b81b
ogcserver: Add content-length to cgi, wsgi, and mod-python handlers and max_age to wsgi and mod_python - thanks tmcw, closes #251
2009-03-03 17:08:19 +00:00
Dane Springmeyer
44aa40a610
ogcserver: remove unused import
2009-03-03 17:04:58 +00:00
Dane Springmeyer
9f40e90def
scons: move all configure options to 'scons configure' stage, using pickling to maintain configure options across builds
2009-02-26 23:35:09 +00:00
Dane Springmeyer
46df10d7d0
scons: add boolean option to avoid linking to Framework Python on darwin ( closes #248 )
2009-02-25 01:02:43 +00:00
Dane Springmeyer
90f3703505
scons: add option called 'LIB_DIR_NAME' to control the relative directory where input plugins are installed and where python looks to register them
2009-02-23 00:47:01 +00:00
Dane Springmeyer
918db0bfb8
+ add string representation for Projection object in python
2009-02-22 18:22:31 +00:00
Dane Springmeyer
42be8116e1
scons: add a SYSTEM_FONTS variable to avoid installation of bundled dejavu fonts and instead point Python bindings at given value - also print SCONS_LOCAL_CONFIG values for user during configure
2009-02-20 19:31:08 +00:00
Dane Springmeyer
a8b6b0022b
ogcserver: use the ordered layering from r938 and a layer named __all__ to signal a request all layers (addresses #226 )
2009-02-19 18:20:14 +00:00
Dane Springmeyer
06e073c7ba
ogcserver: apply patch from crschmidt to support correct layer ordering in GetCaps response ( closes #226 )
2009-02-19 18:02:17 +00:00
Dane Springmeyer
292056da77
remove unneeded include added in r921
2009-02-17 05:45:59 +00:00
Dane Springmeyer
98ada350ea
+ add pickling support for styles and rules - TODO expose symbolizer object in general( #190 ) and for pickling
2009-02-17 05:23:10 +00:00
Dane Springmeyer
3e51c02513
+ add pickling interface to layers and datasources ( closes #205 ) - TODO support parameters
2009-02-16 01:53:34 +00:00
Dane Springmeyer
dbdbfa4333
ogcserver: r909 added the wrong modserer.py file, reverting to correct one.
2009-02-15 23:13:17 +00:00
Dane Springmeyer
f85c0c8b68
+ add modified mod_python ogcserver wrapper patch for 'modserver.py' from tmcw ( closes #101 )
2009-02-15 23:02:45 +00:00
Dane Springmeyer
7bc810b6b8
ogcserver: Add html exception to allowedexceptions
2009-02-15 22:51:00 +00:00
Dane Springmeyer
65bb344440
ogcserver: don't set the background color unless the get param exists
2009-02-15 22:43:03 +00:00
Dane Springmeyer
771e76f637
+ add style pickling support to mapnik::Map, fix tabs, and only un-pickle background color if exists (closes 233)
2009-02-15 19:53:48 +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
Dane Springmeyer
be2c27ff86
OGCServer: add support for load_map() within WMSFactory (thanks xcacou,theosys,and tmcw for early patches) ( closes #129 )
2009-02-12 02:12:26 +00:00
Dane Springmeyer
577ee5ee22
+ implement a layer copy method, provide a 'default' layername that will return a map with all layers rendered, and clean up PIL imports
2009-02-12 01:45:33 +00:00
Dane Springmeyer
e24b6f3654
Improve usability of ogcserver debug mode by printing to new html response when in debug mode or when the QUERY_STRING is empty, signaling testing
2009-02-12 01:28:57 +00:00
Dane Springmeyer
da9640c39d
convert to unix line endings
2009-02-12 01:17:30 +00:00
Dane Springmeyer
75d5e1c9e1
Convert to unix line endings
2009-02-12 01:11:18 +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
a45e93b79a
+ more property goodness on the TextSymbolizer from Python (springmeyer)
2009-02-05 11:54:07 +00:00
Artem Pavlenko
c3ff9c842d
+ scons_python_usability_improvements2 (springmeyer)
2009-02-03 23:00:03 +00:00
Artem Pavlenko
ffef15e22e
+ reflect buffered_envelope method
...
+ fix view_transform to return ctrans (TODO)
2009-02-02 23:39:20 +00:00
Dane Springmeyer
f5127d6ee4
Remove reference to CAIRO_HAS_IMAGE_SURFACE macro since this is not supported until cairo 1.8 release
2009-01-28 21:11:10 +00:00
Dane Springmeyer
f414843c4f
+ First implementation of OGR(vector) input plugin. Patch from kunitoki. Thanks! Closes #170
2009-01-28 20:16:31 +00:00
Artem Pavlenko
e7014c2b7e
+ SCons_usabilty_improvements2.patch (springmeyer)
...
(see #186 ticket for details)
2009-01-26 22:58:55 +00:00
Dane Springmeyer
2d47f24a7e
+ added ability to transform Envelopes in addition to Coords in new python ProjTransform, closes #117
2009-01-25 19:02:07 +00:00
Artem Pavlenko
8b298729bf
+ mapnik-centralise-image-tostring-functions.patch (jonb)
...
(moves Image.tostring() to core c++ code)
2009-01-19 22:51:55 +00:00
Artem Pavlenko
7d6a21dfeb
+ mapnik-fix-threaded-python-exceptions.patch from jonb
2009-01-17 20:45:53 +00:00
Artem Pavlenko
391ae4c4be
+ mapnik-image-from-cairo-in-python.patch from jonb
...
adds a method to the python bindings to create an Image from a
Cairo.ImageSurface().
2009-01-17 20:34:58 +00:00
Artem Pavlenko
cad0a839b6
+ mapnik-load-map-from-string.patch (jonb)
2009-01-15 23:51:07 +00:00
Artem Pavlenko
a07767ef3d
+ (c++) renamed mapnik::Color to mapnik::color
...
+ (c++) added mapnik::color ctor from named colours (TODO: consider not to export color_factory)
+ (Python) fixed pickling
+ (Python) added to_hex_string method
2009-01-14 12:10:24 +00:00
Dane Springmeyer
689b1eb018
Made Scale Denominator available as a property of the Map
2009-01-14 06:12:55 +00:00
Dane Springmeyer
f0d58a99f3
+ expose map resize and remove_all methods as well as view_transform property in python
2009-01-14 04:52:04 +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