Commit graph

646 commits

Author SHA1 Message Date
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
Colin Rundel
dc3763885c More parser clean up - color parser
Dropped color_factory class in favor of single color_parser function. Moved implementation to new color_factory.cpp since it is odd to have two headers (color.hpp, color_factory.hpp) and only one source file.
2012-08-29 16:41:48 -04:00
Dane Springmeyer
6aa9043352 improve upon premultiplied alpha tests in a51678d307 2012-08-28 18:53:27 -07: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
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
6806ca1509 load in load_map if image/svg files are not available when not using stock markers or dynamic expressions - closes #1439 2012-08-23 14:31:50 -07:00
Dane Springmeyer
f4a74d0dde add a csv_datasource initialization c++ test 2012-08-23 09:10:03 -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
f431193a90 update test images 2012-08-22 14:49:10 -07:00
Dane Springmeyer
da1f12613e start a label algorithm c++ test - refs #1425 2012-08-22 13:33:24 -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
Hermann Kraus
c8eb8e5775 Switch tests from shapefile to osm.
Closes #1121.
2012-08-22 00:06:26 +02: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
Dane Springmeyer
1454e3ea97 nicer error message if python-nose is not installed 2012-08-17 09:47:47 -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
97e907d95f fix test 2012-08-16 19:29:07 -07: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
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
4cd54f4e0b fix test 2012-08-16 14:05:39 -07: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
a2d6c55478 tests: assume script running "paths_relative_to_script" is in the root mapnik dir not the tests dir 2012-08-16 10:26:39 -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
0a5daee2a8 add agg-stack-blur example 2012-08-15 19:01:21 -07:00
Dane Springmeyer
4cf1484b53 disable colorize-alpha comp-op as per #1371 2012-08-15 14:46:58 -07:00