Commit graph

365 commits

Author SHA1 Message Date
Dane Springmeyer
d73d72d509 scons: no direct linking to python on platforms other than darwin 2010-09-19 18:10:41 +00:00
Dane Springmeyer
c35310445a rename text_convert to text_transform to match css naming convention (also matching enums to css) 2010-09-18 19:10:18 +00:00
Dane Springmeyer
523b09701e Add the ability to pass custom CXXFLAGS and LDFLAGS that will be prioritized above other compiler and linker flags 2010-09-18 18:02:15 +00:00
Dane Springmeyer
e22c187e95 expose an indexing operator on box2d to allow for easy pythonic access to bounds parts 2010-09-16 14:41:29 +00:00
Artem Pavlenko
7ddb329179 support more compositing modes 2010-09-02 20:20:34 +00:00
Dane Springmeyer
12dd97a772 touch up docstrings in mapnik.Map and throw IndexError if negative value is passed to query_map_point or query_point from python as we don't currently support finding layers by negative index 2010-08-27 16:16:16 +00:00
Dane Springmeyer
22fc14ef05 + ability to pass coord2d to box2d::re_center in core and python 2010-08-19 21:35:27 +00:00
Hermann Kraus
3d4fbf03d2 Add docstrings. 2010-08-12 01:42:33 +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
5297d9bba0 allow for maintaining default ctor for projection class, reverting part of r2105 and part of r2102 (would have caused compile problems in mod_tile) - see also #333, which this sets us up for 2010-08-10 17:42:17 +00:00
Dane Springmeyer
3446a62265 add mapnik_version_from_string helper function 2010-08-10 17:13:14 +00:00
Dane Springmeyer
586e044b61 allow python bindings to compile after r2102, see also #333 2010-08-07 17:40:04 +00:00
Hermann Kraus
3c01120c53 Add python bindings for metawriter properties. 2010-07-25 21:14:19 +00:00
Dane Springmeyer
267b48de49 add ability to uninstall all tracked scons targets using an 'uninstall' argument like 'scons uninstall' - closes #311 2010-07-18 20:39:05 +00:00
Dane Springmeyer
7918184d13 add helper functions for recursively registering fonts, and ensure they match one of the known freetype2 supported fonts (by ext) - closes #559 2010-07-15 23:04:51 +00:00
Dane Springmeyer
fc4f5f2a0e scons: ensure pycairo headers are added 2010-07-15 02:17:13 +00:00
Dane Springmeyer
d463883f6f scons: making sure things exist - prepping for out of source build 2010-07-15 00:40:52 +00:00
Dane Springmeyer
08e96be4a1 scons: better handling of PYTHON_INCLUDES and HAVE_LIBXML2 2010-07-15 00:20:50 +00:00
Dane Springmeyer
d549cfe30a scons: only apply HAS_CAIRO & HAS_PYCAIRO flags to cairo related files 2010-07-14 22:47:34 +00:00
Dane Springmeyer
4d477a47cd scons: conditionally add CXXFLAGS for headers needing Cairo support 2010-07-14 04:40:33 +00:00
Dane Springmeyer
284669b322 scons: make sure to build a .os file instead of .o 2010-07-14 01:26:30 +00:00
Dane Springmeyer
146c13ba09 scons: specialize CFLAGS for the only python cpp file that needs SVN_REVISION passed to it 2010-07-14 00:48:06 +00:00
Dane Springmeyer
13cfffd603 place built python lib inside module directory to make local import easier 2010-07-13 23:53:30 +00:00
Artem Pavlenko
efa6010517 + impl composite method (TODO:add missing modes) 2010-07-03 20:08:49 +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
0959f8ef16 + add support to polygon_patter_symbolizer for global pattern alignment in addition to local/feature (default) alignment - closes #203 2010-06-20 22:36:49 +00:00
Dane Springmeyer
7e2a2aab5a +ability to choose ogr layer by index number 2010-06-19 15:13:47 +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
cf26db081a + refactor path expressions parser 2010-06-18 15:39:32 +00:00
Artem Pavlenko
dc85719853 + update python bindings to reflect opacity/text-opacoity
changes
2010-06-15 12:28:22 +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
Dane Springmeyer
8767c404c3 apply patch from Herm to update doc scripts to mapnik2, and fix imports for local ogcserver code 2010-05-08 17:07:03 +00:00
Alberto Valverde
38e1570b8b added a max_value attribute to color_band to handle the case of the last band more gracefully 2010-05-06 07:21:11 +00:00
Dane Springmeyer
58b0a3e5ff scons: add 'PYTHON_DYNAMIC_LOOKUP' boolean to allow for dynamically loading python symbols rather than direct linking on OSX (default behavior still the same) - addresses #453 2010-04-28 05:39:27 +00:00
Artem Pavlenko
f92e2ba9d8 + reflect dash_offset as property in python 2010-04-09 18:46:48 +00:00
Artem Pavlenko
07488ff436 + more tidy 2010-04-09 18:45:53 +00:00
Artem Pavlenko
f6852e2401 + tidy 2010-04-09 18:45:45 +00:00
Dane Springmeyer
0cd1a5fbc6 maintain python24 compatibility 2010-04-07 18:44:52 +00:00
Alberto Valverde
f35b9bc7d0 Implemented a python wrapper for Symbolizers.__getitem__ so the explicit symbolizer subclass is returned (via Symbolizer.symbol). Added a symbol() method to every symbolizer. This fixes an introspection test (only 3 Todos, 5 errors and 1 failure to go) and Updated the mapnik2.__all__ list 2010-03-22 11:22:07 +00:00
Alberto Valverde
c79865586b added an angle_mode attribute to GlyphSymbolizer to define the way the angle expression should be interpreted: as an azimuth or as a trigonometric angle 2010-03-22 11:21:17 +00:00
Alberto Valverde
18b811d19d implemented a mechanism in mapnik2._injector to be able to override c++ methods (at the python layer only). Used it to implement a friendlier constructor for Feature and a add_geometry() method that accepts shapely.geometry.Geometrys, and wkb/wkt strings 2010-03-19 18:14:46 +00:00
Alberto Valverde
a613dc6397 Created python binding to memory_datasource which can be added Features built programaticcaly. See tests for sample use until docs are done. #528 is almost closed. 2010-03-19 16:16:15 +00:00
Alberto Valverde
17b61d16c4 More progress on #528: Made setting Feature properties with values of type unicode or str possible. I've modified the UnicodeString_from_python_str from_python_converter so it can also convert python unicode objects (not just encocded strs). It was originally commented out so but it seems to work fine on my tests. Is there anything I0ve overlooked? (Artem?) 2010-03-19 13:42:58 +00:00
Alberto Valverde
a4d742283b Implementead Feature instantiation from Python and an add_geometry method which accepst a wkb string 2010-03-19 13:42:25 +00:00
Alberto Valverde
31c3d20e43 modified the old arrow_symbolizer interface on glyph_symbolizer and documented it 2010-03-18 20:04:51 +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