Commit graph

409 commits

Author SHA1 Message Date
Dane Springmeyer
fca564614f csv plugin: improve newline detection - closes #1497 2012-09-21 13:34:43 -07:00
Dane Springmeyer
af5f0cb243 fix reference raster images after fixing edge effects as per #1471 2012-09-14 17:02:53 -07: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
Dane Springmeyer
4973136207 Add a test (currently failing) ensuring that named fontsets created in python are propertly serialized 2012-09-14 12:27:55 -07:00
Dane Springmeyer
73ae407156 rename fontset test to be consistencly named 2012-09-14 12:07:07 -07:00
Dane Springmeyer
12f26614e5 add failing testcase for #1471 (expected image generated with patch from #1471 that disables premultiplication of data raster before blending) 2012-09-11 19:29:45 -07:00
Dane Springmeyer
116f025e8a fix expected reprojection output after #1473 2012-09-11 17:04:15 -07:00
Dane Springmeyer
4703e7bda4 fix query tests after #1473 2012-09-11 17:01:47 -07: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
f5cf5aa09d start reporting geometry type in geojson plugin 2012-09-03 10:01:01 -07:00
Dane Springmeyer
d054178a75 add grayscale conversion test - refs #1454 2012-08-31 19:12:12 -07:00
Dane Springmeyer
6450d33462 update tests images after change made to agg src_over in #1452, refs #1369 2012-08-31 18:16:49 -07:00
Dane Springmeyer
affecb0f32 csv plugin: support single row data and fix warning when no data can be parsed 2012-08-31 12:07:35 -07:00
Dane Springmeyer
6aa9043352 improve upon premultiplied alpha tests in a51678d307 2012-08-28 18:53:27 -07:00
Dane Springmeyer
52c180aebc fixup json escaping test 2012-08-25 11:05:01 -07:00
Dane Springmeyer
4f4902611b only run tests if shape plugin is available 2012-08-23 14:41:45 -07:00
Dane Springmeyer
769fc8948e fix test failure after c3dae01055 - refs #1399,#1282, and #1433 2012-08-22 18:17:43 -07:00
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
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
Dane Springmeyer
6a0df52b1c python: add wrap_character alias to wrap_char - refs #1427 2012-08-21 14:48:10 -07:00
Dane Springmeyer
0c6030303d Add a (currently) failing test for #1420 2012-08-21 14:27:57 -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
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
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
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
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
artemp
b24c2efddc + add geojson geometry parsing test 2012-08-17 13:07:32 +01:00
artemp
45515e2b2d + it's a TIN (triangulated irregular network) not TIM :D
+ fixup wkb parsing test
2012-08-17 12:49:55 +01:00
Dane Springmeyer
62e039d2c9 double grid encoding performance in python - closes #1315 2012-08-16 18:39:11 -07:00
Dane Springmeyer
2bed3d1acf add test for reading csv from string 2012-08-16 18:18:00 -07:00
Dane Springmeyer
3cdc0de559 add testcase for #1375 2012-08-16 17:59:03 -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
Dane Springmeyer
62d669907b tests: only run pycairo test if sqlite ds is available 2012-08-16 15:46:40 -07:00
Dane Springmeyer
636a5dadc5 Merge branch 'master' of github.com:mapnik/mapnik 2012-08-16 08:31:46 -07:00
Dane Springmeyer
af413aa959 conditionally run tests based on availability of datasources 2012-08-15 19:22:47 -07: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
9e85944d93 remove unneeded import 2012-08-15 13:27:10 -07:00
artemp
aecf0531f5 + remove metawriters for the upcoming 2.1 release 2012-08-15 09:47:03 +01:00