Commit graph

186 commits

Author SHA1 Message Date
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
Artem Pavlenko
14fa35fb18 + enable multiple python threads with Cairo rennderer patch from jonb 2009-01-10 23:30:33 +00:00
Artem Pavlenko
bb284d0cfc + enable multiple python threads patch from jonb 2009-01-10 17:57:59 +00:00
Artem Pavlenko
d8226945d4 + improved pkg-config logic 2009-01-10 12:08:55 +00:00
Dane Springmeyer
a3e81dd344 + more complete docstrings for the boost::python Layer class 2008-12-04 23:33:18 +00:00
Artem Pavlenko
48a13f8cbc appled boost_append_osx_patch_v3 from jbronn 2008-12-04 23:20:44 +00:00
Artem Pavlenko
190f8e5cb9 + return boost::optional in find_style (c++)
+ return feature_type_style by value, raise KeyError otherwise (Python)
2008-11-18 21:15:46 +00:00
Dane Springmeyer
2c83877108 Added python docstrings to mapnik Map class 2008-11-17 23:44:50 +00:00
Dane Springmeyer
86dcb79808 Minor spelling change to use more common spatial term 2008-11-17 01:32:45 +00:00
Artem Pavlenko
bf1ea518c0 + Exposed the proj forward and inverse as methods on the actual geometry (springmeyer) 2008-11-16 22:36:21 +00:00
Artem Pavlenko
d4032c217e Exposed the proj forward and inverse as methods on the actual geometry (springmeyer) 2008-11-16 22:30:44 +00:00
Artem Pavlenko
df8cfcab03 + fixed building with boost-1_36
+ corrected order of BOOST_TOOLKIT 
(create symlinks on OSX + boost-1_35)
2008-10-08 06:30:38 +00:00
Artem Pavlenko
20f3a9460d + expose buffer_size parameter (default 0)
influences envelope used by placement detector 
  ( i.e. 'avoid_edges' parameter)
2008-09-21 10:14:38 +00:00
Artem Pavlenko
565da55742 + point symbolizer opacity patch from Brian (openstreetmap@brian.quinion.co.uk) 2008-09-19 08:27:32 +00:00
Artem Pavlenko
1947a1293e removed multiple bases for now 2008-09-17 20:10:04 +00:00
Artem Pavlenko
beec0d6a03 use text_symbolizer,symbolizer_with_image as bases 2008-09-15 08:46:18 +00:00
Tom Hughes
72e21fa080 Make the python bindings for image views actually only return data
from the view and not the whole image.
2008-07-30 12:47:37 +00:00
Tom Hughes
e8935c4cf8 Fix brain fade - python cairo bindings should work again now. 2008-07-30 07:37:48 +00:00
Tom Hughes
018852148c Don't try and include cairo support in the python bindings if we
haven't built mapnik itself with cairo support.
2008-07-29 08:01:57 +00:00