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