Commit graph

18 commits

Author SHA1 Message Date
Dane Springmeyer
63bd634536 set encoding for test file 2012-06-22 10:15:10 -04:00
Dane Springmeyer
0a37a1591e fixup whitespace with pep8 tricks from https://gist.github.com/1903033 2012-02-24 13:13:56 -08:00
Dane Springmeyer
da845cfaa3 update feature expression test to new feature attr api that will throw if attr is not found 2012-02-14 14:57:36 -08:00
Dane Springmeyer
e542e90fcf get most of the tests passing 2012-01-24 00:27:44 -08:00
Dane Springmeyer
2701f93a04 test cleanups 2011-12-22 12:41:51 -08: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
247755df3f ensure the tests can be run even with no datasource plugins 2011-10-28 17:06:23 -07:00
Dane Springmeyer
2a2fb7437b more robust tests for feature expressions - refs #933 and #944 2011-10-28 11:24:14 +01:00
Dane Springmeyer
77b50306ee add tests for feature expression bugs - refs #933 and #934 2011-10-28 11:24:12 +01: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
2cde0ac66e + add reading WKB test 2011-09-13 14:06:17 +00:00
Artem Pavlenko
9d6d842879 + update and improve python tests to use new wkt interface 2011-09-13 13:32:42 +00:00
Dane Springmeyer
74877c8778 test touchups to ensure they can all be run individually 2011-08-30 22:51:42 +00:00
Dane Springmeyer
3147e2a257 update memory datasource and feature tests to leverage new support for parsing WKT after #698 2011-04-14 21:06:07 +00:00
Alberto Valverde
18b811d19d implemented a mechanism in mapnik2._injector to be able to override c++ methods (at the python layer only). Used it to implement a friendlier constructor for Feature and a add_geometry() method that accepts shapely.geometry.Geometrys, and wkb/wkt strings 2010-03-19 18:14:46 +00:00
Alberto Valverde
17b61d16c4 More progress on #528: Made setting Feature properties with values of type unicode or str possible. I've modified the UnicodeString_from_python_str from_python_converter so it can also convert python unicode objects (not just encocded strs). It was originally commented out so but it seems to work fine on my tests. Is there anything I0ve overlooked? (Artem?) 2010-03-19 13:42:58 +00:00
Alberto Valverde
3f47c813cf added a Feature.add_geometry test 2010-03-19 13:42:41 +00:00
Alberto Valverde
a4d742283b Implementead Feature instantiation from Python and an add_geometry method which accepst a wkb string 2010-03-19 13:42:25 +00:00