Dane Springmeyer
bf559f9720
add tests for symbolizer clip/transform/smooth/comp_op from python - refs #1264
2012-08-21 18:18:20 -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
dc1ab040f3
move box2d tests to standlone test
2012-08-21 16:21:28 -07:00
Dane Springmeyer
e63b19cc42
no need for test comments
2012-08-21 16:19: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
Hermann Kraus
c8eb8e5775
Switch tests from shapefile to osm.
...
Closes #1121 .
2012-08-22 00:06:26 +02:00
Dane Springmeyer
d1d782254b
xml: support 'label-spacing' as alias to 'spacing' - refs #1427
2012-08-21 14:50:24 -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
0c6030303d
Add a (currently) failing test for #1420
2012-08-21 14:27:57 -07:00
Hermann Kraus
610a0906d1
Update tests.
2012-08-21 22:36:05 +02:00
Hermann Kraus
3a09a60035
Always restore state.
2012-08-21 22:36:05 +02:00
Hermann Kraus
8bc9561dd4
Try negative offsets first to mimic old behavior.
2012-08-21 22:36:04 +02:00
Hermann Kraus
020e79f53b
Add new test mode.
2012-08-21 22:36:04 +02:00
Hermann Kraus
abc59d2202
Make sure marker is placed even for empty texts.
2012-08-21 22:36:04 +02:00
Hermann Kraus
d4ef591a99
Move tolerance calculation to its own class.
2012-08-21 22:35:56 +02:00
Dane Springmeyer
9539ce96a6
for 2.1 release hold back clipping on lines with markers to avoid #1426 (refs #1424 )
2012-08-21 13:27:35 -07:00
Dane Springmeyer
0eff77c03e
return without rendering if label placement algorithm returns false indicating a degenerate geometry - closes #1423 and refs #1424
2012-08-21 12:51:39 -07:00
Dane Springmeyer
ac313cf907
add note about expected test failure with gdal older than 1.9
2012-08-21 11:47:15 -07:00
Dane Springmeyer
a75014c056
convert interior_position to return bool
2012-08-21 11:23:36 -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
7b7e556850
formatting
2012-08-20 16:27:38 -07:00
Dane Springmeyer
cc2c819931
remove layer test which is now standalone
2012-08-20 16:27:29 -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
Dane Springmeyer
3be516a805
Merge pull request #1416 from mirecta/transform_expr-sep
...
transform expressions: whitespace/comma argument separation rules
2012-08-20 14:28:54 -07:00
Dane Springmeyer
83d247a793
Merge pull request #1414 from rjw57/rjw57-remove-shapely-python-plugin-tests
...
Remove shapely dependency from python plugin tests
2012-08-20 14:26:45 -07:00
Dane Springmeyer
b1e9c738ee
Merge pull request #1415 from rjw57/rjw57-issue-1407
...
Move python test maps from 'good_maps' directory
2012-08-20 14:25:13 -07:00
Dane Springmeyer
9f7e033dbc
csv plugin: be more permissive when headers length > column length but more strict when the opposite is true - closes #1417
2012-08-20 14:06:07 -07:00
Mickey Rose
cbaf80f574
transform expressions: add parsing tests
2012-08-20 02:24:34 +02:00
Hermann Kraus
accbc139a5
Preallocate memory for glyphs.
2012-08-20 00:08:13 +02:00
Mickey Rose
5ca715c1e0
transform expressions: disallow space-separated compound arguments, refs #1389
2012-08-19 19:30:51 +02:00
Rich Wareham
b085b401db
Move python test maps from 'good_maps' directory
...
If the CirclesDatasource class was not available from the python_plugin_tests module then the 'load_good_maps' test
would fail. The class would not be available if, for example, the python plugin had not been built or if shapely was not
available on the test system. (Pull request #1414 removes the dependency on Shapely.)
The error reporting should be tidied up for this case but for the moment, move the Python plugin's test maps into their
own directory since they're not guaranteed to be 'good maps' in all cases at the moment.
Hopefully addresses issue #1407
2012-08-18 17:38:37 +01:00
Rich Wareham
6867509da8
python plugin: remove Shapely dependency from tests
...
Remove the Shapely dependency by generating the output features directly in WKT format. Update the expected output image
because the circles are now generated directly as 72-sided polygons rather than by buffering a point.
2012-08-18 17:17:14 +01: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
Dane Springmeyer
854d872447
further flesh out 2.1.0 changelog entries that were missing - refs #1403
2012-08-17 17:14:03 -07:00
Dane Springmeyer
f42805a532
CSV plugin: support reading geojson encoded geometries in various flavors of quoting fun - closes #1392
2012-08-17 13:46:32 -07:00
Dane Springmeyer
99705308a9
add another demo output to gitignore
2012-08-17 10:07:22 -07:00
Dane Springmeyer
1454e3ea97
nicer error message if python-nose is not installed
2012-08-17 09:47:47 -07:00
Dane Springmeyer
39b057e9e4
Add a demo makefile target
2012-08-17 09:47:35 -07:00
Hermann Kraus
90c2ddcbf1
Enable ShieldSymbolizer for Cairo.
2012-08-17 18:40:49 +02:00
Dane Springmeyer
333ab9a37e
only build pgsql2sqlite if boost_program_options is available
2012-08-17 09:37:08 -07:00
Dane Springmeyer
421dedbd11
Merge branch 'master' of github.com:mapnik/mapnik
2012-08-17 09:33:05 -07:00
Dane Springmeyer
6c254999ae
rundemo.cpp - no need to link to boost_program_options - closes #1406
2012-08-17 09:32:55 -07:00