Dane Springmeyer
f39c3ad857
add marker-multi-policy parameter to support user-configurable rendering behavior for multi-geometries when using either point or interior placement - closes #1573 , refs #1555
2012-11-20 17:58:39 -08:00
Dane Springmeyer
eebc8cc73e
add image/grid clear methods to make it easier to quickly re-use previously allocated objects for rendering - closes #1571
2012-11-11 21:35:50 -08:00
Alexandre Bonnasseau
267975c388
Coding style correction : tabs to spaces
2012-11-09 11:57:10 +01:00
Alexandre Bonnasseau
efff5f0ef0
Issue #1545 - override buffer-size parameter at layer level - revised
2012-11-08 15:51:22 +01:00
Dane Springmeyer
72124a9f8a
apply patch from @lightmare fixing image_filter getter - closes #1534
2012-10-15 08:52:13 -07:00
Dane Springmeyer
ccda92fed1
Revert "finish moving symbolizers out of rule"
...
This reverts commit 20a317860d
.
2012-10-10 10:51:06 -07:00
Dane Springmeyer
20a317860d
finish moving symbolizers out of rule
2012-10-10 10:02:45 -07:00
Hermann Kraus
c5e69022cd
Fix wrap_before in python.
...
Closes #1505 .
2012-10-06 00:20:58 +02:00
Dane Springmeyer
9b053f493b
make src_over the default compositing operation (and an optional kwarg) for im.composite()
2012-10-04 14:19:36 -07:00
Dane Springmeyer
05195ca68d
Merge pull request #1444 from sigmapi/issue1107
...
Fix for issue #1107
2012-10-03 13:06:45 -07:00
Dane Springmeyer
e6f04fd402
new features_at_point tolerance should be optional - make it so in python to avoid test failures after #1499/#503
2012-10-03 12:17:13 -07:00
Dane Springmeyer
7866cc3dec
expose more compositing options in python (the non-agg custom ones) to set up for testing as per #1493 and #1369
2012-10-01 17:41:07 -07:00
Dane Springmeyer
09726626cf
add 'premultiplied' property on raster symbolizer to allow user to control (in rare cases) the premultiplied status of images in cases where tiffs mis-report it - closes #1512
2012-10-01 16:14:41 -07:00
Dane Springmeyer
e2a76e09b3
use what you include
2012-10-01 15:03:17 -07:00
artemp
01ae1a179d
Merge branch 'master' into conv_simplify
2012-09-17 11:35:15 +01:00
Dane Springmeyer
657098fd48
fix git conflicts that snuck into the code
2012-09-14 18:35:54 -07:00
Hermann Kraus
e629cbb1c3
Raise Exception instead of returning None.
2012-09-15 02:06:08 +02:00
Hermann Kraus
1940014a48
Remove deprecation warnings.
2012-09-14 23:25:32 +02:00
Dane Springmeyer
8cfb40ae2f
refactor fontsets making them optional on the symbolizer and removing the dangerous default contructor - closes #1483 (TODO - consider modifying insert_fontset to only take single arg of fontset instance)
2012-09-14 14:17:45 -07:00
artemp
fb8f50b0f5
Merge branch 'master' into conv_simplify
2012-09-14 13:15:42 +01:00
Hermann Kraus
d181313e90
Add TextSymbolizer.name in python bindings.
...
Refs #1482 .
2012-09-14 01:56:35 +02:00
artemp
29423cfc1c
Merge branch 'master' into conv_simplify
...
Conflicts:
bindings/python/mapnik_markers_symbolizer.cpp
plugins/input/ogr/ogr_index_featureset.cpp
plugins/input/shape/dbfile.cpp
plugins/input/shape/shapefile.hpp
src/load_map.cpp
2012-09-07 16:46:02 +01:00
artemp
967d6110bf
+ singleton: return ref from instance() method
2012-09-07 16:23:03 +01:00
artemp
11e6ba0c09
+ make client methods non-static in classes derived from
...
mapnik::singleton<> (TODO: apply to all)
+ ensure client methods are accessed through instance() method
2012-09-07 14:56:30 +01:00
artemp
8fa0742a53
+ make client methods non-static in classes derived from
...
mapnik::singleton<> (TODO: apply to all)
+ ensure client methods are accessed through instance() method
2012-09-07 14:51:25 +01:00
artemp
5f8bb423e8
Merge branch 'conv_simplify' of git://github.com/kkaefer/mapnik into kkaefer-conv_simplify
2012-09-06 13:12:39 +01:00
artemp
a513d3f97d
+ code: avoid exposing unsafe static methods in datasource_cache ( #1451 )
...
+ python: remove redundent 'instance' method (mapnik.DatasourceCache)
+ python: reflect plugin_directories method
+ tests: update python usage
TODO: consider using similar approach in FontEngine etc..
TODO: consider returning reference from singleton::instance() to
safeguard from accidental deleting a 'singleton' pointer
2012-09-05 12:53:37 +01:00
Dane Springmeyer
ac8e22a781
bindings: get_filename - no need for const here
2012-09-03 10:52:26 -07:00
Dane Springmeyer
a12b8f1d2f
c++ style
2012-09-03 10:27:48 -07:00
Konstantin Käfer
ae865a59fb
Merge branch 'master' into conv_simplify
...
Conflicts:
include/mapnik/vertex_converters.hpp
2012-08-28 20:37:27 +02:00
Dane Springmeyer
5120d0398d
add build file for headers and svg/output code directories to hold the svg_renderer used for output - refs #1438
2012-08-27 17:58:49 -07:00
Dane Springmeyer
ac418a7d4e
remote the last references
2012-08-27 16:43:40 -07:00
Konstantin Käfer
f5ed45ff80
Merge branch 'master' of git://github.com/mapnik/mapnik into conv_simplify
2012-08-25 15:02:12 +02:00
Panagiotis Skintzos
e34dc99f3a
Exposed the label collision detector outside of Cairo renderer and added Python bindings (issue #1107 )
2012-08-25 11:43:31 +02:00
Konstantin Käfer
13c46b6cc6
Merge branch 'master' into conv_simplify
...
Conflicts:
bindings/python/mapnik_line_symbolizer.cpp
bindings/python/mapnik_polygon_symbolizer.cpp
2012-08-24 23:29:43 +02:00
Konstantin Käfer
4e1423cefe
Merge branch 'master' of git://github.com/mapnik/mapnik into conv_simplify
...
Conflicts:
src/cairo_renderer.cpp
2012-08-24 23:24:31 +02:00
Dane Springmeyer
d9fa1cb0c2
remove old $ cruft
2012-08-24 13:49:28 -07:00
Dane Springmeyer
c0539406d8
fix includes post bf3efbeab8
- refs #1435
2012-08-23 11:34:13 -07:00
Dane Springmeyer
ce03b3599b
expose svg output for geometries - refs #1437 (TODO: support svg_multi_generator)
2012-08-22 19:13:37 -07:00
Dane Springmeyer
501d322c96
+reflect comp_op, smooth, and clip in python bindings for all relevant symbolizers - closes #1264
2012-08-21 18:05:43 -07:00
Dane Springmeyer
e8101a070a
partially repair backward compatibility in python for 'marker-type' - refs #1427 and #1285
2012-08-21 16:36:15 -07:00
Dane Springmeyer
ab5ce64b16
python: add properties to mapnik.Stroke to match xml/svg spec - refs #1427
2012-08-21 15:59:31 -07:00
Dane Springmeyer
6a0df52b1c
python: add wrap_character alias to wrap_char - refs #1427
2012-08-21 14:48:10 -07:00
Dane Springmeyer
d069ce7405
apply patch from @lightmare for fixing return of text_transform - closes #1420
2012-08-21 14:37:35 -07:00
Dane Springmeyer
0dec6c69ca
+reflect miterlimit in python
2012-08-20 19:19:21 -07:00
Dane Springmeyer
72f967924e
+reflect new opacity propert of polygon_pattern_symbolizer in python
2012-08-20 18:52:07 -07:00
Dane Springmeyer
6ca9196c98
remove unused header
2012-08-20 18:22:46 -07:00
Dane Springmeyer
3e4d579a5e
+reflect background_image in python and add background_color to match XML
2012-08-20 18:18:36 -07:00
Dane Springmeyer
b76c8e5c64
+reflect building symbolizer in python
2012-08-20 18:17:00 -07:00
Dane Springmeyer
9273f861bc
reflect all new style properties in python - refs #1264
2012-08-20 17:17:37 -07:00
Dane Springmeyer
8c8cf71d52
python: add 'status' property to match XML - refs #1418
2012-08-20 17:16:47 -07:00
Dane Springmeyer
55646ce236
fix group_by on layer to be std::string const& and reflect in python
2012-08-20 16:26:41 -07:00
Rich Wareham
0301294c84
python bindings: add wkt_features helper to PythonDatasource
...
The Python plugin datasource helper class already contained a helper for generating WKB features. This patch adds an
almost identical helper for WKT features. This is to facility Python data source who generate their features directly
using the text formatting support in Python.
2012-08-18 17:15:38 +01:00
artemp
f24641e802
+ add envelope() method to mapnik.Path
2012-08-17 16:53:43 +01:00
artemp
258ea94d8d
+ add_geojson and from_geojson methods
...
+ add_wkb,from_wkb throw RuntimeError
+ cleanups
2012-08-17 12:48:41 +01:00
Dane Springmeyer
ad2250a4b5
back compatibility for raster-mode values using _ and shield-no-text
2012-08-16 19:20:29 -07:00
Dane Springmeyer
62e039d2c9
double grid encoding performance in python - closes #1315
2012-08-16 18:39:11 -07:00
Dane Springmeyer
58d848ae8e
c++ style
2012-08-16 18:25:06 -07:00
Dane Springmeyer
25a1643d54
partial revert of e6e32fc
and general cleanup to match node-mapnik grid api - refs #1325 and 1315
2012-08-16 17:51:36 -07:00
Dane Springmeyer
a986aedd05
remove 'info' and 'fatal' severities for logging to simplify framework - closes #1400
2012-08-16 15:52:32 -07:00
Konstantin Käfer
b243f03c90
use a set to make visvalingam a lot faster
2012-08-16 22:26:58 +02:00
Dane Springmeyer
a3e27ed726
Merge branch 'master' of github.com:mapnik/mapnik
2012-08-16 12:29:27 -07:00
Dane Springmeyer
d850ee8b76
correct various old trac links to point to github - closes #1396
2012-08-16 12:27:58 -07:00
Dane Springmeyer
ecb72d6cbc
scons: don't run parseconfig if uninstalling
2012-08-16 10:00:05 -07:00
Konstantin Käfer
22150f908f
add facilities to choose the simplification algorithm
2012-08-16 16:53:38 +02:00
artemp
8bba93d299
+ don't pass std::string arg by value - use const&
2012-08-16 12:05:31 +01:00
artemp
e6e32fcb39
+ applied patch from @lightmare - #1325
2012-08-16 11:00:07 +01:00
Dane Springmeyer
91b15c4cdf
remove python pickling for map/style/rule/symbolizers/fontset/query - refs #1391
2012-08-15 13:55:36 -07:00
Dane Springmeyer
b8a0587c29
disable deepcopy in python bindings until this is more solid - refs #1390
2012-08-15 13:27:44 -07:00
Dane Springmeyer
6f5d6f65b1
include what you use
2012-08-15 10:24:56 -07:00
artemp
aecf0531f5
+ remove metawriters for the upcoming 2.1 release
2012-08-15 09:47:03 +01:00
Dane Springmeyer
3d048c5f72
add ticket reference for workaround added in 60d843a7a8
2012-08-14 12:19:56 -07:00
Konstantin Käfer
dcd7a07c8e
simplify-tolerance property boilerplate
2012-08-14 17:04:57 +02:00
Dane Springmeyer
339fd59293
+reflect line_symbolizer offset
2012-08-13 14:06:11 -07:00
artemp
7847af51e7
+ fix __iter__ protocol
2012-08-08 16:15:54 +01:00
artemp
abd40edfd9
+ add std::runtime_error to python translator
2012-08-08 12:11:30 +01:00
artemp
c2dca42a4f
+ use Py_RETURN_NONE
...
+ cleanup/simplify
2012-08-07 17:01:03 +01:00
artemp
7cfdfde247
+ call Py_RETURN_NONE macro to properly handle returning Py_None
...
(http://docs.python.org/c-api/none.html ) - thanks, @lightmare!
2012-08-07 15:43:40 +01:00
artemp
9da9ffadc1
+ don't crash on empty paths
2012-08-07 14:47:28 +01:00
artemp
60d843a7a8
+ temp fix : provide get_fill_opacity_impl to avoid
...
"No to_python (by-value) converter found for C++ type: float"
2012-08-07 11:37:24 +01:00
Artem Pavlenko
189322ef9f
Merge pull request #1337 from rjw57/rjw57-python-plugin
...
Request for comments: python: a new plugin to use arbitrary Python as a data source
2012-08-06 05:09:29 -07:00
artemp
5541ea0271
+ layer : minimum-extent and buffer-size
...
+ agg::process_xxx : remove ad-hoc query_extent modifiers
+ ctrans : simplify vertex skipping
2012-08-01 15:44:36 +01:00
Dane Springmeyer
a9f99848c2
expose boost::optional<mapnik::stroke> for markers_symbolizer (which works as oopposed to boost::optional<double> and boost::optional<float> which are broken
2012-07-31 18:40:53 -07:00
Dane Springmeyer
f60f40c939
Merge pull request #1157 from mapnik/stroke-as-reference
...
make stroke property on line_symbolizer a reference when accessed from python (not a copy)
2012-07-31 18:20:55 -07:00
Dane Springmeyer
16084ff335
support both interior placement and point for markers - helps prepare for #952
2012-07-31 18:13:50 -07:00
Rich Wareham
156a7590f4
python: a new plugin to use arbitrary Python as a data source
...
This plugin allows you to write data sources in the Python programming language.
This is useful if you want to rapidly prototype a plugin, perform some custom
manipulation on data or if you want to bind mapnik to a datasource which is most
conveniently accessed through Python.
The plugin may be used from the existing mapnik Python bindings or it can embed
the Python interpreter directly allowing it to be used from C++, XML or even
JavaScript.
Mapnik already has excellent Python bindings but they only directly support
calling *into* mapnik *from* Python. This forces mapnik and its input plugins to
be the lowest layer of the stack. The role of this plugin is to allow mapnik to
call *into* Python itself. This allows mapnik to sit as rendering middleware
between a custom Python frontend and a custom Python datasource. This increases
the utility of mapnik as a component in a larger system.
There already exists MemoryDatasource which can be used to dynamically create
geometry in Python. It suffers from the problem that it does not allow
generating only the geometry which is seen by a particular query. Similarly the
entire geometry must exist in memory before rendering can progress. By using a
custom iterator object or by using generator expressions this plugin allows
geometry to be created on demand and to be destroyed after use. This can have a
great impact on memory efficiency. Since geometry is generated on-demand as
rendering progresses there can be arbitrarily complex 'cleverness' optimising
the geometry generated for a particular query. Obvious examples of this would
be generating only geometry within the query bounding box and generating
geometry with an appropriate level of detail for the output resolution.
2012-07-31 17:05:27 +01:00
Dane Springmeyer
0d97b851fa
markers: support opacity on bitmaps, and move to supporting both opacity and fill-opacity
2012-07-30 18:31:21 -07:00
Dane Springmeyer
1476280189
include what you use
2012-07-24 19:08:15 -07:00
Dane Springmeyer
6c7ab1767b
include what you use
2012-07-24 18:35:18 -07:00
Hermann Kraus
08cbf1c71c
Fix deprecation warnings. Part 2
...
Closes #1340 .
2012-07-25 01:15:44 +02:00
Dane Springmeyer
e13e81c4d5
move grid utility functions to cpp file - avoids function 'defined but not used' compiler warnings - refs #1330
2012-07-23 11:43:24 -07:00
Dane Springmeyer
e36081a5c0
change geometry_utils::from_wkb to return a bool that signifies if at least one wkb path was parsed - refs #1333 and #1305
2012-07-20 15:09:01 -07:00
Rich Wareham
7b3baee3a1
python bindings: export Query.resolution property as a tuple
...
Although the mapnik::query class is exposed to the Python bindings, the
resolution attribute is a raw boost::tuple. If you attempt to access
this tuple from Python, boost complains strongly.
This patch adds the required magic to marshal the raw boost::tuple which
is query::resolution_type into an honest-to-goodness Python tuple.
2012-07-19 19:35:20 +01:00
artemp
d3bc55761b
+ define keys container in client code not in grid/grid_view,
...
e.g doesn't have to be std::map<...>
2012-07-12 10:57:57 +01:00
Dane Springmeyer
3e895ac6b7
implement built in support for ellipse and arrow markers, make markers_symbolizer default to POINT placement and ellipse drawing, add back compatibility for deprecated marker-type property - refs #1285 and #1304
2012-07-10 22:38:53 -07:00
Dane Springmeyer
5aff56a192
expose ability to clear global caches in python - closes #1022
2012-07-10 09:36:08 -07:00
Dane Springmeyer
cde0c0217d
add missing file
2012-07-06 18:39:59 -07:00
Dane Springmeyer
269569250c
use mapnik.Image for visual tests - closes #1296
2012-07-06 17:44:15 -07:00
Dane Springmeyer
3823890b40
rollback 34c3128b0c
, move 'scaling' to proper enum, and move image_scaling functions to new cpp/hpp
2012-07-06 16:45:58 -07:00
Dane Springmeyer
9dd69d091b
merge with master
2012-07-05 15:40:16 -07:00
Dane Springmeyer
d8c719f05e
finish exposing scale_factor to cairo_renderer
2012-07-05 14:54:58 -07:00
Dane Springmeyer
44769def3c
Merge branch 'master' of github.com:mapnik/mapnik
2012-07-05 11:55:05 -07:00
Dane Springmeyer
906de8e317
simplify boost_python library configure checks
2012-07-05 11:54:43 -07:00
artemp
ebf1ef6bcf
+ update python bindings for markers_symbolizer
2012-07-05 17:13:21 +01:00
artemp
9b14a7206a
remove arrow/ellipse ad-hoc markers - see #1285
2012-07-04 14:50:11 +01:00
Dane Springmeyer
d9880efd6e
avoid compiler warning on unsigned/signed comparison
2012-06-26 11:23:26 -07:00
Dane Springmeyer
5b873beafb
add support for dynamically inheriting an optional settings file in python
2012-06-25 15:37:49 -07:00
Artem Pavlenko
2e9f3ad245
python bindings : expose largest_bbox_only property
2012-06-25 15:09:40 +01:00
Dane Springmeyer
5b61c093e5
initialize grid buffers to std::numeric_limits<int>::min() and use that value to mean no-hit or non-interactive pixels - closes #1065
2012-06-23 22:41:07 -04:00
Dane Springmeyer
631b3637dc
avoid compiler warning
2012-06-23 22:10:12 -04:00
Dane Springmeyer
eb4740b50f
fix behavior of compositing via python api now that we have premultiplication issues sorted out in core - refs #1262 and #314 and #1211
2012-06-21 15:44:57 -04:00
Artem Pavlenko
c5864453a0
+ only premultiply src
2012-06-18 18:50:32 -04:00
Dane Springmeyer
eb8f27bee7
Merge branch 'master' of github.com:mapnik/mapnik
2012-06-07 13:17:44 -05:00
Mickey Rose
1e3c48afb1
split parse_transform.hpp, set dynamic transform expression from python
2012-06-07 17:06:45 +02:00
Dane Springmeyer
51d3310012
grid encoding: reuse key string
2012-06-07 07:27:42 -07:00
Artem Pavlenko
11c34b1599
Merge branch 'transform_expr' of https://github.com/mirecta/mapnik
2012-06-07 10:20:05 +01:00
Dane Springmeyer
f374d01896
only mark deprecated api names for removal at major versions to ensure we are semver compatible - thanks @migurski - closes #1129
2012-06-06 17:32:16 -07:00
Dane Springmeyer
c29c18e8df
expose a get_pixel method on mapnik::grid (for testing purposes)
2012-06-06 16:34:45 -07:00
Mickey Rose
bd9609c370
new feature: transform expressions are now dynamic
...
(cherry picked from commit 173c402b5c142310087246b0ea54dbec54edcac8)
Conflicts:
include/mapnik/vertex_converters.hpp
src/agg/process_markers_symbolizer.cpp
src/agg/process_point_symbolizer.cpp
src/agg/process_polygon_pattern_symbolizer.cpp
src/load_map.cpp
2012-06-06 17:34:26 +02:00
Dane Springmeyer
11e81fdb03
finish exposing markers symbolizer in python - closes #612
2012-06-04 13:42:51 -07:00
Mickey Rose
09b05b48b0
fix/prevent to_expression_string misuse #985
2012-05-29 22:53:39 +02:00
Dane Springmeyer
6fd92dcc3e
do not premultiply the image mask being composited to the target buffer - fixes #1211
2012-05-24 13:41:00 -07:00
Artem Pavlenko
1077b79a63
Revert "initialise blur radius's to 1 for real this time"
...
This reverts commit f76c6ee25f
.
2012-05-24 11:37:24 +01:00
Artem Pavlenko
f76c6ee25f
initialise blur radius's to 1 for real this time
2012-05-23 20:38:42 +01:00
Hermann Kraus
707052c06b
Add python backwards compatibility for TextSymbolizer.
...
Closes #1115 .
2012-05-23 15:52:43 +02:00
Dane Springmeyer
ebfbe79919
python: fix leaky Py_None return by calling Py_INCREF(Py_None) before returning - closes #1221
2012-05-18 13:22:51 -07:00
Dane Springmeyer
c1495c0c74
restore the fast line rasterizer (rasterizer_outline_aa) and improve its rendering quality and consistency with standard method - refs #873
2012-05-11 17:40:21 -07:00
Dane Springmeyer
8ae867f6de
default values for composite args to maintain api compatibility
2012-05-11 15:19:05 -07:00
Artem Pavlenko
8085110e8f
+ add opacity parameter
2012-05-10 18:14:53 +01:00
Artem Pavlenko
7e49a6f44e
+ move 'smooth' property to symbolizer_base level
...
+ remove 'SYMBOLIZER_FAST' completely
2012-05-07 16:08:16 +01:00
Artem Pavlenko
df0420af8d
Merge branch 'master' into compositing
2012-05-04 09:17:14 +01:00
Dane Springmeyer
f556aa14a6
Merge branch 'master' of github.com:mapnik/mapnik
2012-05-03 21:56:55 -04:00
Dane Springmeyer
5016a1d476
avoid trying to determine relative path from python module to plugins as this can make flexible packaging harder - closes #1171
2012-05-03 21:56:39 -04:00
Artem Pavlenko
642899e52c
Merge branch 'master' into compositing
2012-05-02 08:56:38 +01:00
Dane Springmeyer
b0a08c7178
fix docstring for Style.filter_mode
2012-05-01 23:28:58 -04:00
Artem Pavlenko
77dfac5622
+ re-introduce transform on symbolizer_with_image
2012-05-01 16:47:33 +01:00
Artem Pavlenko
a72ee4ba66
Merge branch 'master' into compositing
...
Conflicts:
include/mapnik/image_compositing.hpp
include/mapnik/util/conversions.hpp
include/mapnik/value.hpp
src/agg/agg_renderer.cpp
src/agg/process_line_symbolizer.cpp
src/agg/process_polygon_symbolizer.cpp
src/png_reader.cpp
src/svg_parser.cpp
utils/svg2png/svg2png.cpp
2012-05-01 12:35:49 +01:00
Artem Pavlenko
03d42e59a5
+ allow specifying premultiply flag for src and dst images
...
+ fix logic in agg_renderer (TODO)
2012-04-20 14:53:11 +01:00
Dane Springmeyer
61d3cf635a
Merge pull request #1172 from caffeinate/master
...
MarkersSymbolizer - stroke/fill python bindings
2012-04-19 12:15:43 -07:00
Dane Springmeyer
d5c09b6008
reflect the mapnik.logger types in python
2012-04-13 17:52:13 -07:00
Si Parker
003c5a72ab
added MarkersSymbolizer python bindings for fill and stroke
2012-04-11 10:41:15 +01:00
kunitoki
1a203d3f85
- cleaned up logger interface to better integrate with python bindings
...
- polished and finished python bindings for logger interaction
2012-04-10 10:14:28 +02:00
kunitoki
a902a08aab
- added logging to file
...
- started working on the logger bindings
- cleanups some error reporting with cerr/clog in the library
2012-04-10 00:25:31 +02:00
kunitoki
b60c508c1c
- finish thrashing all the useless ifdef MAPNIK_LOG
2012-04-09 21:41:56 +02:00
kunitoki
8c58a9aa73
- improved again the logging facilities
...
- aligned the plugins to using the new methods with severity
- implemented per object severity, with fallback to global (with global functions to set them programmatically)
- initial check in of logger python bindings (todo)
2012-04-09 03:00:51 +02:00
kunitoki
1f351e0e09
implement new debug system
2012-04-08 02:20:56 +02:00
Artem Pavlenko
0618f9ca42
+ remove unused header
2012-04-05 15:56:59 +01:00
Dane Springmeyer
d29ae14104
make it possible to set the map.maximum_extent back to None/uninitialized from python
2012-04-04 12:07:15 -07:00
Dane Springmeyer
2e76ff1958
make stroke property on line_symbolizer a reference when accessed from python (not a copy)
2012-04-02 11:57:24 -07:00
Artem Pavlenko
9840c7df4c
Merge branch 'master' into compositing
...
Conflicts:
include/mapnik/util/dasharray_parser.hpp
src/agg/process_line_symbolizer.cpp
src/image_compositing.cpp
2012-03-26 09:05:02 +01:00
Dane Springmeyer
3f26c439c9
fix marker width/height to mean pixels - which it should have all along - closes #1134
2012-03-23 20:28:12 -07:00
Dane Springmeyer
ea5a46f230
remove the storage and serialization of 'font-directory' and 'minimum-version' since there is no strong need to have them accessible after initial parsing
2012-03-23 18:14:14 -07:00
Dane Springmeyer
5e6632f6eb
declare register_fonts as static
2012-03-23 14:22:47 -07:00
Artem Pavlenko
95cfb061af
+ experimental compositing symbolizer (fill only)
2012-03-21 15:47:33 +00:00
Hermann Kraus
9b62a19cf4
Implement justify-alignment=auto.
...
Closes #1125 .
2012-03-19 17:12:53 +01:00
novldp
0ecd5bae45
+add MarkersSymbolizer ignore-placement to save_map and python bindings
2012-03-18 23:30:37 +01:00
Artem Pavlenko
70512dc03b
+ add optional smothing to line_symbolizer
...
( TODO: conv_dash )
2012-03-15 10:26:53 +00:00
Dane Springmeyer
2abe02bd96
make available MAPNIK_VERSION_STRING in c++ header (not just in python) and add MAPNIK_VERSION_IS_RELEASE define that indicates if the code is released
2012-03-14 18:30:32 -07:00
Dane Springmeyer
74452f8ed7
remove explicit exports in python using __all__ - way more trouble than it is worth
2012-03-14 15:35:16 -07:00
Dane Springmeyer
586416b523
Merge branch 'master' of github.com:mapnik/mapnik
2012-03-14 11:53:58 -07:00
Artem Pavlenko
72baf59247
+ add smooth property
...
+ update help strings
2012-03-14 16:51:07 +00:00
Dane Springmeyer
9cbef60595
pep8 formatting
2012-03-13 08:22:34 -07:00
Dane Springmeyer
b36739fd88
apply mapnik_format.el formatting
2012-03-13 07:59:22 -07:00
Artem Pavlenko
207ecfd597
remove camel-case names from layer.[h,c]pp
2012-03-12 15:39:59 +00:00
Dane Springmeyer
3add1f984c
add Geos plugin to exported module scope
2012-03-08 08:40:12 -08:00
Dane Springmeyer
f90b410ece
formatting to use const& as per 6462af3
2012-03-05 11:10:04 -08:00
Hermann Kraus
5578bdb6f9
Remove has_dimensions and dimensions from text_placement_info.
...
This functionality is better provided by placement_finder.additional_boxes.
2012-03-04 16:38:40 +01:00
Hermann Kraus
46272d836b
Move more variables from text_placements_info to placement_finder.
...
Refs #1048 .
2012-03-04 13:32:10 +01:00
Hermann Kraus
b4eddaab24
Move variables from text_placements_info to placement_finder.
...
Reuse placement_finder objects.
Pass feature to placement_finder.
Refs #1048 .
2012-03-04 01:49:01 +01:00
Dane Springmeyer
adcce7102d
be explicit to avoid compile error if includes change
2012-02-24 16:14:02 -08:00
Artem Pavlenko
8767ca8275
+ add set_pixel method
2012-02-23 14:32:20 +00:00
Hermann Kraus
d203d56d34
Update tests.
2012-02-21 10:21:40 +01:00
Artem Pavlenko
f20007a965
+ add to_geojson() method to mapnik.Path
2012-02-20 12:05:11 +00:00
Artem Pavlenko
68df26baba
+ add to_geojson method to mapnik.Feature
2012-02-20 10:55:25 +00:00
Artem Pavlenko
3953a94636
+ geojson generator interface
2012-02-20 10:53:58 +00:00
Hermann Kraus
725ceaadc1
Fix problem introduced in 060545b9aa
.
2012-02-19 17:12:08 +01:00
Hermann Kraus
6fe0637425
Complete support for formatting types.
2012-02-19 02:03:25 +01:00
Hermann Kraus
3508ec5fb4
Merge branch 'master' into python-textplacement
2012-02-17 20:54:48 +01:00
Hermann Kraus
56004ab181
Python bindings: Rename properties=>defauls, default_format=>format.
2012-02-16 00:27:03 +01:00
Hermann Kraus
ceda45249f
Merge branch 'master' into python-textplacement
2012-02-16 00:18:44 +01:00
Dane Springmeyer
81230b2b30
remove uneeded include
2012-02-14 16:05:25 -08:00
Dane Springmeyer
ab11f48ce4
avoid compiler warning
2012-02-13 11:30:27 -08:00
Dane Springmeyer
6b6d069f3e
silence compiler warning about signed/unsigned comparison
2012-02-13 11:01:16 -08:00
Hermann Kraus
be0f110a76
Fix spelling error.
2012-02-12 23:00:38 +01:00
Hermann Kraus
2b5274c21b
Merge branch 'textplacement-rename' into python-textplacement
2012-02-12 13:57:51 +01:00
Hermann Kraus
52702d3a20
Rename filter_factory to expression.
2012-02-12 13:06:39 +01:00
Hermann Kraus
32b492fac1
Fix includes.
2012-02-12 04:06:34 +01:00
Hermann Kraus
9eccd58ed5
Merge branch 'textplacement-rename' into python-textplacement
...
Conflicts:
include/mapnik/text_processing.hpp
2012-02-12 04:01:58 +01:00
Hermann Kraus
69f153bf8f
Fix all includes.
2012-02-12 03:55:13 +01:00
Hermann Kraus
86d32afac5
Add string constructor for text node.
2012-02-12 01:49:54 +01:00
Hermann Kraus
c94d32b41b
Add bindings for formating::list_node.
2012-02-11 11:21:33 +01:00
Hermann Kraus
060545b9aa
Easier and safer thread blocking. Part 2
2012-02-09 00:28:10 +01:00
Hermann Kraus
113d42c2c3
Easier and safer thread blocking.
2012-02-09 00:22:12 +01:00
Hermann Kraus
383ad9dad8
Add explicit namespaces. Old code compiled with clang but not with gcc.
2012-02-09 00:07:55 +01:00
Hermann Kraus
7088f972e5
Work around ugly boost python bug.
2012-02-08 23:00:07 +01:00
Hermann Kraus
c28582a23c
Add FormatingFormatNode properties.
2012-02-08 20:39:09 +01:00
Hermann Kraus
4333a99991
Copy&paste error.
2012-02-08 00:59:44 +01:00
Hermann Kraus
e71fffe9ac
Fix indention.
2012-02-08 00:44:00 +01:00
Hermann Kraus
6121e47f50
Thread safety for python. Closes #1063 .
2012-02-08 00:40:02 +01:00
Hermann Kraus
c966a07b86
Add wrapper fro formating::format_node.
2012-02-06 01:10:09 +01:00
Hermann Kraus
487a4a3219
Add shortcuts.
2012-02-06 00:33:47 +01:00
Hermann Kraus
86d2db8538
Remove deprecated TextSymbolizer functions.
...
Move to mapnik_text_placement.cpp.
2012-02-05 23:47:32 +01:00
Hermann Kraus
75026700b9
Add second constructor for TextSymbolizer.
2012-02-05 21:58:39 +01:00
Hermann Kraus
c07c5594c9
Correctly wrap FormatingNode.
2012-02-05 21:27:29 +01:00
Hermann Kraus
fae698bc59
Consistent formating.
2012-02-05 15:45:30 +01:00
Hermann Kraus
37b2054041
Copy constructor for CharProperties.
2012-02-05 15:11:08 +01:00
Hermann Kraus
099ec85da6
Implement add_expression and helper classes.
...
Update test.
2012-02-05 04:09:09 +01:00
Hermann Kraus
263f5708f3
More processed_text bindings.
2012-02-05 01:47:49 +01:00
Hermann Kraus
ded95dd1e4
Temporary fix for #1063 .
2012-02-05 01:27:50 +01:00
Hermann Kraus
197af707b1
Remove debuging output.
2012-02-05 00:52:09 +01:00
Hermann Kraus
2f144d6ccb
Python bindings for formating::text_node.
2012-02-04 04:32:32 +01:00
Hermann Kraus
593c8a4838
Correctly register objects.
2012-02-03 23:24:32 +01:00
Hermann Kraus
a140c9ef40
Add python bindings for text_placements and text_placement_info.
2012-02-03 13:54:49 +01:00
Hermann Kraus
99a58ff2ba
Add Python wrapper for formating::node.
2012-02-03 02:01:01 +01:00
Hermann Kraus
f64190e47f
Make TextSymbolizer default constructable and add "placements" property.
2012-02-03 02:00:21 +01:00
Dane Springmeyer
f310148337
whitespace fixes (using format_source_files.sh)
2012-02-01 17:30:26 -08:00
Dane Springmeyer
07d7d7d537
convert to using feature_ptr rather than const& for renderers
2012-02-01 16:37:05 -08:00
Dane Springmeyer
915addc51d
update grid rendering interface to new feature impl
2012-02-01 10:43:23 -08:00
Artem Pavlenko
e4f7f1074a
+ validate input tuple length
...
+ fix index in extract<double>
2012-01-31 20:46:36 +00:00
Hermann Kraus
d2e26b5495
Python bindings for char_properties.
2012-01-31 18:28:02 +01:00
Artem Pavlenko
796bd5d8c2
remove duplicate enumeration registration
2012-01-31 16:51:14 +00:00
Artem Pavlenko
b90de4874c
Merge branch 'textplacement-merge' into feature-text-merge
...
Conflicts:
docs/textrendering.gv
include/mapnik/building_symbolizer.hpp
include/mapnik/placement_finder.hpp
include/mapnik/symbolizer_helpers.hpp
include/mapnik/text_placements.hpp
include/mapnik/text_placements_list.hpp
include/mapnik/text_placements_simple.hpp
include/mapnik/text_processing.hpp
plugins/input/shape/shape_utils.hpp
src/agg/process_shield_symbolizer.cpp
src/agg/process_text_symbolizer.cpp
src/cairo_renderer.cpp
src/grid/process_shield_symbolizer.cpp
src/grid/process_text_symbolizer.cpp
src/load_map.cpp
src/placement_finder.cpp
src/shield_symbolizer.cpp
src/text_placements.cpp
src/text_processing.cpp
src/text_symbolizer.cpp
tests/visual_tests/clean.sh
tests/visual_tests/test.py
Merge herm/textplacement-merge
2012-01-31 11:09:55 +00:00
Artem Pavlenko
39bafa0cf1
add push_new member function which allows modifying
...
current features context (useful when datasource schema
is unknown, so we update context as we go along).
2012-01-30 14:05:41 +00:00
Hermann Kraus
e4340c0f89
Python bindings for text_symbolizer_properties.
2012-01-30 03:32:25 +01:00
Hermann Kraus
49a3b3c52c
Make code easier to read by using std::pair instead of boost::tuple for position.
2012-01-29 17:33:43 +01:00
Hermann Kraus
822786e41c
Remove no-text attribute. One can simply leave the text empty if one wants this.
2012-01-29 13:10:14 +01:00
Artem Pavlenko
d1f16bb227
merge textplacement-merge into feature_impl
2012-01-26 13:04:08 +00:00
Artem Pavlenko
d146bcc380
Merge branch 'master' into feature_impl
2012-01-25 10:04:03 +00:00
Hermann Kraus
0c5fc9f246
Merge pull request #1050 from rfw/text-placements-python
...
Add text placements to Python API.
2012-01-24 18:11:13 -08:00
Tony Young
d0d692cb82
Add text placements to Python API.
2012-01-25 12:57:26 +13:00
Artem Pavlenko
c88d7e723d
+ access feature_kv_iterator directly on mapnik::Feature::begin()/end()
...
+ avoid using 'feature' as variable name as mapnik::Feature will be renamed to mapnik::feature
+ revert 'describe' to 'attributes' (original name fits better in this context I think)
+ make attributes a Puython property
2012-01-24 14:48:30 +00:00
Dane Springmeyer
803a705774
add a method to get simple dictionary of feature attributes, remove old/deprecated feature access
2012-01-24 00:27:27 -08:00
Artem Pavlenko
663b4adfa2
feature_impl : add get paths by const reference method
...
python : fix helper functions declarations
2012-01-23 14:22:14 +00:00
Hermann Kraus
21a58b7b7a
Add missing includes.
2012-01-20 22:43:05 +01:00
Hermann Kraus
7a4dda929a
Add H_AUTO to python bindings.
2012-01-20 22:19:48 +01:00
Hermann Kraus
e977df778a
Remove unused "anchor" attribute from Text/ShieldSymbolizer.
2012-01-20 00:09:25 +01:00
Artem Pavlenko
7601095e24
move context's typedef inside to avoid poluting global namespace
2012-01-19 17:36:27 -05:00
Artem Pavlenko
3e016f52e7
add __getitem__(self, index)
2012-01-19 16:57:46 -05:00
Artem Pavlenko
096082ba9b
Merge branch 'master' into feature_impl
2012-01-19 16:11:03 -05:00
Hermann Kraus
537231f60e
Remove glyph symbolizer.
2012-01-19 20:34:09 +01:00
Artem Pavlenko
e7fdf1fa51
more files...
2012-01-19 12:57:34 -05:00
Artem Pavlenko
6dc4aaac9d
more files...
2012-01-19 12:57:34 -05:00
Artem Pavlenko
ab314b44a4
+ use mapnik::gamma_method_e for all symbolizers
...
+ fixes #1042 : avoid pushin duplcaite name into boost.python registry
2012-01-19 12:45:24 -05:00
Artem Pavlenko
0f002077e1
+ use mapnik::gamma_method_e for all symbolizers
...
+ fixes #1042 : avoid pushin duplcaite name into boost.python registry
2012-01-19 12:45:24 -05:00
Artem Pavlenko
554341bee1
+ cleanup
...
+ add __getitem__ back
2012-01-18 14:34:22 -05:00
Artem Pavlenko
a6a540cb68
Merge branch 'master' into feature_impl
2012-01-18 09:40:55 -05:00
Artem Pavlenko
034b270eb4
Merge pull request #1023 from tarnowsc/master
...
Making the gamma-method for polygon symbolizer
2012-01-18 06:35:54 -08:00
Artem Pavlenko
8fd505790e
Merge pull request #1023 from tarnowsc/master
...
Making the gamma-method for polygon symbolizer
2012-01-18 06:35:54 -08:00
Artem Pavlenko
63a3399036
Merge branch 'feature_impl' of github.com:mapnik/mapnik into feature_impl
2012-01-17 17:58:34 -05:00
Dane Springmeyer
820b9a2b25
merge master with feature_impl
2012-01-17 17:47:27 -05:00
Artem Pavlenko
97e090b150
feature_kv_iterator::value_type to python converter
2012-01-17 17:33:43 -05:00
Artem Pavlenko
50b5d06a48
Merge remote-tracking branch 'origin/feature_impl' into feature_impl
...
Conflicts:
include/mapnik/feature.hpp
2012-01-17 12:39:16 -05:00
Artem Pavlenko
7944d31c2e
use key_value (typedef to std::string)
...
throw std::out_of_range if key doesn't exist
add has_key(key_value const&) method
2012-01-17 11:23:32 -05:00
Dane Springmeyer
136239f88b
remove mapnik::point_datasource from c++ and mapnik.PointDatasource from python bindings
2012-01-17 09:58:45 -05:00
Dane Springmeyer
63891cec15
finish refactor, moving to separate method off datasources to get_geometry_type and using enums all around
2012-01-17 01:09:46 -05:00
Dane Springmeyer
b0d0d06564
finish refactor, moving to separate method off datasources to get_geometry_type and using enums all around
2012-01-17 01:09:46 -05:00
Dane Springmeyer
66a0cfc81f
refactor
2012-01-14 22:35:40 -08:00
Dane Springmeyer
834310f2d8
refactor
2012-01-14 22:35:40 -08:00
Cezary Tarnowski
93ff232ca2
#1023 making gamma power default, making gamma-method awailable for polygon pattern symolizer and stroke
2012-01-13 18:20:03 +01:00
Cezary Tarnowski
53fc770495
#1023 making gamma power default, making gamma-method awailable for polygon pattern symolizer and stroke
2012-01-13 18:20:03 +01:00
Artem Pavlenko
a3c338c835
cleanup
2012-01-13 16:31:13 +00:00
Cezary Tarnowski
e7a751987d
Merge remote-tracking branch 'upstream/master'
2012-01-13 14:49:59 +01:00
Cezary Tarnowski
afa8ecefc4
Merge remote-tracking branch 'upstream/master'
2012-01-13 14:49:59 +01:00
Artem Pavlenko
5ded118402
avoid wrapping boost::shared_ptr directly
2012-01-13 12:08:09 +00:00
Artem Pavlenko
8de670ecb9
+ add mapnik.Context
...
+ implement __setitem__
+ fix mapnik.Feature ctor - now requires Context obj
2012-01-13 12:03:26 +00:00
Cezary Tarnowski
c007a608ff
Adding gamma-method to polygon symbolizer
2012-01-12 16:58:10 +01:00
Cezary Tarnowski
c7cfdef8d4
Adding gamma-method to polygon symbolizer
2012-01-12 16:58:10 +01:00
Artem Pavlenko
0eb8e2d246
temp fix to compile FIXME
2012-01-12 10:04:49 +00:00
Dane Springmeyer
acc0d6e302
cleanup python datasource api simplifying access to descriptors
2012-01-11 20:03:47 -08:00
Dane Springmeyer
2a137908c3
cleanup python datasource api simplifying access to descriptors
2012-01-11 20:03:47 -08:00
Dane Springmeyer
90cf1a226a
use declared iterator
2012-01-09 08:38:46 -08:00
Dane Springmeyer
f8b9cb4db4
use declared iterator
2012-01-09 08:38:46 -08:00
Dane Springmeyer
baa0fa37b4
fix compile with older boost
2012-01-06 16:22:39 -08:00
Dane Springmeyer
954cb664ba
fix compile with older boost
2012-01-06 16:22:39 -08:00
Dane Springmeyer
5b36ac6f47
fix compile with older boost - fixes #1007
2012-01-05 16:45:12 -08:00
Dane Springmeyer
94ae30d7a2
fix compile with older boost - fixes #1007
2012-01-05 16:45:12 -08:00
Artem Pavlenko
db9021b929
+ add to_wkb method for mapnik.Path object
...
+ reflect byte order enum in Python : mapnik.wkbByteOrder.XDR|NDR
+ refactor boost_version to avoid duplicatiuon
2012-01-05 11:56:38 +00:00
Artem Pavlenko
71c275b86b
+ add to_wkb method for mapnik.Path object
...
+ reflect byte order enum in Python : mapnik.wkbByteOrder.XDR|NDR
+ refactor boost_version to avoid duplicatiuon
2012-01-05 11:56:38 +00:00
Dane Springmeyer
712553acea
add fontset binding
2011-12-22 12:48:41 -08:00
Dane Springmeyer
5af7afd2c8
add fontset binding
2011-12-22 12:48:41 -08:00
Dane Springmeyer
323c36db61
Merge branch 'geometry_cleanup'
2011-12-22 12:42:05 -08:00
Dane Springmeyer
b820cf7807
Merge branch 'geometry_cleanup'
2011-12-22 12:42:05 -08:00
Dane Springmeyer
c551626916
finish geometry cleanup work by ensuring proper behavior in the ogr plugin with multigeometries
2011-12-21 12:22:05 -08:00
Dane Springmeyer
89a09208e8
finish geometry cleanup work by ensuring proper behavior in the ogr plugin with multigeometries
2011-12-21 12:22:05 -08:00
Dane Springmeyer
d7c720f0af
python: reflect fontsets to enable fuller test of map.deepcopy - closes #348
2011-12-20 12:34:27 -08:00
Dane Springmeyer
bbeeaada4d
python: reflect fontsets to enable fuller test of map.deepcopy - closes #348
2011-12-20 12:34:27 -08:00
Dane Springmeyer
5d46850222
python: allow box2d to be returned as optional (None) to support map.maximum_extent
2011-12-20 10:42:38 -08:00
Dane Springmeyer
4cc1bb0e04
python: allow box2d to be returned as optional (None) to support map.maximum_extent
2011-12-20 10:42:38 -08:00
Artem Pavlenko
47b9da643c
add __deepcopy__ impl
2011-12-20 16:44:48 +00:00
Artem Pavlenko
0f76900d83
add __deepcopy__ impl
2011-12-20 16:44:48 +00:00
Artem Pavlenko
46d71b90db
add __deepcopy__ method using native c++ copy semantics
2011-12-20 16:17:20 +00:00
Artem Pavlenko
1bc92fccd7
add __deepcopy__ method using native c++ copy semantics
2011-12-20 16:17:20 +00:00
Dane Springmeyer
bc7da29e6b
scons: python 2.5 compatibility
2011-12-16 10:57:05 -08:00
Dane Springmeyer
224f75ff56
scons: python 2.5 compatibility
2011-12-16 10:57:05 -08:00
Dane Springmeyer
90b5cf69cc
update tests as per #992
2011-12-16 07:22:52 -08:00
Dane Springmeyer
6aefbd0d99
update tests as per #992
2011-12-16 07:22:52 -08:00
Artem Pavlenko
855a2bd49b
Merge branch 'master' into geometry_cleanup
2011-12-16 09:15:02 +00:00
Artem Pavlenko
9fe444ba29
Merge branch 'master' into geometry_cleanup
2011-12-16 09:15:02 +00:00
Dane Springmeyer
56cd9c4d6a
python bindings: limit uncessary linking on linux and on osx if '-undefined dynamic_lookup' is used (which is now default)
2011-12-14 11:18:31 -08:00
Dane Springmeyer
c51b7ae878
python bindings: limit uncessary linking on linux and on osx if '-undefined dynamic_lookup' is used (which is now default)
2011-12-14 11:18:31 -08:00
Artem Pavlenko
726cea7ba4
Merge branch 'master' into geometry_cleanup
2011-12-14 14:04:30 +00:00
Artem Pavlenko
ed7abc5c51
Merge branch 'master' into geometry_cleanup
2011-12-14 14:04:30 +00:00
Dane Springmeyer
acb726ce63
serialize relative path to fonts/plugins in python paths.py and re-assemble absolute path dynamically at load time to provide greatest portability
2011-12-13 17:53:31 -08:00
Dane Springmeyer
b45c0322b6
serialize relative path to fonts/plugins in python paths.py and re-assemble absolute path dynamically at load time to provide greatest portability
2011-12-13 17:53:31 -08:00
Dane Springmeyer
5a2da87aa8
removed unused file remaining from old automake system
2011-12-13 17:51:40 -08:00
Dane Springmeyer
61453b3842
removed unused file remaining from old automake system
2011-12-13 17:51:40 -08:00
Dane Springmeyer
382a04f33f
python: also include uninstall target for deprecated module name
2011-12-13 11:17:44 -08:00
Dane Springmeyer
c8a71cb07c
python: also include uninstall target for deprecated module name
2011-12-13 11:17:44 -08:00
Artem Pavlenko
fad6c614e8
remove title, abstract data members from mapnik::rule
2011-12-13 16:47:45 +00:00
Artem Pavlenko
46fea8e890
remove title, abstract data members from mapnik::rule
2011-12-13 16:47:45 +00:00
Artem Pavlenko
bf9dd32e2c
remove title,abstract members from layer class
2011-12-13 16:34:10 +00:00
Artem Pavlenko
d24e0436ea
remove title,abstract members from layer class
2011-12-13 16:34:10 +00:00
Artem Pavlenko
7e8e600790
+ WKT generator for mapnik::geometry_container
2011-12-12 18:19:52 +00:00
Artem Pavlenko
4f1438db01
+ WKT generator for mapnik::geometry_container
2011-12-12 18:19:52 +00:00
Artem Pavlenko
4a29caf96f
Merge branch 'master' into geometry_cleanup
2011-12-09 09:29:07 +00:00
Artem Pavlenko
47de1123f0
Merge branch 'master' into geometry_cleanup
2011-12-09 09:29:07 +00:00
Dane Springmeyer
3ed2133e39
maintain boost 1.42 compatibility (fixes nighly debian builds on lucid,maverick,and natty
2011-12-08 17:13:41 -08:00
Dane Springmeyer
262badd209
maintain boost 1.42 compatibility (fixes nighly debian builds on lucid,maverick,and natty
2011-12-08 17:13:41 -08:00
Artem Pavlenko
108d1559c1
Merge branch 'master' into geometry_cleanup
2011-12-08 16:51:21 +00:00
Artem Pavlenko
3a20edbfbd
Merge branch 'master' into geometry_cleanup
2011-12-08 16:51:21 +00:00
Artem Pavlenko
cb4152c280
add to_wkt method
2011-12-08 16:08:15 +00:00
Artem Pavlenko
11451a5b90
add to_wkt method
2011-12-08 16:08:15 +00:00
Artem Pavlenko
00ed6ffd5e
Merge branch 'master' into geometry_cleanup
2011-12-07 09:29:41 +00:00
Artem Pavlenko
39507d30f0
Merge branch 'master' into geometry_cleanup
2011-12-07 09:29:41 +00:00
Dane Springmeyer
1700ffe9cf
remove svn revision reporting as it is not longer relevant to git versioned mapnik
2011-12-06 16:52:50 -08:00
Dane Springmeyer
1190f3003d
remove svn revision reporting as it is not longer relevant to git versioned mapnik
2011-12-06 16:52:50 -08:00
Artem Pavlenko
7209988fb0
Simplify geometry model to support: Point/LineString/Polygon
...
Multi geometries are collections of single geometries
Remove multiple_geometries parameter
2011-12-06 12:53:16 +00:00
Artem Pavlenko
cc60b74921
Simplify geometry model to support: Point/LineString/Polygon
...
Multi geometries are collections of single geometries
Remove multiple_geometries parameter
2011-12-06 12:53:16 +00:00
Dane Springmeyer
9203639640
fully spell out parameters on the map object - refs #977
2011-12-05 18:05:35 -08:00
Dane Springmeyer
f0241c0170
fully spell out parameters on the map object - refs #977
2011-12-05 18:05:35 -08:00
Dane Springmeyer
742fb891e6
python: fixup mapnik.Path interface ( closes #901 ), add to_wkb method ( closes #831 ), and add tests for both
2011-12-02 19:22:04 -08:00
Dane Springmeyer
8168cf0f96
python: fixup mapnik.Path interface ( closes #901 ), add to_wkb method ( closes #831 ), and add tests for both
2011-12-02 19:22:04 -08:00
Dane Springmeyer
1d408aa485
fixup tests around parameters usage
2011-12-02 18:00:20 -08:00
Dane Springmeyer
e991f3c94e
fixup tests around parameters usage
2011-12-02 18:00:20 -08:00
Dane Springmeyer
bc002c1b8e
python: refactor interface to mapnik::parameters using poor man's indexingapproach - long term todo is merge mapnik::value_holder and mapnik::value to make this cleaner - refs #976
2011-12-02 17:59:57 -08:00
Dane Springmeyer
ad41bca19a
python: refactor interface to mapnik::parameters using poor man's indexingapproach - long term todo is merge mapnik::value_holder and mapnik::value to make this cleaner - refs #976
2011-12-02 17:59:57 -08:00
Dane Springmeyer
4c1d5ef5b6
do not need to point to reference
2011-12-02 17:02:20 -08:00
Dane Springmeyer
dcae156e92
do not need to point to reference
2011-12-02 17:02:20 -08:00
Dane Springmeyer
00707d02ff
python: make feature attribute access more pythonic
2011-12-02 15:08:56 -08:00
Dane Springmeyer
86459388c1
python: make feature attribute access more pythonic
2011-12-02 15:08:56 -08:00
Dane Springmeyer
7abee1fd47
python: remove unneeded header for mapnik_feature.cpp
2011-12-02 13:38:10 -08:00
Dane Springmeyer
8a4ba70c48
python: remove unneeded header for mapnik_feature.cpp
2011-12-02 13:38:10 -08:00
Dane Springmeyer
982d8fb321
python: use value_convertor to handle mapnik::parameter value_holder variant
2011-12-02 13:37:26 -08:00
Dane Springmeyer
aaa5d30c64
python: use value_convertor to handle mapnik::parameter value_holder variant
2011-12-02 13:37:26 -08:00
Dane Springmeyer
7b6696ff06
remove last traces of ogcserver
2011-11-23 20:30:53 -08:00
Dane Springmeyer
a1eb094e41
remove last traces of ogcserver
2011-11-23 20:30:53 -08:00
Dane Springmeyer
d7ac269a6c
OGCServer now lives at https://github.com/mapnik/OGCServer , remove from python bindings
2011-11-23 20:27:54 -08:00
Dane Springmeyer
ccca5afa89
OGCServer now lives at https://github.com/mapnik/OGCServer , remove from python bindings
2011-11-23 20:27:54 -08:00
Artem Pavlenko
14700dba16
switch back from mapnik2 to mapnik
...
add mapnik2 module which redirects to mapnik and issues DeprecationWarning
2011-11-23 11:33:58 +00:00
Artem Pavlenko
b689670ffd
switch back from mapnik2 to mapnik
...
add mapnik2 module which redirects to mapnik and issues DeprecationWarning
2011-11-23 11:33:58 +00:00
Dane Springmeyer
39d199aa49
code formatting
2011-11-13 19:54:32 -08:00
Dane Springmeyer
4654312d00
code formatting
2011-11-13 19:54:32 -08:00
Robert Coup
a5e8e70a39
Merge remote branch 'origin/master'
2011-10-31 10:53:35 +13:00
Robert Coup
1dcea7e310
Merge remote branch 'origin/master'
2011-10-31 10:53:35 +13:00
Robert Coup
31f1c6ac8c
[ fixes #904 ] Python2.5 compatibility.
2011-10-31 10:53:17 +13:00
Robert Coup
0e390eacfe
[ fixes #904 ] Python2.5 compatibility.
2011-10-31 10:53:17 +13:00
kunitoki
c314041a5a
- implemented sql query in OGR plugin ( closes #472 )
2011-10-24 11:53:33 +02:00
kunitoki
088561bd5e
- implemented sql query in OGR plugin ( closes #472 )
2011-10-24 11:53:33 +02:00
Robert Coup
d70e648a9c
Merge branch 'master' of github.com:mapnik/mapnik
2011-10-21 23:51:27 -07:00
Robert Coup
eb81e72522
Merge branch 'master' of github.com:mapnik/mapnik
2011-10-21 23:51:27 -07:00
Robert Coup
deb4e6b6c3
Do a proper check for BOOST_PYTHON_LIB in scons, and change it to be only the library name. re: mapnik-packaging:#3
2011-10-21 16:39:35 -07:00
Robert Coup
6639501132
Do a proper check for BOOST_PYTHON_LIB in scons, and change it to be only the library name. re: mapnik-packaging:#3
2011-10-21 16:39:35 -07:00
Dane Springmeyer
e0e47f50dd
remove area as it is unused (not needed by anything yet) - closes #846
2011-10-21 15:55:58 -07:00
Dane Springmeyer
d1c8818029
remove area as it is unused (not needed by anything yet) - closes #846
2011-10-21 15:55:58 -07:00
Artem Pavlenko
664d3c4ca6
Merge pull request #910 from MapQuest/multi-tile-policy
...
Added a 'multi' tiled raster plugin reader for virtual images
2011-10-21 12:26:44 -07:00
Artem Pavlenko
4e22542bce
Merge pull request #910 from MapQuest/multi-tile-policy
...
Added a 'multi' tiled raster plugin reader for virtual images
2011-10-21 12:26:44 -07:00
Artem Pavlenko
986edc3c6e
Merge pull request #909 from MapQuest/expose-label-collision-detector
...
Exposed the label collision detector
2011-10-21 12:20:21 -07:00
Artem Pavlenko
c7e1174d6b
Merge pull request #909 from MapQuest/expose-label-collision-detector
...
Exposed the label collision detector
2011-10-21 12:20:21 -07:00
Dane Springmeyer
bba87fa6df
as a followup to fa7efc9390
, remove unneeded operator-= from box2d
2011-10-19 21:39:48 -07:00
Dane Springmeyer
6d1cd0aad9
as a followup to fa7efc9390
, remove unneeded operator-= from box2d
2011-10-19 21:39:48 -07:00
Artem Pavlenko
911981aefd
+ various win32 fixes, mainly adding extra namespace qualifiers
...
for vc++10, MAPNIK_DECL ...
2011-10-19 15:29:24 +01:00
Artem Pavlenko
9088d7bbc8
+ various win32 fixes, mainly adding extra namespace qualifiers
...
for vc++10, MAPNIK_DECL ...
2011-10-19 15:29:24 +01:00
Matt Amos
20ca69c3ea
Added Python test for multi-tile raster policy.
2011-10-18 14:34:58 +01:00
Matt Amos
517fc59f77
Added Python test for multi-tile raster policy.
2011-10-18 14:34:58 +01:00
Matt Amos
a2b4f9db59
Use make_shared as suggested by coding guidelines.
2011-10-13 19:34:28 +01:00
Dane Springmeyer
7432e1e55a
removing my name from copyright as the intention/convention is for copyright to be help by project founder artem: contributions do not necessitate copyright - TODO: document this on community wiki
2011-10-11 17:52:15 -07:00
Matt Amos
1717104654
Changed copyright notice in line with project convention.
2011-10-12 01:37:44 +01:00
Matt Amos
b05a51c783
Ooops, added missing file from patch.
2011-10-12 01:25:10 +01:00
Matt Amos
b5c4bb77de
Exposed the label collision detector outside the agg_render object
...
and via Python, allowing detectors to be re-used across renderings.
2011-10-12 01:05:35 +01:00
Dane Springmeyer
b785d5ae7f
fix perms on the python paths.py file
2011-10-10 17:56:56 -07:00
Artem Pavlenko
7387afd96f
+ remove the unnecessary empty palette from tostring2
...
(jonburgess777)
2011-10-03 08:47:25 +00:00
Alberto Valverde
e41abb0e12
add a label attribute to colorizer_stop
2011-09-16 13:32:16 +00:00
Alberto Valverde
97431c8de4
made mesh_size configurable
2011-09-16 12:21:21 +00:00
Dane Springmeyer
8e7950c318
+reflect native c++ core register_fonts function - that works recursively
2011-09-15 20:13:15 +00:00
Dane Springmeyer
da5f283c9e
support mixed case file extentions when loading fonts via python wrapper function
2011-09-15 20:11:30 +00:00
Dane Springmeyer
547db300a0
match nodejs bindings for kwarg args when encoding grids
2011-09-15 20:09:28 +00:00
Dane Springmeyer
256937bd4e
expose the painted boolean on images and grids to allow api users to know if any features were processed and likely rendered
2011-09-14 19:31:57 +00:00
Artem Pavlenko
d5e57afac0
+ move compositing into core lib
2011-09-13 15:31:07 +00:00
Artem Pavlenko
703240cf40
+ update to reflect interface changes
2011-09-13 13:23:30 +00:00
Artem Pavlenko
12b6aceeee
+ add __len__ method
2011-09-13 13:23:23 +00:00
Artem Pavlenko
810b494b60
+ reflect valid() method
2011-09-13 13:23:15 +00:00
Artem Pavlenko
1fa78f32e0
+ add unified interface to mapnik2.Feature:
...
add_geometries_from_wkt
add_geometries_from_wkb
and mapnik2.Path :
from_wkt
from_wkb
TODO: integrate mapnik2.Path with mapnik2.Feature (mapnik 2.1)
2011-09-13 11:54:12 +00:00
Alberto Valverde
9579409940
resurrect add_geometry_from_wkb functionallity in Feature's python binding
2011-09-12 14:43:45 +00:00
Dane Springmeyer
04900c4664
fix tests around line symbolizer
2011-09-12 05:33:13 +00:00
Dane Springmeyer
67d7a3a6f0
add alternative line rasterizer that can be enabled to draw faster lines at the expense of dropping short geometries - for thin lines has nicer look but should not be used with think lines - refs #873
2011-09-09 23:45:49 +00:00
Artem Pavlenko
a59c961c1f
+ add missing save_to_file overloads
...
+ remove dummy rgba_palette args
2011-09-09 12:40:30 +00:00
Artem Pavlenko
6575e34973
+ add initial support for new WKT path/geometry parser concept
2011-09-08 11:52:59 +00:00
Artem Pavlenko
02c143895d
+ refactor palette stuff a bit
...
TODO: We need to change save_to_file|string interface
to avoid passing dummy rgba_palette objects.
2011-09-07 15:01:25 +00:00
Artem Pavlenko
8b3bb3ccd0
+ remove shared_ptr and avoid de-referencing un-initialised shared_ptr
2011-09-07 15:01:16 +00:00
Dane Springmeyer
aa5cfad4b7
add minimum-path-length to text_symbolizer - closes #865
2011-09-04 17:33:48 +00:00