Commit graph

127 commits

Author SHA1 Message Date
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
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
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
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
2d59f401b5 tests for fontsets 2011-12-20 12:46:20 -08:00
Dane Springmeyer
90b5cf69cc update tests as per #992 2011-12-16 07:22:52 -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
9e924bfa11 add ability to have typed arbitrary parameters in xml - refs #977 2011-12-05 14:46:38 -08:00
Dane Springmeyer
1d408aa485 fixup tests around parameters usage 2011-12-02 18:00:20 -08:00
Dane Springmeyer
bc06b31746 test reading from an empty sqlite db 2011-11-09 17:19:05 -08:00
Dane Springmeyer
6b7635119c Merge branch 'master' into sqlite-refactor 2011-11-04 20:44:15 -07:00
Dane Springmeyer
07a4135651 csv tests for tailing newlines 2011-11-04 07:19:31 -04:00
Dane Springmeyer
909a112a86 remove indexes 2011-11-03 19:50:08 -04:00
Dane Springmeyer
6c8e4b2de0 csv: back off of null and boolean detection since using strings is more predictable across rows 2011-11-02 11:07:59 -04:00
Dane Springmeyer
2d696dc73b update csv test data 2011-11-01 21:15:50 -04:00
Dane Springmeyer
87da27e7ac csv: test for columns that are numbers stored as strings 2011-11-01 20:39:27 -04:00
Dane Springmeyer
4cec91ff82 csv: handle empty headers, an apparently common situation with large government data 2011-11-01 20:33:05 -04:00
Dane Springmeyer
bdb9857cf0 csv: remove protective string checks now that spirit parsing is working 2011-10-31 19:12:13 -04:00
Dane Springmeyer
87769b3147 more robust csv tests 2011-10-31 19:08:07 -04:00
Dane Springmeyer
1830ba403c add testcase csv snippet from datacouch - not yet working (requires json parser) 2011-10-28 17:08:00 -07:00
Dane Springmeyer
a53c61a0c2 ensure the tests can be run even with no datasource plugins 2011-10-28 17:06:23 -07:00
Dane Springmeyer
028d1c4058 make the sqlite tests more robust 2011-10-22 17:31:25 -07:00
Dane Springmeyer
60abc74113 sqlite plugin now autodetects wkb_format thanks to @kunitoki 2011-10-22 17:28:30 -07:00
Artem Pavlenko
664d3c4ca6 Merge pull request #910 from MapQuest/multi-tile-policy
Added a 'multi' tiled raster plugin reader for virtual images
2011-10-21 12:26:44 -07:00
Dane Springmeyer
6de1e75390 csv plugin: also detect lat/lon/long field names as likely geometry columns 2011-10-18 19:27:23 -07:00
Dane Springmeyer
a230f0d4cf add a big group of csv test cases 2011-10-18 18:19:32 -07:00
Matt Amos
20ca69c3ea Added Python test for multi-tile raster policy. 2011-10-18 14:34:58 +01:00
Dane Springmeyer
417508b7bd remove unneeded datasource base 2011-10-14 20:11:09 -07:00
Dane Springmeyer
e2532bb5dc upgrade all 'bad' test maps to new syntax for text symbolizer going forward as per #861 2011-10-03 20:31:40 +00:00
Dane Springmeyer
a36c365da7 upgrade all 'good' test maps to new syntax for text symbolizer going forward as per #861 2011-10-03 20:24:51 +00:00
Dane Springmeyer
fe9a303e6b support south sudanese independence (and ensure tests now pass after sqlite fix) 2011-09-13 00:59:35 +00:00
Dane Springmeyer
91565b7f7a manually fix sqlite/spatialite db test case that had trailing NULL bytes - fixes #872 2011-09-13 00:00:12 +00:00
Dane Springmeyer
b09e3dc945 add image needed for tests 2011-09-11 07:45:54 +00:00
Dane Springmeyer
cf384a60fc avoid accidental reprojection 2011-09-09 15:18:20 +00:00
Dane Springmeyer
7f6d0e30a5 make tests quieter and restrict to only running in the tests/python_tests directory - closes #857 2011-09-02 21:57:14 +00:00
Dane Springmeyer
12345d1269 remove rastercolorizer from glyph symbolizer test 2011-08-30 17:18:51 +00:00
Dane Springmeyer
bb3e01ded8 fix a few xml test maps 2011-08-30 16:58:36 +00:00
Dane Springmeyer
e13b608e6e sqlite: add sample map for using sqlite and attachdb features 2011-08-16 21:23:56 +00:00
Dane Springmeyer
cfe49fcaf6 sqlite: enable dynamic querying of extent as a last fallback for non-spatialite and non-indexed sqlite files 2011-08-13 02:52:46 +00:00
Dane Springmeyer
1805f9c4c9 add test map for using gamma and global alignment to get a seemless crosshatch look 2011-06-28 23:23:33 +00:00
Dane Springmeyer
327ed94f15 tabs -> spaces 2011-05-31 17:12:51 +00:00
Dane Springmeyer
cb3ba2c193 spelling correction 2011-05-17 23:56:27 +00:00
Dane Springmeyer
52ac7d8d3a fix spherical mercator proj4 string in tests to always include +over (to avoid proj4 trying to wrap) and +wktext (to ensure apps like ogr/gdal retain +over during conversion through wkt representation) 2011-05-16 23:55:30 +00:00
Alberto Valverde
0e0c4aa82c integrated test case from #759 2011-05-12 18:09:03 +00:00
Dane Springmeyer
37118c6d5f ensure valid attributes on the RasterSymbolizer and RasterColorizer, warning if not 2011-05-04 01:57:37 +00:00
Dane Springmeyer
d05b0c539f apply major refactor of RasterColorizer by ben moores from https://github.com/BenMoores/mapnik-trunk/wiki/RasterColorizer - closes #523 2011-05-04 00:20:17 +00:00