Dane Springmeyer
52f7092df5
better named kwargs for render_grid
2011-04-29 19:31:43 +00:00
Dane Springmeyer
2e4a1611b1
allow markers_symbolizer to be created from python
2011-04-29 17:39:11 +00:00
Dane Springmeyer
dffe53036e
grid output - only serialize requested fields (and not fields potentially collected in expressions
2011-04-27 19:53:56 +00:00
Dane Springmeyer
9548492036
add python binding to grid_renderer allowing conversion of grid buffer into json
2011-04-26 23:51:29 +00:00
Dane Springmeyer
6d7ca1ac6f
move mapnik::value -> python value conversion to separate header fro reuse
2011-04-26 17:39:21 +00:00
Dane Springmeyer
39a2f9ef6a
update all future versions referenced to be >= 2.0.0
2011-04-19 00:20:50 +00:00
Dane Springmeyer
8998296f7b
add 'maximum-extent' attribute to map and use this, if set, in place of calculated layer extents in zoom_all()
2011-04-14 02:20:33 +00:00
Dane Springmeyer
6549d090cc
throw in python bindings if proj_transform fails
2011-04-14 02:09:24 +00:00
Dane Springmeyer
383d8a3f15
add proj_transform forward/backward box2d implementation
2011-04-13 19:40:44 +00:00
Dane Springmeyer
903d1b49ef
add a clip method to mapnik::box2d
2011-04-13 19:19:23 +00:00
Dane Springmeyer
62e62ebe76
avoid unused parameter warnings
2011-04-04 14:45:00 +00:00
Dane Springmeyer
7cc4f345cf
avoid deprecated string conversion warning in pycairo by overriding Pycairo_Import macro and casting away const to please the c/c++ borderlands
2011-04-04 04:40:18 +00:00
Dane Springmeyer
a7410da0d8
avoid unused parameter compiler warnings
2011-04-04 04:37:08 +00:00
Dane Springmeyer
2d1e2ef998
add valid() method to box2d, and comment subtraction override as it does not have any function currently
2011-04-04 03:50:09 +00:00
Dane Springmeyer
819a67fd42
catch errors in build time python pkg-config parsing - closes #738
2011-04-02 03:12:58 +00:00
Dane Springmeyer
84ea9e6101
avoid clang++ -pedantic compiler warnings
2011-04-01 06:24:57 +00:00
Dane Springmeyer
3f219a7046
workaround for latest clang trunk (>=127962) which throws on template <> (extraneous 'template<>' in declaration of variable...)
2011-03-20 19:18:03 +00:00
Dane Springmeyer
c2654fd95d
add missing file from previous commit
2011-03-17 05:46:55 +00:00
Artem Pavlenko
e580078d26
+ apply MetaWriter patch from zerebubuth
...
( see #735 for details )
2011-03-16 13:32:04 +00:00
Dane Springmeyer
bdd2441a86
fix and re-enable point symbolizer pickling
2011-03-02 14:39:41 +00:00
Dane Springmeyer
4079fd7d08
make feature caching optional, and disabled by default (to avoid std::bad_alloc in low memory environments). Can be set as new layer property 'cache-features' - closes #657
2011-03-01 17:09:29 +00:00
Dane Springmeyer
0a4b5591a1
comment unused function
2011-03-01 16:37:53 +00:00
Hermann Kraus
4af0696b9d
Add support for multiple placements.
...
NOTE: In some places indention is not updated to keep this patch readable. This will be fixed in the next revision.
2011-02-28 13:17:46 +00:00
Artem Pavlenko
8ca85c95c6
+ reflect 'area' method
2011-02-28 12:41:07 +00:00
Artem Pavlenko
e54eb342e2
+ from_wkt factory method
...
+ expose mapnik::eGeomType enum
2011-02-28 12:40:59 +00:00
Dane Springmeyer
a317c5d051
add 'capitalize' option to text-transform - closes #715
2011-02-21 20:43:26 +00:00
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