Commit graph

409 commits

Author SHA1 Message Date
Dane Springmeyer
c5833a6db8 remove unmaintained autotools scripts 2011-02-04 22:22:16 +00:00
Dane Springmeyer
fd2d9d7ff3 enable aliased lines using stroke-gamma for line_symbolizer - closes #689 2011-02-02 01:46:14 +00:00
Dane Springmeyer
7043c416fa enable if/else type behavior in rules using style level keyword to control whether all rules will be evaluated or just the first that matches - closes #706 - thanks to original patch from kkaefer 2011-02-01 22:55:50 +00:00
Dane Springmeyer
53d72b398e +reflect placement for point_sym in python 2011-02-01 19:28:01 +00:00
Dane Springmeyer
75649b8863 add 'interior' point placement option to point_symbolizer - closes #709 2011-02-01 08:16:32 +00:00
Dane Springmeyer
e803b1c2ec add 'interior' placement option to text_symbolizr - patch from Toby Collet - closes #709 2011-02-01 08:13:08 +00:00
Dane Springmeyer
87222b2014 expose filter_factor on raster_symbolizer - patch from Craig de Stigter 2011-01-27 03:19:27 +00:00
Artem Pavlenko
98b7f62155 + remove template from mapnik::rule
+ rename globaly rule_type -> rule
 ( ticket #552 )
2011-01-13 21:35:01 +00:00
Dane Springmeyer
0d310d5ba3 scons: make sure to handle adding custom flags onto mapnik_python.cpp compile *even* if we do not know the SVN_REVISION 2011-01-13 20:53:18 +00:00
Dane Springmeyer
2de2edc171 make sure to put cairo/cairomm ldflags into the linkflags for the _mapnik.so environment 2011-01-13 20:36:29 +00:00
Dane Springmeyer
eb60010a05 use 'import sys' syntax for consistency 2011-01-03 22:33:57 +00:00
Dane Springmeyer
9775a1ee5b expose filename (path_expression string) as property on all symbolizers_with_image (TODO consider exposing actual PathExpression) - and fixup displacement get/set on various symbolizers, moving to properties for consistency 2010-12-14 00:24:34 +00:00
Dane Springmeyer
c4da7b1b38 fallback to DLFCN module if ctypes does not have RTLD_NOW (mips and solaris) 2010-12-11 02:09:16 +00:00
Dane Springmeyer
ed22d073c3 fix serialization of missing shield symbolizer properties 2010-12-11 02:07:47 +00:00
Dane Springmeyer
75893b13a7 throw in the python bindings if we cannot parse the svg transform string 2010-12-10 23:19:50 +00:00
Robert Coup
408de0c223 Add bbox parameter to GDAL Datasource to allow overriding envelope, with Python bindings. Fixes #680 2010-12-09 21:41:25 +00:00
Dane Springmeyer
3fcd62f719 scons: solaris expects 64 bit python modules to be in a subdirectory called '64' that appears to not need an __init__.py 2010-12-01 02:01:12 +00:00
Robert Coup
91a0719778 #664 enable svg-style transforms to be set via python bindings. eg sym.transform = 'scale(0.4, 1.0) rotate(0.3)' 2010-11-29 20:58:30 +00:00
Dane Springmeyer
b24dd5df91 scons: make sure to only create install targets if actually installing - needed to prevent installing during uninstall action if not previously installed 2010-11-29 20:21:02 +00:00
Dane Springmeyer
c9feedf5ad ogcserver devel has moved to github, issue deprecation warning 2010-11-22 16:17:58 +00:00
Dane Springmeyer
73270bd76b translate a C++ mapnik::value_error into a python ValueError 2010-11-15 03:30:23 +00:00
Dane Springmeyer
58c72fc1c9 reflect new box2d<double>from_bbox() function in python, and add a new value_error class to represent parsing errors (TODO: translate in python to ValueError and throw from other parsers like expression and color) 2010-11-15 03:21:43 +00:00
Dane Springmeyer
18d77f0f6c add a function in python to check for the existance of metawriters on the map 2010-11-10 18:40:23 +00:00
Lucio Asnaghi
0066407774 - added extent support for geos plugin
- fixed python binding for geos plugin
2010-11-10 11:35:19 +00:00
Lucio Asnaghi
b05fe1aa5a - added Geos python binding 2010-11-10 11:15:13 +00:00
Dane Springmeyer
34b462f15f fix import namespace 2010-11-08 23:18:08 +00:00
Artem Pavlenko
7bb37ebee0 + use Geometry2d to be compatible 2010-11-04 22:42:16 +00:00
Artem Pavlenko
ab101401cd + simplify geometry implementation
+ removed multiple geometry typedefs
+ use geometry_type
+ revert to storing vertices in vector_vertex
  (previous implementation using std::vector was
   fragmenting heap causing performance issues with large geometries)
+ FIXME: hit_test is broken!
2010-11-03 13:19:15 +00:00
Artem Pavlenko
0823b83900 + apply Nino Walker's patch text_minimum_padding.diff #547
TODO:  consider simplifying text symbolizer options
2010-11-03 13:18:56 +00:00
Robert Coup
1dce437120 #622 add optional late-binding of datasources 2010-10-24 06:34:18 +00:00
Dane Springmeyer
3011f53205 add support to PointSymbolizer for 'ignore_placement' - #564 2010-10-15 02:15:40 +00:00
Dane Springmeyer
ca5d44032e explicitly set the runpath to libmapnik for the python bindings - in combination with ability to set 'CUSTOM_LDFLAGS' this closes #354 2010-10-12 04:40:00 +00:00
Dane Springmeyer
688b1f2299 add an 'extra_attributes' property to the map to store mapnik::parameters that don't make sense as full attributes but need to be carried through from load_map() to save_map() for applications that use mapnik to serialize to xml such as Cascadenik and Quantumnik (currently useful storage for 'minimum_version' and 'font_directory') 2010-10-07 19:34:36 +00:00
Dane Springmeyer
2f46db5aba python: add back mapnik.Filter and mapnik.Box2d as deprecated + formatting 2010-10-07 01:03:16 +00:00
Dane Springmeyer
aa77ec70a1 stub in docstrings for expressions 2010-10-07 01:01:49 +00:00
Dane Springmeyer
2337c79c87 expose methods and properties on the ShieldSymbolizer - addresses #612 2010-10-06 19:10:51 +00:00
Alberto Valverde
60ac5d8f84 improved RasterColorizer's docstrings as requested in #619 2010-09-30 12:50:57 +00:00
Dane Springmeyer
154450fb8b fix test failure when calling ds.all_features() by allowing a simple Box2d Query contructor - sidestepping issue of converting a python tuple to a boost tuple atm 2010-09-26 23:39:04 +00:00
Dane Springmeyer
03250d0efe fix up metaclass injector to work with both python 2 and python 3 because the 2to3 script cannot handle this tricky bit 2010-09-26 23:28:29 +00:00
Dane Springmeyer
9492d309e6 better checking for whether our target python is python 3 2010-09-26 22:49:14 +00:00
Dane Springmeyer
18dd9ff40e python3 support - patch thanks to Haoyu Bai - closes #334 2010-09-26 12:15:16 +00:00
Dane Springmeyer
baf04537ee 619_raster_colorizer_documentation.patch from tmcw - closes #619 2010-09-25 13:55:51 +00:00
Dane Springmeyer
3c8926a395 apply python docs patch from tmcw - closes #618 2010-09-24 17:41:08 +00:00
Dane Springmeyer
b3810a5f6a stub in new alpha manipulation functions for mapnik image - #609 2010-09-24 15:37:19 +00:00
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