Commit graph

315 commits

Author SHA1 Message Date
Dane Springmeyer
973128272f merge master with feature_impl 2012-01-17 17:47:27 -05:00
Dane Springmeyer
63891cec15 finish refactor, moving to separate method off datasources to get_geometry_type and using enums all around 2012-01-17 01:09:46 -05:00
Dane Springmeyer
acc0d6e302 cleanup python datasource api simplifying access to descriptors 2012-01-11 20:03:47 -08:00
Hermann Kraus
cbcb545b65 Fix the problem reported in #1003 (NE, NW, SE not working for text-placement=simple).
Add test cases for this problem.

Conflicts:

	src/text_placements.cpp
	tests/data/placement/clean.sh
	tests/data/placement/test.py
2012-01-09 23:30:22 +01:00
Dane Springmeyer
e649bb42cf make failing osm plugin test a todo 2012-01-05 18:49:41 -08:00
Dane Springmeyer
80d18dedc3 test cleanup 2012-01-05 18:48:20 -08:00
Dane Springmeyer
8ce9da421f more wkb/wkt tests 2012-01-05 18:26:01 -08:00
Dane Springmeyer
b925c79e4d test wkb collection output to match wkt output 2012-01-05 17:30:21 -08:00
Dane Springmeyer
66dcf9f316 enable tests comparing wkt/wkb output between shapefiles read with shape.input and ogr.input now that shape reading is fixed up 2012-01-05 16:46:19 -08:00
Dane Springmeyer
654f579ac9 make failing ogr/shape comparison a todo 2011-12-22 14:37:32 -08:00
Dane Springmeyer
e72330e38c fixup fontset tests 2011-12-22 12:48:11 -08:00
Dane Springmeyer
323c36db61 Merge branch 'geometry_cleanup' 2011-12-22 12:42:05 -08:00
Dane Springmeyer
477ac9c4f9 test cleanups 2011-12-22 12:41:51 -08:00
Dane Springmeyer
cf4315945f fix import 2011-12-22 12:20:03 -08:00
Dane Springmeyer
77cb946f8d tests: maintain python 2.5 support 2011-12-22 12:19:40 -08:00
Dane Springmeyer
6d30e8f126 more tests for geometry wkt and wkb io 2011-12-21 15:27:53 -08:00
Dane Springmeyer
7b7fc5eb94 add test comparing geometry handling between ogr and shape plugin - currently fails 2011-12-21 12:26:03 -08:00
Dane Springmeyer
c551626916 finish geometry cleanup work by ensuring proper behavior in the ogr plugin with multigeometries 2011-12-21 12:22:05 -08:00
Dane Springmeyer
ec611832ab initial map deepcopy test 2011-12-20 12:46:35 -08:00
Dane Springmeyer
2d59f401b5 tests for fontsets 2011-12-20 12:46:20 -08:00
Dane Springmeyer
94e44fcd62 test fontset non-existance 2011-12-20 12:40:14 -08:00
Dane Springmeyer
312e98a869 more robust sqlite subquery tests and first tests of \!intersects\! token - refs #809 2011-12-16 09:58:09 -08:00
Dane Springmeyer
90b5cf69cc update tests as per #992 2011-12-16 07:22:52 -08:00
Dane Springmeyer
5f84df96d4 python 2.5 compatibility 2011-12-13 17:02:00 -08:00
Dane Springmeyer
754581f278 tests: no need to test sqlite through ogr anymore - native impl is robust and has its own tests now 2011-12-13 13:52:11 -08:00
Dane Springmeyer
d0cbb77864 add readme to svg test dir 2011-12-12 16:02:12 -08:00
Dane Springmeyer
077eb4c865 add new csv test 2011-12-12 16:00:53 -08:00
Dane Springmeyer
0bb1073b3f csv plugin: allow values with leading zeros to stay as strings - closes #993 - refs https://github.com/mapbox/tilemill/issues/1007 2011-12-12 15:55:33 -08:00
Dane Springmeyer
9203639640 fully spell out parameters on the map object - refs #977 2011-12-05 18:05:35 -08:00
Dane Springmeyer
9e924bfa11 add ability to have typed arbitrary parameters in xml - refs #977 2011-12-05 14:46:38 -08:00
Dane Springmeyer
dbce93669a add basic tests for osm plugin 2011-12-05 14:30:18 -08:00
Dane Springmeyer
e3e0755f70 tests: ensure ogr plugin throws on non-existant field names (currently fails) - refs #792 2011-12-05 13:33:37 -08:00
Dane Springmeyer
d836571a8d add tests for reading shapefiles via ogr 2011-12-05 13:32:37 -08:00
Dane Springmeyer
1f2a55172e tests: test sqlite error behavior on non-existant fields - refs #984/#792 2011-12-05 13:24:11 -08:00
Dane Springmeyer
bc63c9b589 tests: ensure shapefile plugin throws if invalid query is made - refs #792 2011-12-05 12:17:30 -08:00
Dane Springmeyer
9be619cee4 tests: ensure postgis plugin throws if invalid query is made - refs #792 2011-12-05 12:11:59 -08:00
Dane Springmeyer
ddeca1e81e csv plugin: ensure that the datasource throws if invalid attributes are queried to keep consistent with other datasource - refs #792 2011-12-05 12:03:38 -08:00
Dane Springmeyer
742fb891e6 python: fixup mapnik.Path interface (closes #901), add to_wkb method (closes #831), and add tests for both 2011-12-02 19:22:04 -08:00
Dane Springmeyer
1d408aa485 fixup tests around parameters usage 2011-12-02 18:00:20 -08:00
Dane Springmeyer
60de1c80cd add support for arbitrary, custom parameters to be attached to the map during load and serialized when saved - refs #977 2011-12-02 17:48:09 -08:00
Dane Springmeyer
8d3b990fbd tests: move pickling to separate test 2011-12-02 15:21:35 -08:00
Dane Springmeyer
14327b913d tests: postgis tests are optional, so be much less verbose if they cannot be automatically run 2011-12-02 12:35:31 -08:00
Dane Springmeyer
4c4e4ab9e9 pass on rtree count test if pysqlite3 does not support rtree - refs https://github.com/mapnik/mapnik-packaging/issues/8 2011-11-30 19:15:11 -08:00
Dane Springmeyer
2037cb0d46 use tempfile modules to construct temporary paths (which should be compatible with windows) 2011-11-29 18:15:25 -08:00
Artem Pavlenko
14700dba16 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
07178f2864 fixup postgis test paths 2011-11-20 18:17:51 -08:00
Dane Springmeyer
bf323b09c6 add long overdue postgis tests 2011-11-20 16:43:47 -08:00
Dane Springmeyer
51c4174b58 tests: make the sqlite rtree test more flexible 2011-11-19 11:39:59 -08:00
Dane Springmeyer
c519a170d7 tests: enforce existance of rtree 2011-11-13 17:00:34 -08:00
Dane Springmeyer
11f1e6755f add test for sqlite rtree creating under high ds initialization concurrency 2011-11-13 16:42:37 -08:00