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
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
Artem Pavlenko
dbf89845e6
+ add using mapnik::color
2010-03-17 21:03:18 +00:00
Artem Pavlenko
e7bfba10fe
+ enanble installation of mapnik2 side by side with mapnik
2010-03-17 21:03:02 +00:00
Artem Pavlenko
83b20c3036
Revert "re factor expression grammar/parser stuff"
...
This reverts commit c58b8c4f71813a2490cf135573009c92be1a90c4.
2010-03-15 21:08:56 +00:00
Artem Pavlenko
0f8deb5e73
re factor expression grammar/parser stuff
2010-03-15 21:08:46 +00:00
Alberto Valverde
2f1d60b666
pre-eliminary raster coloring support
2010-03-12 13:34:13 +00:00
Alberto Valverde
e8a4929a5a
added a proxy to the deprecated Feature.properties interface in the python bindings
2010-03-11 19:59:40 +00:00